Hello,
I have started using Polymer UI but I noticed that Studio generates Polymer 1.0 code and not 2.0 as the Polymer tutorial suggests?
Studio generates:
<script>
Polymer({
is: 'myweb-login',
behaviors: [CubaLocalizeBehavior],
_handleLoginError: function() {
this.$.loginError.show();
}
})
</script>
Which should look like:
<script>
// Our web component has to extend Polymer.Element class
class AlertButton extends Polymer.Element {
...
Polymer UI Tutorial Simple Component
Thanks.