Flying button widget
Hi I want to add a button to a page which can be placed anywhere and dragged anywhere while the app is running.
- Create a button on the layout – sticks in every page which layout is being used
- add HTML Snippet widget to your project
- Add the HTML snippet widget in the bottom of your layout widget
Here you can do two things
- Add Jquery UI Script to your project https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js and add js like document.querySelector(‘#buttonId’).draggable(); (https://codepen.io/andrewatts85/pen/gOrMmB – this will help)
- Or you can follow these steps https://codepen.io/AmirthaShankari/pen/PoPewYX