Skip to content

Instantly share code, notes, and snippets.

@chrisrouse
Created January 26, 2019 02:27
Show Gist options
  • Save chrisrouse/55cdf5af8b47415434e30d0e717f06c8 to your computer and use it in GitHub Desktop.
Save chrisrouse/55cdf5af8b47415434e30d0e717f06c8 to your computer and use it in GitHub Desktop.
Layer Preset
'selectLayerPreset': {
label: 'Select Layer Preset',
options: [
{
type: 'textinput',
label: 'Layer Preset ID',
id: 'lp',
default: '0'
},
{
type: 'textinput',
label: 'Layer ID',
id: 'idx',
default: '0',
}
]
}
case 'selectLayerPreset':
cmd = '/layerPreset/layer/' + action.options.idx;
body = {
value: action.options.lp
};
break;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment