1.0.1 • Published 5 years ago
can-3-4-compat v1.0.1
can-3-4-compat
Utilities for easing the upgrade from CanJS 3 to CanJS 4.
Modules
can-3-4-compat/dom-mutation-events
This module enables the legacy mutation events inserted and removed in places such as can-components.
import "can-3-4-compat/dom-mutation-events";
import Component from "can-component";
Component.extend({
tag: "some-component",
events: {
inserted: function(){
// This will fire!
}
}
})
license
MIT