Skip to content
This repository has been archived by the owner on Jul 29, 2019. It is now read-only.

Releases: bersLucas/liljs

4.0.1

17 Jul 00:10
Compare
Choose a tag to compare
  • Upgrade dependencies

4.0.0

02 Apr 23:12
Compare
Choose a tag to compare
  • Use rollup to export esm and umd versions; use default exporting.

3.0.0

01 Apr 23:52
Compare
Choose a tag to compare
  • It's an ES6 module now
  • Remove babel and it's plugins from devDependencies
  • Remove uglyifyjs from devDependencies
  • Use Terser for minification.
  • Add script to generate gzip version for file size comparison

2.1.0

21 Mar 01:28
Compare
Choose a tag to compare
  • Adds a second parameter to initialization for methods called with lil-click events.

Current syntax is now:

liljs(document.querySelector('#app'), {
  propertyName: propertyValue,
  propertyName: propertyValue,
  ...
}, {
  methodName: (prop, elem) => {
    
  },
  methodName: (prop, elem) => {
    
  }
}).then((app) => {
  //use app to render() or change values here.
});

2.0.0

17 Mar 14:19
aeaaccf
Compare
Choose a tag to compare
  • liljs is now a promise

1.2.1

16 Mar 13:03
Compare
Choose a tag to compare
  • /docs/ folder is now published
  • Fixes for tests and doc generation
  • Adding getPropsFromElem tests
  • Configuring eslint for tests

1.2.0

14 Mar 00:23
Compare
Choose a tag to compare
  • Properties inside lil-bind will be created if they don't exist (Defaults to a text bindType and value of '')
  • Creates a liljs.addProp() function too add properties after application is renderd
let app = liljs(
  document.querySelector('#app'), {
    textValue: 'hello world',
  }
);
app.addProp('name', 'text/style/list/click', [element(s)], value);
  • Elements with lil-text properties will no longer replace the entirety of their contents when they're rendered. Instead, all text nodes will be removed and the lil-text value will be apended.
  • lil-* properties inside <template> elements will now be initialized.
  • lil-style properties now take functions as a css value. The result of getPropsFromElem(elem) is passed as a parameter
  • lil-style will ignore undefined values without throwing an error
  • Add lil-index and lil-list-parent attributes to elements with lil-list-text to help identify their parents
  • Add lil-click property type

1.1.0

10 Feb 22:49
Compare
Choose a tag to compare
  • Add lil-bind for two-way binding in fields.

1.0.2

10 Feb 16:59
Compare
Choose a tag to compare