PaletteCommand like ctrl+shift+p like SublimeText for modern browser
npm install palette-commandAt the bottom of your html, before end of body.
``html`
And for styling in head tab
`html`
--------------
You can also use with npm
`bash`
npm install --save palette-command
`js`
import PaletteCommand from 'palette-command';
`js
const palette = new PaletteCommand();
palette.setCategory([
{
name: 'Advanced interactivity',
description: "It's just for testing",
action() {
console.log("Advanced interactivity, It's just for testing");
}
}
])
// press ctrl+alt+p and palette appear with one item (Advanced interactivity)
``
You'll found generated JSDOC here :