opal / opal-browser

Browser support for Opal.
MIT License
115 stars 36 forks source link

Add: click method to Element class #76

Closed anharu2394 closed 5 years ago

anharu2394 commented 5 years ago

I added clickmethod to Element class. When click method is used with supported elements (such as an <input>), it fires the element's click event.

https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/click

elia commented 5 years ago

Thanks!