Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_button('my_sections', 2, {
- "this_class" : "click_button",
- "text" : "CLICK ME"
- })
- add_event('click_button', 1, {
- "type" : "click",
- "function" : "my_function()"
- })
- function my_function() {
- alert('hello')
- }
- function my_function() {
- alert('hello')
- style_button('click_button', 1, {
- "pointer-events" : "none",
- "opacity" : 0.5
- })
- }
Add Comment
Please, Sign In to add comment