Blaze UI Back to top
Blaze UI provides the Back to Top feature, when the user clicks on the back to top button then it will scroll up the page to the top.
There is one attribute offered by Blaze UI Back to top:
- position: This attribute specifies the position of the button to the ‘left’ or ‘center‘. The default position is ‘right’.
We can add a Back to top feature using the blaze-back-to-top tag provided by Blaze UI.
<blaze-back-to-top position="..."> <button class="...">Back to Top</button> </blaze-back-to-top>
Example 1: The following code demonstrates the Blaze UI Back to the top with the position ‘Left’ feature using the Blaze UI.
Example 2: The following code demonstrates the Blaze UI Back to the top with the position ‘Right’ feature using the Blaze UI.