O
First of all I noticed that you declared a component as reader but on time to call on another, you called as soma-reader, I don't know how this can work like that, leave everything with the same name.Well, but I believe your problem is that the observer is not working, that's why when the change part of a child component you need to use https://www.polymer-project.org/3.0/docs/devguide/observers#complex-observers , besides of course keeping the property with notify:true in your case do the following:static get properties() {
return {
mascara:{
type:Array,
notify:true
},
passar:{
type: Boolean,
notify:true
},
};
}
static get observers() {
return [
'_activeChanged(mascara.*)'
]
}
_activeChanged(){
console.log("passei aqui")
}
Like the property mascara is a array so that the observer works when it changes within the array, you need to place an asterisk with the property, such as: _activeChanged(mascara.*). But if you want it to work only if you change the entire property, do: _activeChanged(mascara)