From e0b8e042cb899a6255d015ffe6e9c96529fb91d2 Mon Sep 17 00:00:00 2001 From: STEINNI Date: Sat, 25 Oct 2025 20:23:43 +0000 Subject: [PATCH] on scene selection OK + keyframe model --- buildoz.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildoz.js b/buildoz.js index 378eafc..74d2f0a 100644 --- a/buildoz.js +++ b/buildoz.js @@ -10,7 +10,7 @@ class Buildoz extends HTMLElement { // anything added here will be observed for all buildoz tags // in your child, add you local 'color' observable attr with : // return([...super.observedAttributes, 'color']) - return([]) + return(['name']) } static define(name, cls){ @@ -31,6 +31,7 @@ class Buildoz extends HTMLElement { attributeChangedCallback(name, oldValue, newValue) { this.attrs[name] = newValue + if(name=='name') this.name = newValue } getBZAttribute(attrName){ // Little helper for defaults