EasyUI
Mobile
Override defaults with $.mobile.defaults.
Properties
Name | Type | Description | Default |
---|---|---|---|
animation | string | The animation type when navigating panels. | slide |
direction | string | The animation direction. | left |
Methods
Name | Parameter | Description |
---|---|---|
$.mobile.init | none | Initialize the mobile panels. |
$.mobile.nav | from,to,animation,direction |
Navigate the panel from one to another.
Usage example: $.mobile.nav('#p1','#p2','slide','left'); |
$.mobile.go | panel,animation,direction |
Navigate to the specified panel.
Usage example: $.mobile.go('#p2'); $.mobile.go('#p3','slide','right'); |
$.mobile.back | none | Navigate back to the previous panel. |