<abstract> new DirtyBasePage()
A version of BasePage which tracks dirty state. Call the renderIfVisible to
render the view only if it is visible, otherwise a dirty flag will be set to true and the view rendered at a
later date
- Source:
Extends
Methods
-
<abstract> dirtyRender()
-
Default implementation of dirtyRender, which just calls render
- Source:
-
<abstract> getSelectedRoute()
-
Called when navigating to a page. If a page has state which can be represented by a route, this route
should be returned. The default implementation is a no-op.- Inherited From:
- Source:
-
hide()
-
Hides the page
- Inherited From:
- Source:
-
renderIfVisible()
-
Calls the render method if the page isVisible, otherwise sets the dirty flag to true
- Source:
-
setDirty(dirty)
-
Sets the state of the dirty flag
Parameters:
Name Type Description dirtyboolean - Source:
-
show()
-
Shows the page and calls the update method
- Inherited From:
- Source:
-
update()
-
If the dirty flag is true, call dirtyRender
- Source: