Skip to content

Commit 3d5952d

Browse files
authored
fix(animations.md): internal links (#106)
1 parent ff65e67 commit 3d5952d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/guide/animations.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ NativeScript exposes a simple yet powerful API to allow animating almost every n
88

99
For your convenience, there are two popular ways of creating animations:
1010

11-
- [Declarative](#animating-ui-componentsviews-with-css-in-nativescript) - easy and familiar CSS3 animations API
12-
- [Imperative](#animating-ui-componentsviews-with-code-in-nativescript) - take full control of any animation by calling animation methods directly with code
11+
- [Declarative](#animating-with-css) - easy and familiar CSS3 animations API
12+
- [Imperative](#animating-with-code) - take full control of any animation by calling animation methods directly with code
1313

14-
## Declarative: Animating UI components with CSS
14+
## Declarative: Animating UI components with CSS {#animating-with-css}
1515

1616
CSS animations are based on the [CSS3 animations API](http://www.w3schools.com/css/css3_animations.asp) standard. You can use them to animate almost every native view without even having to know JavaScript. You can use multiple frames and change the animation direction. With CSS animations, you can separate the animation code from your app logic if desired.
1717

@@ -331,7 +331,7 @@ The `Button` component has a built-in special state `highlighted` to for the `to
331331
///
332332
-->
333333

334-
## Imperative: Animating UI components with code
334+
## Imperative: Animating UI components with code {#animating-with-code}
335335

336336
The easiest way to animate a single [View](https://docs.nativescript.org/api/class/View) is by using the `View.animate` method which accepts an [`AnimationDefinition`](https://docs.nativescript.org/api/interface/AnimationDefinition). It immediately starts and returns its finished promise.
337337

0 commit comments

Comments
 (0)