Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>LightningJS Framework ExtensionNew to Visual Studio Code? Get it now.
LightningJS Framework Extension

LightningJS Framework Extension

Jay Patel

|
313 installs
| (0) | Free
Code Snippet for RDK Lightning Framwork.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft