# j-FeedbackButton

> j-FeedbackButton: singleton; universal usage

Framework: jcomponent20
Product: jComponent 20 (jcomponent@20)
Language: en
Content-SHA256: 7d0cb03032c3ca7c10a308989a3932d7a1f17f7e8a2eb820397c6d70a4be71f2
Snapshot: c0700e321579725c5cf4f5ace1ad7d2866d1b4f93c24a63c0b41b6b7998e976c
Sources: components@910ed1a86f6e72b4f031d3ad0dc7844f9fc5cb8e
Review: not-recorded

- singleton
- universal usage
- supports background-color change
- supports left or right position
- supports expiration time

__Configuration__:

- `color {String}` background color setting (default: `#333`)
- `position {String}` a position, can be `left` or `right` (default: `right`)
- `expire {String}` sets the expiration date (default: `3 days`)
- `icon {String}` a font-awesome icon name (default: `fa fa-comment-alt`)
- `animate {Boolean}` enables animation (default: `true`)
- `label {String}` a label for the button (default: `Feedback`)
- `url {String}` a link to URL address which will be open if the user click on the button
- or `exec {String}` a link to method `function(hide)` which will be executed after click on the button

Use it with `<ui-component name="feedbackbutton">`. When the component is not loaded yet, jComponent downloads it on first use from the address in `DEF.fallback` (the Componentator CDN by default). Author: Jozef Marton. Source: the Componentator components repository, MIT license.

```html example.html
<ui-component name="feedbackbutton" config="color:#333;position:right"></ui-component>
```
