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

Text Interpolation #15

Open
Machy8 opened this issue Aug 27, 2023 · 0 comments
Open

Text Interpolation #15

Machy8 opened this issue Aug 27, 2023 · 0 comments

Comments

@Machy8
Copy link
Contributor

Machy8 commented Aug 27, 2023

Insteaf of

Hello <span :text="text"></span>

it would be possible to use

Hello {{ text }}

with functions

Hello {{ customFunction(text) }}

The wraping brackets could be configurable
The interpolation is possible, but with signals and direct binding to a text node (so it replaces only that text node that use the signal), it could be slow to find all ocurences within the element and bind it with correct signal and watchers.

@Machy8 Machy8 changed the title Interpolation Text Interpolation Aug 27, 2023
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