MVC.Router
Class
- MVC.Router ()
Attributes
Methods
Attributes Detail
Methods Detail
-
addRoutes (routes) view sourceAdd config to current router.
- Parameters
-
- routes {Object} Route config.
- Example
-
-
{ "/search/:param":"callback" // or "search":{ reg:/xx/, callback:fn } }
-
-
Navigate to specified path.
- Parameters
-
- path {String} Destination path.
- [ opts ] {Object} Config for current navigation.
- opts.triggerRoute {Boolean} Whether to trigger responding action even current path is same as parameter
-
Start router (url monitor).
- Parameters
-
- opts {object}
- opts.success {Function} Callback function to be called after router is started.
- opts.urlRoot {String} Specify url root for html5 history management.
- opts.nativeHistory {Boolean} Whether enable html5 history management.
Classes
- Anim
- Anim.Easing
- Attribute
- Base
- Button
- ComboBox
- ComboBox.LocalDataSource
- ComboBox.RemoteDataSource
- Component
- Component.Container
- Component.Controller
- Component.Manager
- Component.Render
- Component.UIBase
- Component.UIBase.Align
- Component.UIBase.Box
- Component.UIBase.Close
- Component.UIBase.Constrain
- Component.UIBase.ContentBox
- Component.UIBase.Drag
- Component.UIBase.Loading
- Component.UIBase.Mask
- Component.UIBase.Position
- Component.UIBase.Resize
- Component.UIBase.StdMod
- Cookie
- DataLazyload
- DD
- DD.Constrain
- DD.DDM
- DD.Draggable
- DD.DraggableDelegate
- DD.Droppable
- DD.DroppableDelegate
- DD.Proxy
- DD.Scroll
- DOM
- Editor
- Editor.Range
- Editor.Utils
- Editor.Walker
- Event
- Event.Object
- Event.Target
- IO
- IO.XhrObject
- KISSY
- KISSY.Defer
- KISSY.Loader
- KISSY.Loader.Module
- KISSY.Loader.Package
- KISSY.Promise
- Menu
- Menu.FilterMenu
- Menu.Item
- Menu.PopupMenu
- Menu.Separator
- MenuButton
- MenuButton.Option
- MenuButton.Select
- MVC
- MVC.Collection
- MVC.Model
- MVC.Router
- MVC.View
- NodeList
- Overlay
- Overlay.Dialog
- Overlay.Popup
- Resizable
- Tree
- Tree.CheckNode
- Tree.CheckTree
- Tree.Node
- Waterfall
- Waterfall.Loader