All Projects → RickonChen → feedback

RickonChen / feedback

Licence: MIT license
An angular module provide a directive for feedback

Programming Languages

typescript
32286 projects
HTML
75241 projects
CSS
56736 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to feedback

Ajsf
Angular JSON Schema Form
Stars: ✭ 266 (+660%)
Mutual labels:  angular-material, angular6
nglp-angular-material-landing-page
NGLP is an Angular Material Landing Page.
Stars: ✭ 32 (-8.57%)
Mutual labels:  angular-material, angular6
Angular-Movies
Angular Movies | TV Shows is a simple web app that consumes The Movie DB API - Angular 13 + Material Angular
Stars: ✭ 35 (+0%)
Mutual labels:  angular-material, angular6
ng-ripple
Material ripple effects for AngularJs
Stars: ✭ 12 (-65.71%)
Mutual labels:  angular-material, angular-directive
Date Time Picker
Angular Date Time Picker (Responsive Design)
Stars: ✭ 528 (+1408.57%)
Mutual labels:  angular-material, angular6
Learn Angular From Scratch Step By Step
Angular step by step tutorial covering from basic concepts of Angular Framework to building a complete Angular app using Angular Material components. We will go through the main building blocks of an Angular 7 application as well as the best practices for building a complete app with Angular.
Stars: ✭ 140 (+300%)
Mutual labels:  angular-material, angular6
Angular Draggable Mat Tree
Example implementation of drag and drop on Angular Material Tree
Stars: ✭ 47 (+34.29%)
Mutual labels:  angular-material, angular6
Angular5 Seed
Angular5 Seed for Application
Stars: ✭ 222 (+534.29%)
Mutual labels:  angular-material, angular6
ngx-quill-lite
A light weight Angular wrapper of Quilljs, powerful rich text editor
Stars: ✭ 20 (-42.86%)
Mutual labels:  angular6
brush
An amazing scaffolding for developing database-driven websites, applications and APIs. Built on Laravel Lumen Framework, MySQL and Angular.
Stars: ✭ 23 (-34.29%)
Mutual labels:  angular-material
ngx-loading-mask
Angular 5+ simple loading-mask ui component.
Stars: ✭ 22 (-37.14%)
Mutual labels:  angular6
nativescript-taptic-engine
📳 Use Apple's Taptic Engine to vibrate your iPhone 6s (and up) in a variety of ways
Stars: ✭ 16 (-54.29%)
Mutual labels:  feedback
Angular-Reactive-Demo-Shop
Angular Demo Shop
Stars: ✭ 79 (+125.71%)
Mutual labels:  angular6
DNN.Feedback
DNN Feedback is a basic module used for accepting user inquiries on your DNN site.
Stars: ✭ 17 (-51.43%)
Mutual labels:  feedback
NodeAngular
🚀 Full Stack Framework Béta : mean with last Angular and Node (Example)
Stars: ✭ 13 (-62.86%)
Mutual labels:  angular6
angular6-httpclient-example
Angular 6 HttpClient: Consume RESTful API Example
Stars: ✭ 38 (+8.57%)
Mutual labels:  angular6
angular-tutorial
Angular Tutorial.《跟老卫学Angular》
Stars: ✭ 27 (-22.86%)
Mutual labels:  angular6
fyndiq-ui
Library of reusable web frontend components for Fyndiq
Stars: ✭ 39 (+11.43%)
Mutual labels:  reusable-components
angular5-social-login
Social authentication module for Angular 5. Includes Facebook and Google login with AOT compatibility.
Stars: ✭ 40 (+14.29%)
Mutual labels:  angular-module
angular-heroes
An Angular application that interacts with the Marvel Comics API
Stars: ✭ 37 (+5.71%)
Mutual labels:  angular-material

feedback

An angular directive for sending feedback featuring Angular 6, Html2canvas, Angular Material, Rxjs, inspired by Google send feedback, based on angular-cli.

Demo

Alt text

Prerequisites

make sure your project:

How to use it in your project

download it from npm

npm install ng-feedback --save

use the feedback module in your project, at any module, you just need to imports into your module:

import { FeedbackModule } from 'ng-feedback'

easy to use the directive, just add it in a html tag, such as:

<button feedback>feedback</button>

Properties

Name Default Value
title Send feedback
placeholder Describe your issue or share your ideas
editTip Click to highlight or hide info
checkboxLabel Include screenshot
cancelLabel CANCEL
sendLabel SEND
moveToolbarTip move toolbar
drawRectTip Draw using yellow to highlight issues or black to hide sensitive info
highlightTip highlight issues
hideTip hide sensitive info
editDoneLabel DONE

method

send(feedback)

it is an output of the directive, the usage is:

<button 
  feedback 
  (send)="onSend($event)">feedback
</button>

Then you can custom the onSend method in your component. The param feedback is an object contains two properties: description and screenshot.

  • description is string to describe issues or ideas
  • screenshot comes from HTMLCanvasElement.toDataURL('image/png'), can be used as src of an img tag.

Getting started with this repo

Make sure you have Node version >= 8.0 and NPM >= 5

Clone/Download the repo then edit feedback library inside /src/app/feedback

# clone repo
git clone https://github.com/RickonChen/feedback.git

# change directory to our repo
cd feedback

# install the repo with npm
npm install

# start the server
npm start

# if you're in China use cnpm
# https://github.com/cnpm/cnpm

go to http://127.0.0.1:4200 or http://localhost:4200 in your browser

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].