As I known, Polymer element has attributes & template model, such as:
<polymer-element name="gaea-lib-suicheckbox" attributes="checked inner-tips">
<template repeat="{{ f in features }}">
...
Both this.features & this.inner-tips can be accessed by this, but what's the meaning of attributes & template model?
I just think that attributes are the element's exposed properties which may access or share to other elements, and template model is just used by the element, eg. gaea-lib-suicheckbox itself??
About the attributes you have right. But the template tag is little bit more complicated than what you said. It provides many features. HTML5 Template Tag
As I known, Polymer element has attributes & template model, such as:
Both this.features & this.inner-tips can be accessed by
this
, but what's the meaning of attributes & template model?I just think that attributes are the element's exposed properties which may access or share to other elements, and template model is just used by the element, eg. gaea-lib-suicheckbox itself??
Wishes your reply, many thanks!!