HashWorks Snippets
The snippets for developing web single page application with the hashworks engine.
Prefixes
Prefix |
Description |
hw-insert-view |
Insert the basic codes for current view. |
loader-utils-template |
Load ejs template and compile it to a local function for rendering. |
loader-dispatcher-onViewDestroy |
Add a listener to view destroy event. |
loader-dispatcher-onceViewDestroy |
Add a listener to once view destroy event. |
loader-widget-append |
Append widget to the DOM. |
loader-widget-remove |
Remove widget from the DOM. |
loader-view-isRendered |
Check if the view has been rendered. |
loader-view-render |
Render the view with the given information. |
loader-view-destroy |
Destroy the view specified by the module. |
loader-view-show |
Show the view specified by the module. |
loader-view-hide |
Hide the view specified by the module. |
loader-router-routeTo |
Route to the view specified by the view name. |
| |