Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

animations.md: fix internal links #106

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions content/guide/animations.md
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ NativeScript exposes a simple yet powerful API to allow animating almost every n

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

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

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

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.

Expand Down Expand Up @@ -331,7 +331,7 @@ The `Button` component has a built-in special state `highlighted` to for the `to
///
-->

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

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.

Expand Down

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /