Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buttons should be triggered within Javascript #170

Open
ceremcem opened this issue Oct 17, 2018 · 0 comments
Open

Buttons should be triggered within Javascript #170

ceremcem opened this issue Oct 17, 2018 · 0 comments

Comments

@ceremcem
Copy link
Contributor

ceremcem commented Oct 17, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant