Skip to content

The ability to pass a object to fromAttribute

Compare
Choose a tag to compare
@cherifGsoul cherifGsoul released this 18 Oct 18:28
· 8 commits to master since this release

This makes possible to pass a conversion object to fromAttribute, the object must have parse and stringify methods:

person: { type: Object, bind: fromAttribute( JSON ) }

Or

person: { type: Object, bind: fromAttribute( 'attribute-name' , JSON ) }

#15