Skip to content
This repository has been archived by the owner on Feb 4, 2018. It is now read-only.

v2.0.0

Compare
Choose a tag to compare
@treshugart treshugart released this 02 Feb 07:06

<a name"2.0.0">

2.0.0 (2017-02-02)

Bug Fixes

  • ts-typings: add trailing semicolons to make it valid (7d0d5925)

Features

  • h:
    • add events setup via events attribute (c10d28c3)
    • make h set attributes only via attrs property (a691e5ca)
    • make h set attributes on custom-element via attributes prop (ec8ff28e, closes #14)
  • ts-typings: add TS type definitions (69ea2d95)

Breaking Changes

  • Before you could set attributes via bore's h via data-* or aria-* otherwise the attribute would be set to element property.
    Now if you wanna set attributes you have to explicitly do it via attrs property which accepts a object map.

Before:

<my-element aria-role="button" data-foo="hello" />

After:

<my-element attrs={{ 'aria-role': 'button', 'data-foo': 'hello' }} />

(a691e5ca)