Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>nw-snippetNew to Visual Studio Code? Get it now.
nw-snippet

nw-snippet

Guo Chenguang

|
284 installs
| (0) | Free
nw
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

README

English is not my mother tongue; please excuse any errors on my part.

Installation

Visual Studio Code Native-Weex Snippets
for internal company use only

Using


nw.utils.dialog Tab

nw.utils.dialog({
    content: '富强 民主 文明 和谐',
    buttons: [
      {
        name: '是',
        style: 0,
        action(tag) {},
      },
    ],
});

nw.utils.closeDialog Tab

nw.utils.closeDialog('all');

License

MIT License, refer to license file.

Source

Github

Blog

guocg.cn

** Enjoy!**

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