Ember.js: Tutorial — Part 2: Service Injection
Learn about splattributes and class attribute, router service, Ember service vs. global variable and how to mock service in test.…
Learn about splattributes and class attribute, router service, Ember service vs. global variable and how to mock service in test.…
Learn how to route with a dynamic segment, link with a dynamic segment, test component with access to router, access parameters from a dynamic segment and share common setup code between tests.…
Learn how to work with a route file, return local data from the model hook, access route model from the template, mock server data with static JSON file, fetch remote data from the model hook, adapt server data and loops and local variables in a template with {{#each}}.…
Learn how to manage application-level configuration, parameterize a component with arguments, access component arguments, interpolate values in a template, override HTML attributes with ...attributes, refactor with getters and auto-track and get JavaScript values into test context.…
Learn how to add behavior to a component with class, access an instance state from template, manage state with tracked properties, use conditionals syntax in template, respond to a user interaction with action, invoke element modifiers and test user interaction.…
Learn how to generate a component, organize code with a namespaced component, forward HTML attributes with ...attributes and determine appropriate amount of test coverage.…
Learn how to extract markup into a component, invoke a component, pass content to a component, yield content with yield keyword, refactor existing code, write a component test and use application template and outlet keyword.…
Learn what's the purpose of automated testing, how to use generator in Ember CLI, write an acceptance test, test with QUnit testing framework, work with Ember test helpers and practice testing workflow.…