aktos-io/scada.js

Buttons should be triggered within Javascript

Opened this issue · 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 ractivejs/ractive#3279.