scada.js icon indicating copy to clipboard operation
scada.js copied to clipboard

Buttons should be triggered within Javascript

Open ceremcem opened this issue 7 years ago • 0 comments

Description:

Any button in gui should be clicked via Javascript while still behaving just like clicked via mouse, such as passing its context to the listener, visual animations, etc.

Proposal

Prepend an underscore to the desired event. For example, in order to fire a buttons's click event, use:

# there is a component with '#my-button' id 
@find-id \my-button .fire \_click

Status

Currently waiting for resolution of this issue which waits for https://github.com/ractivejs/ractive/issues/3279.

ceremcem avatar Oct 17 '18 07:10 ceremcem