on scene selection OK + keyframe model

This commit is contained in:
STEINNI
2025-10-25 20:23:43 +00:00
parent 1635823627
commit e0b8e042cb

View File

@@ -10,7 +10,7 @@ class Buildoz extends HTMLElement {
// anything added here will be observed for all buildoz tags // anything added here will be observed for all buildoz tags
// in your child, add you local 'color' observable attr with : // in your child, add you local 'color' observable attr with :
// return([...super.observedAttributes, 'color']) // return([...super.observedAttributes, 'color'])
return([]) return(['name'])
} }
static define(name, cls){ static define(name, cls){
@@ -31,6 +31,7 @@ class Buildoz extends HTMLElement {
attributeChangedCallback(name, oldValue, newValue) { attributeChangedCallback(name, oldValue, newValue) {
this.attrs[name] = newValue this.attrs[name] = newValue
if(name=='name') this.name = newValue
} }
getBZAttribute(attrName){ // Little helper for defaults getBZAttribute(attrName){ // Little helper for defaults