ractive
Version:
Next-generation DOM manipulation
16 lines (12 loc) • 338 B
JavaScript
import runloop from 'global/runloop';
import syncSelect from 'virtualdom/items/Element/special/select/sync';
export default function bubbleSelect () {
if ( !this.dirty ) {
this.dirty = true;
runloop.scheduleTask( () => {
syncSelect( this );
this.dirty = false;
});
}
this.parentFragment.bubble(); // default behaviour
}