can-3-4-compat

1.0.1 • Public • Published

can-3-4-compat

Build Status

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

Dependents (3)

Package Sidebar

Install

npm i can-3-4-compat

Weekly Downloads

133

Version

1.0.1

License

MIT

Unpacked Size

8.27 kB

Total Files

11

Last publish

Collaborators

  • cherif_b
  • matthewp