Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>HashWorks SnippetsNew to Visual Studio Code? Get it now.
HashWorks Snippets

HashWorks Snippets

John Yuan

|
101 installs
| (0) | Free
The vscode snippets for hashworks.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft