BaseView to be extended
Members
-
staticBarba.BaseView.namespaceString
-
Namespace of the view. (need to be associated with the data-namespace of the container)
Methods
-
staticBarba.BaseView.extend(newObject){Object}
View/BaseView.js, line 27 -
Helper to extend the object
Name Type Description newObject
Object -
staticBarba.BaseView.init()
View/BaseView.js, line 39 -
Init the view. P.S. Is suggested to init the view before starting Barba.Pjax.start(), in this way .onEnter() and .onEnterCompleted() will be fired for the current container when the page is loaded.
-
abstract,staticBarba.BaseView.onEnter()
View/BaseView.js, line 76 -
This function will be fired when the container is ready and attached to the DOM.
-
abstract,staticBarba.BaseView.onEnterCompleted()
View/BaseView.js, line 85 -
This function will be fired when the transition to this container has just finished.
-
abstract,staticBarba.BaseView.onLeave()
View/BaseView.js, line 94 -
This function will be fired when the transition to a new container has just started.
-
abstract,staticBarba.BaseView.onLeaveCompleted()
View/BaseView.js, line 103 -
This function will be fired when the container has just been removed from the DOM.