I've this my very first web components called grouped-checkbox. Everything works great when I click on checkboxes and change their value. But when I change checked status of checkboxes programmatically, my change listener is not being triggered.
I've created this bin to demonstrate the issue:
http://jsbin.com/dixewowa/1/edit
I've my change listener on the wrapper div to use one listener for all checkboxes.
Maybe this is the issue?
<template>
<style>
#group > * {
display: block;
margin-left: 1em;
}
</style>
<label>
<input type="checkbox" id="all" on-change="{{allChangeListener}}">
{{label}}
</label>
<div id="group" on-change="{{groupChangeListener}}">
<content></content>
</div>
</template>
I've this my very first web components called grouped-checkbox. Everything works great when I click on checkboxes and change their value. But when I change checked status of checkboxes programmatically, my change listener is not being triggered.
I've created this bin to demonstrate the issue:
http://jsbin.com/dixewowa/1/edit
I've my change listener on the wrapper div to use one listener for all checkboxes.
Maybe this is the issue?