websocket - Set component attribute but don't fire event -


I am new to polymer / webcomputer and I am trying to set an attribute in one component but

Why? Because I want to be able to do two things:

1) When the control changes (clicking on the checkbox) I want to use Event Handler to send (using websites)

2) when should change (an event through the website) ) I want to be able to set the checkbox but do not fire the event.

Hope that I made my point clear; in Germany it is very hot -> the brain is melting;)

  & lt; Link rel = "import" href = ".. / polymer / polymer.html" & gt; & Lt; Link rel = "import" href = "../paper-checkbox / paper-checkbox html" & gt; & Lt; Polymer-element name = "webmp3-player" & gt; & Lt; Templates & gt; & Lt; Paper-checkbox ID = "Repeat" On-Change = {{change}} & gt; & Lt; / Paper-checkbox & gt; & Amp; Nbsp; Repeat & amp; Nbsp; & Lt; Paper-Checkbox ID = "Shuffle" On-Change = {{change}} & gt; & Lt; / Paper-checkbox & gt; & Amp; Nbsp; Shuffle & lt; / Template & gt; & Lt; Script & gt; Polymer ('webmpc-player', {ready: function}} / / set component property / $. Shuffle.checked = true;}, change: function (e, description, sender) {warning (not called 'I Wish! ');}}); & Lt; / Script & gt; & Lt; / Polymer element & gt;  

thanks, this looks like a defect in the paper-checkbox < / Code>.

I have posted an issue ticket to describe the problem.


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -