mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 04:09:12 +00:00
update template
This commit is contained in:
@@ -32,10 +32,9 @@ export default class {{ properCase tag }} extends ShoelaceElement {
|
||||
/** An example attribute. */
|
||||
@property() attr = 'example';
|
||||
|
||||
@watch('someProperty')
|
||||
doSomething() {
|
||||
// Example event
|
||||
this.emit('sl-event-name');
|
||||
@watch('example')
|
||||
handleExampleChange() {
|
||||
// do something
|
||||
}
|
||||
|
||||
render() {
|
||||
|
||||
Reference in New Issue
Block a user