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

Update satus.js extend .on listener to redirecting to elements like w… #2210

Merged
merged 2 commits into from
Apr 26, 2024
Merged

Conversation

raszpl
Copy link
Contributor

@raszpl raszpl commented Apr 26, 2024

…e now allow calling functions

like

click: 'main.layers.back'

but instead of calling a function we can point to an element path, for example
click: 'main.layers.section.appearance.on.click.player.on.click.player_hide_controls_options.on.click'
lets us define buttons that redirect to other elements

…e now allow calling functions

like 
https://github.com/code-charity/youtube/blob/98338c8305169195487b8cdc3e23749a6c781e85/menu/skeleton.js#L36

but instead of calling a function we can point to an element path
click: 'main.layers.section.appearance.on.click.player.on.click.player_hide_controls_options.on.click'
lets us define elements that redirect to other elements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants