Aside from defining stepped, sequential property changes over the duration of an animation, you can also allow property changes to run at various times in parallel with one another. This is accomplished by defining a series of animate commands within a single group. Animation groups are a great way to allow animated properties to transition in parallel at different timings, through groups.
- [Instructor] Aside from defining stepped…sequential property changes…over the duration of an animation,…we can also allow property changes to run…at various times, in parallel with one another.…This is accomplished by defining…a series of animate commands…within a single group.…Just as we've done before, inside of our basic component,…we're going to create a new button in our button group…to trigger this state change.…So, I'll paste that in, and this time,…we're setting the state to a string of parallel,…and the label is Parallel Animation.…
Go ahead and save this, we're done here.…And then hop on over to our animboxcomponent,…and just as we added key frames in our import…to take care of stepped animation,…for parallel animation, we need to go ahead…and add in group.…So, make sure that group is added in right after keyframe,…and then we can define our state.…So, right down after the step state,…we're going to paste in this state definition…from our snippets file.…
And again, we're just changing the background color…
- Installing the Angular CLI
- Creating a new project
- Verifying the animations package
- Configuring project routes
- Animating components
- Triggering animation between states
- Stepped and parallel animation
- Writing reusable animations
- Animating individual items with query and stagger
- Animating an existing Angular project
Skill Level Intermediate
1. Getting Ready to Animate
2. Enabling Angular Animations
3. Angular Animation Basics
4. Advanced Angular Animation
5. Animating an Existing Interface
6. Package for Distribution
Building the project1m 56s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.