July 2017
Intermediate to advanced
454 pages
10h 1m
English
States are the defined animation property of an element at a given point of time.
States are our application's logical states, for example, active and inactive. We define the state name and the respective style properties for the state.
The general syntax for writing syntax to define states is as follows:
state('in', style({ backgroundColor: '#ffffcc'}))
In the preceding code syntax, we are defining the following:
Read now
Unlock full access