Overview Version History Q & A Rating & Review
lightningjs-framework-extension
This extensions contains code snippets for Lightning Framework for VsCode (supports JavaScript).
Snippet
Trigger
Description
!lightning
Lightning class Template
!state
Template to create states function in class
!text
Text Object in lightning
!animation
Attach animation property to Object
!comp
Create Empty Object
!routerapp
Used when App extends Router.App (when using routes feature)
fireAncestor
The fireAncestors() method sends a signal to a distant parent component, without propagating it to all the parents.
signal
The signal() method notifies a component’s parent that an event happened on the component.
tag
Tag function is used to reference objects inside a template.
setState
Function used to switch states
Lifecycle Methods
Lifecycle Methods included more information here .
Known Issues
Calling out known issues can help limit users opening duplicate issues against your extension. You can open issues here , additionally Improvements and more snippets can be suggested there.