1.2.0 • Published 8 years ago

solution-center-feedback v1.2.0

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

Solution Center Feedback Build Status npm Version

Feedback tool for rating services provided by Brand Solutions

Installation

npm install solution-center-feedback

Usage

  1. Include the script in your project:

    <script src="/node_modules/solution-center-feedback/dist/solutioncenter.feedback.js"></script>
  2. Insert the component near or at the bottom of your app:

    <sc-feedback module-id="$ctrl.id" module-name="$ctrl.name" debug-config="$ctrl.debug"></sc-feedback>

Parameters

All the module related parameters are required, the one for debugging is optional

  • module-id: The ID associated with your project.
  • module-name: The name you wish to display on the feedback component.
  • debug-config: Configuration object for debugging purposes

Style

Solution Center Feedback is intended to be used with dress code. That package is included as a dependency. Be sure to include dress-code in your project.

Develop

Clone the repository, then run:

npm install

Available commands

  • npm start: start a development server, open the demo in the browser, and watch for code changes.
  • npm test: run unit tests and generate a coverage report.
    • open coverage/index.html: after running unit tests, open the coverage report.
  • npm clean: remove build files/directories

Contributing

Before opening a pull request, please ensure that you have included unit tests for your changes and that all tests are passing.

Changelog

Changelog

License

MIT

1.2.0

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago