Closed dbushong closed 12 years ago
It would be very useful for the jQuery hook to have a compound interface: "class." (that just treated its argument as truthy)
e.g.:
<style>.red { background-color: red; }</style> <input id="redden" type="checkbox"> <div class="rounded shadowy" id="box"></div> <script> Synapse('#redden').notify(Synapse('#box'), { observerInterface: 'class:red' }); </script>
It would be very useful for the jQuery hook to have a compound interface: "class." (that just treated its argument as truthy)
e.g.: