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

Add attribute helper #54

Open
F0rsaken opened this issue Jan 23, 2023 · 0 comments
Open

Add attribute helper #54

F0rsaken opened this issue Jan 23, 2023 · 0 comments
Labels

Comments

@F0rsaken
Copy link
Member

Add attribute helper that binds element attribute to variable, providing fully functional 2-way binding.

const src = attribute('src');

console.log(src.value);
src.value = 'custom/srouce';
@F0rsaken F0rsaken added the v3 label Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant