Web Component for button back to the top of the page
Using npm:
npm i -S nuz-button-to-top
Using yarn:
yarn add nuz-button-to-top
<nuz-button-to-top theme="success"></nuz-button-to-top>
Make the button visible at a specified distance.
Name | Type | Default |
---|---|---|
distance |
Number | 300 |
Remove border-radiius from button.
Name | Type | Default |
---|---|---|
flat |
Boolean | false |
Applies the icon variant using UTF-8 Decimal to the button. You can find list of the icon on the w3schools page.
Name | Type | Default |
---|---|---|
icon-code |
String | 8593 |
Make the button a circle shape.
Name | Type | Default |
---|---|---|
rounded |
Boolean | false |
Applies the theme variant to the button.
Name | Type | Default | Available Values |
---|---|---|---|
theme |
String | primary |
primary , success , danger , warning , info , light , dark
|