Intermediate
Animation Animation ConfigAnimation is implemented within multiview and pager components. It sets the way the views will be changed as you switch between views or page through the component.
There exist two animation types with their own subtypes:
Or, instead, you can choose one of the four animation directions:
Multiview uses slide:"together" animation type by default.
Animation can be switched off:
{view:"multiview", animate:false }
Enabling Animation
There are a couple of ways to enable animation:
webix.ui({
view:"multiview",
animate:{
type:"flip",
subtype:"vertical"
},
cells:[]
});
$$("multi").config.animate.type = "flip";
$$("multi").config.animate.subtype = "vertical";
$$(id).show({type:"flip", subtype:"horizontal"})
Related sample: Animated Multiview
Related sample: Paging Animation Types
Animating View InitializationThe moment of a Webix view initialization can be animated as well. It works for views created dynamically in the existing Webix layout.
To instantiate the component with animation, you should call the webix.ui.animate() method instead of the standard webix.ui():
webix.ui.animate(obj, parent, config);
where:
webix.ui.animate({
id:"aboutView", template:"About page...",
}, $$("listView"));
Related sample: Manual View Recreating
Back to topRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4