@vue-layout/hyperscript
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

@vue-layout/hyperscript 👻

npm version CI

This package provides helpers for building forms and list elements on the fly, using hyperscript. Those can be used directly in the vue render function 🔥.

It also provides presets for bootstrap & font-awesome.

Note The package is still in development and the API is still subject to change. Besides, the documentation still needs to be expanded

Table of Contents

Installation

$ npm i --save @vue-layout/hyperscript

Usage

The following form helpers are provided:

  • buildFormInput
  • buildFormInputCheckbox
  • buildFormInputText
  • buildFormSelect
  • buildFormSubmit
  • buildFormTextarea

The following list helpers are provided:

  • buildList
  • buildListActionRefresh
  • buildListHeader
  • buildListItem
  • buildListItems
  • buildListNoMore
  • buildListPagination
  • buildListSearch
  • buildListTitle

Example

For an implementation example, on how to use this library, check out the example package.

License

Made with 💚

Published under MIT License.

/@vue-layout/hyperscript/

    Package Sidebar

    Install

    npm i @vue-layout/hyperscript

    Weekly Downloads

    6

    Version

    1.1.0

    License

    none

    Unpacked Size

    344 kB

    Total Files

    157

    Last publish

    Collaborators

    • tada5hi