From f4002a09d5d7673c10f718dcbac92732f734da19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20de=20Dios=20Mart=C3=ADnez=20Vallejo?= Date: Tue, 5 Sep 2023 00:10:09 +0200 Subject: [PATCH 1/2] web-publisher: Update content/guide/animations.md --- content/guide/animations.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/guide/animations.md b/content/guide/animations.md index 92426db3..14c93cb4 100644 --- a/content/guide/animations.md +++ b/content/guide/animations.md @@ -8,8 +8,8 @@ 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](#declarative-animating-ui-components-with-css) - easy and familiar CSS3 animations API +- [Imperative](#imperative-animating-ui-components-with-code) - take full control of any animation by calling animation methods directly with code ## Declarative: Animating UI components with CSS From 5cf58b0aeafee94b30b09a6981ce85fa93c9735d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20de=20Dios=20Mart=C3=ADnez=20Vallejo?= Date: Tue, 5 Sep 2023 00:25:53 +0200 Subject: [PATCH 2/2] link with slug --- content/guide/animations.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/guide/animations.md b/content/guide/animations.md index 14c93cb4..a8f1252b 100644 --- a/content/guide/animations.md +++ b/content/guide/animations.md @@ -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](#declarative-animating-ui-components-with-css) - easy and familiar CSS3 animations API -- [Imperative](#imperative-animating-ui-components-with-code) - 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. @@ -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.

AltStyle によって変換されたページ (->オリジナル) /