penguin-save-button
A simple save-button component for penguin.
Last updated 3 years ago by domachine .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install penguin-save-button 
SYNC missed versions from official npm registry.

penguin-save-button

A simple save button for penguin.js.

Installation

$ npm i -S penguin-save-button

Then edit your package.json file to include the component.

{
  "penguin": {
    "components": {
      "SaveButton": "penguin-save-button"
    }
  }
}

Usage

<button data-component='SaveButton'>
  Save
</button>

This component registers an onclick handler on the target element and triggers ctx.save().

Current Tags

  • 0.0.2                                ...           latest (3 years ago)

3 Versions

  • 0.0.2                                ...           3 years ago
  • 0.0.1                                ...           3 years ago
  • 0.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 6
Dependencies (5)
Dev Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |