1.1.3 • Published 7 years ago

lhs-component v1.1.3

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

Deprecation warning

This package has been renamed to @lahautesociete/jquery-component

lhs-component

jQuery component template

Install

npm install lhs-component --save

Examples

$('.ExampleComponent').component({

    /**
     * Bind nodes
     */
    nodes: function() {

    },

    /**
     * Bind events
     */
    events: function() {

    },

    /**
     * Initialize
     */
    init: function() {

    }

});

How it works

Every component is self-instanced by the lhs-component lib. It automatically runs nodes(), then events() and then init() methods. Theses methods can be removed if they are empty.

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago