hostabee-comment-flow

0.2.0 • Public • Published

<hostabee-comment-flow>

Commitizen friendly Build Status Published on webcomponents.org

Commenting solution out-of-the-box in a web component.

<hostabee-comment-flow></hostabee-comment-flow>
<script>
  const flow = document.querySelector('hostabee-comment-flow');
  // Populate the comment flow
  fetch('https://YOUR_API/comments')
    .then(res => res.json())
    .then(json => flow.comments = json.result);
</script> 

Screenshot of hostabee-comment-flow

Installation

Install <hostabee-comment-flow>:

bower install Hostabee/hostabee-comment-flow --save

Once installed, import it in your application:

<link rel="import" href="bower_components/hostabee-comment-flow/hostabee-comment-flow.html">

Running demos and tests in a browser

  1. Fork the hostabee-comment-flow repository and clone it locally.

  2. Make sure you have npm and Bower installed.

  3. When in the hostabee-comment-flow directory, run npm install and then bower install to install dependencies.

  4. Run npm start, browser will automatically open the component API documentation.

  5. You can also open demo or in-browser tests by adding demo or test to the URL, for example:

Running Tests

  • When in the hostabee-comment-flow directory, run polymer test

Contributing

  1. Fork it!

  2. Create your feature branch: git checkout -b my-new-feature

  3. Commit your changes: git cz OR follow this commit guide to write the commit messages.

  4. Push to the branch: git push origin my-new-feature

  5. Submit a pull request.

License

Apache License 2.0

Package Sidebar

Install

npm i hostabee-comment-flow

Weekly Downloads

11

Version

0.2.0

License

Apache-2.0

Unpacked Size

260 kB

Total Files

27

Last publish

Collaborators

  • masonlouchart