0.0.53 • Published 5 years ago

snail-web-core v0.0.53

Weekly downloads
8
License
ISC
Repository
-
Last release
5 years ago

BASICS

The 2 base things in this templating system is [Component] and [ComponentNode]

Every DOM element with the attribute "data-module" will have an Instance of [ComponentNode] wrapped around it. And that Instance, containing references to the [Component]'s on that DOM element.

A DOM element can only ever have one ComponentNode, but can have multiple Component's on it.

Example:
<div data-module="CompOne, CompTwo, CompThree"></div>

This would create a ComponentNode and three modules all extending [Component]'s.

SCRIPTS

Run a test:
npm run test
Compile a release build:
npm run build
0.0.53

5 years ago

0.0.52

5 years ago

0.0.51

5 years ago

0.0.5

5 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago