Define a Palette Component using the shorthand syntax
define("my-component", { template: html`...`, style: css`...`, initialState: { ... }, computedProperties() { ... }, script() { ... }, // and any other lifecycle methods}); Copy
define("my-component", { template: html`...`, style: css`...`, initialState: { ... }, computedProperties() { ... }, script() { ... }, // and any other lifecycle methods});
Register a Palette Component as a custom element
Define a Palette Component using the shorthand syntax