npm.io
1.1.1 • Published 2 years ago

feedback-ly

Licence
Version
1.1.1
Deps
1
Size
36 kB
Vulns
0
Weekly
0

FeedbackLy

FeedbackLy is a web component toolkit designed to help gather quick and efficient feedback from users.

Getting Started

This section contains information on how to integrate FeedbackLy components into your project.

Setup

Setup the FeedbackLy components using NPM or Yarn:

npm install feedback-ly --save
# or
yarn add feedback-ly
CDN
https://unpkg.com/feedback-ly@1.0.0/dist/feedback-ly@1.0.0.mjs
Props

Include the FeedbackLy component on your page:

position: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left' (default: 'bottom-right')
icon-size: String (default: '24')
icon-color: String (default: '#f27a1a')
disabled: Boolean (default: false)
minlength: String (default: '10')
maxlength: String (default: '2000')
customer-id: String -required
full-name: String -required
Usage

Include the FeedbackLy component on your page:

import 'feedbackly';

<feedback-ly position="bottom-right" customer-id="customerId" full-name="fullName"></feedback-ly>

Development

Steps to run and develop the project locally:

  1. Install dependencies:
npm install
  1. Start the project:
npm start

Technologies Used