diso.view

0.0.33 • Public • Published

diso.view

0.0.33

Description

Views!

pre release derp ... proper docs in progress but code is commented with docco output in /docs

Internal API Notes

Views provide a constructor that accepts a single @data argument consisting of the data it needs to render itself

Each view must provide a globally unique id under @id

If this is not passed in the constructor or set in the child class, one is created using shortid

A run method that gets called in the client to attach event handlers to the view

idMap that returns and object detailing the id hierarchy through the tree of subviews

TODO

support ref attributes?

Libs to checkout

Readme

Keywords

Package Sidebar

Install

npm i diso.view

Weekly Downloads

6

Version

0.0.33

License

MIT

Last publish

Collaborators

  • stephenhandley