Gitter Aurelia conversation discussed the issue and approach to fix it.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Have to use change.delegate below due to FF vs all other browsers | |
issue https://gitter.im/Aurelia/Discuss?at=5639d129a530033014e41607 --> | |
<input class="searchcheckbox" | |
id="option" | |
type="checkbox" | |
name="field" | |
value="option" | |
checked.bind="value.selected" | |
change.delegate="updateSelectedFacetValue($parent.$index, $index, value)" | |
class="filterboxcheck col-xs-1"> |
Hi William. Thanks for your insights and your tutorials on custom events. I am using the code you wrote to help me with a problem I am facing.
ReplyDeleteI have the problem you described, that is change.delegate firing before the value is changed on FF and after the change on Chrome. This is happening in a custom element.
Do you suggest using the DOM level custom events or is there an Aurelia only solution that does not require jQuery of DOM medling of any sort?
Do you think using change.trigger is an option?
trigger is an option?
ReplyDeleteHi Tseliso and Zohaib,
ReplyDeleteI got more consistent results from change.delegate. FF might have resolved that difference at this point. Haven't re-checked it.
This comment has been removed by the author.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThey couldn't care less what number of super pixels we have, nor how much our hardware cost us, nor what brand of camera we use. Clipping Path Service
ReplyDeleteKalem Aquil is a 'semi-wore out' picture taker that apportions free, spontaneous (yet, excellent and precise) tips and counsel to sprouting photographic artists that need to take their photography business to the following level.how to create a clipping mask in photoshop
ReplyDelete