Miss any of our Open RFC calls?Watch the recordings here! »

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

Install

npm i can-3-4-compat

DownloadsWeekly Downloads

51

Version

1.0.1

License

MIT

Unpacked Size

8.27 kB

Total Files

11

Last publish

Collaborators

  • avatar
  • avatar