Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
黄伟平
BoomMenu
Wiki
Other Animations Attributes for Buttons
"www.w3.org/TR/page-visibility" did not exist on "main"
Other Animations Attributes for Buttons
· Changes
Page history
Updated Other Animations Attributes for Buttons (markdown)
authored
Dec 13, 2016
by
Weiping Huang
Hide whitespace changes
Inline
Side-by-side
Other-Animations-Attributes-for-Buttons.md
View page @
29545c78
Delay, duration, rotate-degrees...
Delay, duration, rotate-degrees
, frames
...
###Other Animation Attributes
###Other Animation Attributes
Set other animation attributes by:
Set other animation attributes by:
...
@@ -8,6 +8,7 @@ bmb.setShowDuration(1000);
...
@@ -8,6 +8,7 @@ bmb.setShowDuration(1000);
bmb.setRotateDegree(1080);
bmb.setRotateDegree(1080);
bmb.setHideDelay(0);
bmb.setHideDelay(0);
bmb.setHideDuration(500);
bmb.setHideDuration(500);
bmb.setFrames(80); // The higher, the smoother animations the higher performances needed
```
```
Or in .xml:
Or in .xml:
```
```
...
@@ -16,4 +17,5 @@ app:bmb_showDuration="1000"
...
@@ -16,4 +17,5 @@ app:bmb_showDuration="1000"
app:bmb_rotateDegree="1080"
app:bmb_rotateDegree="1080"
app:bmb_hideDelay="0"
app:bmb_hideDelay="0"
app:bmb_hideDuration="500"
app:bmb_hideDuration="500"
app:bmb_frames="60"
```
```
\ No newline at end of file