0.4.0 • Published 5 years ago
@hunchcloud/elements v0.4.0
Hunch Elements
A collection of custom element. Originally designed to be used on Hunch, but can be used anywhere web components are supported.
Install by
yarn add @hunchcloud/elements
then import by
import '@hunchcloud/elements';
And you will be able use the following elements:
<hunch-auto-focus>
: focus the first child element with theautofocus
attribute<hunch-carousel>
: a carousel/slider element<hunch-img>
: a lazy loading image element<hunch-navbar>
: a responsive navbar element<hunch-tabs>
: a tab container element