Polymer update object outside of component and reflect changes to UI -


is possible reflect changes polymer component property without update value via .set(path, value).

for example have object overrided setter based on value apply new value other field.

polymer({         is: 'x-element',         properties: {             form: {type: object,             value: {                      set name(v) {                              this._name = v;                              this.additional = v; // change different property                      },                      name() {                              return this.name;                      },                       set additional(v) {                              // process v                              this._additional = v; // field not reflect                       },                      additional() {                              return this._additional;                      }            },          reflecttoattribute: true          }                        }) 


Comments

Popular posts from this blog

ruby on rails - Permission denied @ sys_fail2 - (D:/RoR/projects/grp/public/uploads/ -

c++ - nodejs socket.io closes connection before upgrading to websocket -

java - What is the equivalent of @Value in CDI world? -