I am trying to bind a model value to paper-toggle polymer element in dartangular.
<paper-toggle-button [(checked)]="share.pin"></paper-toggle-button>
This is not working. It is only setting the toggle-button based on share.pin value but not the other way.
I tried adding a event handler but not successful .
<paper-toggle-button [checked]="share.pin" (change)="share.pin=$event"></paper-toggle-button>
Try this