Skip to content

canjs/can-observable-object

Repository files navigation

can-observable-object

Build Status Greenkeeper badge

The ObservableObject

Usage

ES6 use

With StealJS, you can import this module directly in a template that is autorendered:

import plugin from 'can-observable-object';

CommonJS use

Use require to load can-observable-object and everything else needed to create a template that uses can-observable-object:

var plugin = require("can-observable-object");

Standalone use

Load the global version of the plugin:

<script src='./node_modules/can-observable-object/dist/global/can-observable-object.js'></script>