Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 8664463

Browse files
Foxandxssnaomiblack
authored andcommitted
remove future features for now
1 parent 3444790 commit 8664463

File tree

4 files changed

+0
-159
lines changed

4 files changed

+0
-159
lines changed

public/docs/_examples/animations/ts/app/hero-list-classes.component.ts

Lines changed: 0 additions & 45 deletions
This file was deleted.

public/docs/_examples/animations/ts/app/hero-list-keyframes.component.ts

Lines changed: 0 additions & 64 deletions
This file was deleted.

public/docs/_examples/animations/ts/app/hero-team-builder.component.ts

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,7 @@ import { HeroListEnterLeaveStatesComponent } from './hero-list-enter-leave-state
77
import { HeroListCombinedTransitionsComponent } from './hero-list-combined-transitions.component';
88
import { HeroListTwowayComponent } from './hero-list-twoway.component';
99
import { HeroListAutoComponent } from './hero-list-auto.component';
10-
// Enable when CSS parser integration has been added
11-
// import {HeroListClassesComponent} from './hero-list-classes.component';
1210
import { HeroListGroupsComponent } from './hero-list-groups.component';
13-
// Enable when CSS parser integration has been added
14-
// import {HeroListKeyframesComponent} from './hero-list-keyframes.component';
1511
import { HeroListMultistepComponent } from './hero-list-multistep.component';
1612
import { HeroListTimingsComponent } from './hero-list-timings.component';
1713

@@ -78,20 +74,6 @@ import { HeroListTimingsComponent } from './hero-list-timings.component';
7874
<p>Enter and leave animations with multiple properties animated in parallel with different timings.</p>
7975
<hero-list-groups [heroes]=heroes></hero-list-groups>
8076
</div>
81-
<!--div class="column">
82-
<h4>CSS Classes</h4>
83-
<p>Switch between active/inactive on click. Pull the actual CSS styles in from component stylesheet.</p>
84-
<hero-list-classes [heroes]=heroes></hero-list-classes>
85-
</div-->
86-
<!--div class="column">
87-
<h4>CSS Keyframes</h4>
88-
<p>
89-
Enter and leave animations with three keyframes in each, to give the transition some bounce.
90-
Pull in the actual keyframes from CSS keyframes in component stylesheet.
91-
</p>
92-
<hero-list-multistep [heroes]=heroes></hero-list-multistep>
93-
<hero-list-keyframes [heroes]=heroes></hero-list-keyframes>
94-
</div-->
9577
</div>
9678
`,
9779
styles: [`
@@ -122,8 +104,6 @@ import { HeroListTimingsComponent } from './hero-list-timings.component';
122104
HeroListEnterLeaveStatesComponent,
123105
HeroListAutoComponent,
124106
HeroListTimingsComponent,
125-
// HeroListClassesComponent,
126-
// HeroListKeyframesComponent,
127107
HeroListMultistepComponent,
128108
HeroListGroupsComponent
129109
],

public/docs/ts/latest/guide/animations.jade

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -244,21 +244,6 @@ figure
244244

245245
+makeExample('animations/ts/app/hero-list-auto.component.ts', 'animationdef')(format=".")
246246

247-
// Uncomment when the support is added and example works
248-
:marked
249-
## Accessing Styles from Component Stylesheets
250-
251-
In our examples so far we have specified all animated styles right in the
252-
animation metadata. This is usually not what we want to do in anything
253-
but the simplest animations. What we prefer to do instead is define all styles
254-
in [component stylesheets](component-styles.html) and then just pull them into
255-
the animations.
256-
257-
We can do this simply by referencing the classes from the `style()` metadata
258-
in the animations using the `.class` selector notation:
259-
260-
+makeExample('animations/ts/src/hero-list-classes.component.ts', 'animationdef')(format=".")
261-
262247
:marked
263248
## Animation Timing
264249

@@ -332,21 +317,6 @@ figure
332317
spacing are automatically assigned. For example, three keyframes without predefined
333318
offsets will receive offsets `0`, `0.5`, and `1`.
334319

335-
// Uncomment when the support is added and example works
336-
:marked
337-
## Using Stylesheet Keyframes
338-
339-
Earlier we saw how we can put animation styles into component stylesheets and then
340-
pull them into our animations. The same trick can be applied to keyframes: We can
341-
define the relative timeline of the animation with CSS
342-
[@keyframes](https://developer.mozilla.org/en-US/docs/Web/CSS/@keyframes)
343-
and then reference it from the stylesheets.
344-
345-
In this example we define the same animations as we had in the previous section,
346-
but this time using CSS keyframes:
347-
348-
+makeExample('animations/ts/src/hero-list-keyframes.component.ts', 'animationdef')(format=".")
349-
350320
:marked
351321
## Parallel Animation Groups
352322
figure

0 commit comments

Comments
 (0)