This repository has been archived by the owner on Jul 29, 2019. It is now read-only.
1.2.0
- 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 ofgetPropsFromElem(elem)
is passed as a parameterlil-style
will ignore undefined values without throwing an error- Add
lil-index
andlil-list-parent
attributes to elements withlil-list-text
to help identify their parents - Add
lil-click
property type