Animation update and added timer
This commit is contained in:
@@ -113,6 +113,7 @@ export default defineConfig({
|
|||||||
{text: 'Table', link: 'references/elements/Table'},
|
{text: 'Table', link: 'references/elements/Table'},
|
||||||
{text: 'TextBox', link: 'references/elements/TextBox'},
|
{text: 'TextBox', link: 'references/elements/TextBox'},
|
||||||
{text: 'Tree', link: 'references/elements/Tree'},
|
{text: 'Tree', link: 'references/elements/Tree'},
|
||||||
|
{text: 'Timer', link: 'references/elements/Timer'},
|
||||||
{text: 'ScrollBar', link: 'references/elements/ScrollBar'},
|
{text: 'ScrollBar', link: 'references/elements/ScrollBar'},
|
||||||
{text: 'Slider', link: 'references/elements/Slider'},
|
{text: 'Slider', link: 'references/elements/Slider'},
|
||||||
{text: 'ProgressBar', link: 'references/elements/ProgressBar'},
|
{text: 'ProgressBar', link: 'references/elements/ProgressBar'},
|
||||||
|
|||||||
@@ -17,6 +17,8 @@ element:animate()
|
|||||||
:move(x, y, duration) -- Animate move
|
:move(x, y, duration) -- Animate move
|
||||||
:moveOffset(x, y, duration) -- Animate offset
|
:moveOffset(x, y, duration) -- Animate offset
|
||||||
:resize(w, h, duration) -- Animate size
|
:resize(w, h, duration) -- Animate size
|
||||||
|
:number(property, targetNumber, duration) -- Animate number
|
||||||
|
:entries(property, entryList, duration) -- Cycles through a list of values (e.g. colors, text) for any property over the specified duration
|
||||||
:morphText(property, targetText, duration) -- Animate text
|
:morphText(property, targetText, duration) -- Animate text
|
||||||
:typewrite(property, targetText, duration) -- Animate text
|
:typewrite(property, targetText, duration) -- Animate text
|
||||||
:fadeText(property, targetText, duration) -- Animate text
|
:fadeText(property, targetText, duration) -- Animate text
|
||||||
@@ -53,7 +55,7 @@ element:animate()
|
|||||||
:sequence()
|
:sequence()
|
||||||
:resize(5, 5, 1) -- Starts after position completes
|
:resize(5, 5, 1) -- Starts after position completes
|
||||||
:sequence()
|
:sequence()
|
||||||
:morphText("text", "newText" 1) -- simultaneously
|
:morphText("text", "newText" 1) -- starts after resizing completes
|
||||||
:start()
|
:start()
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user