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

Custom attribute syntax #50

Open
MendyBerger opened this issue Mar 29, 2023 · 0 comments
Open

Custom attribute syntax #50

MendyBerger opened this issue Mar 29, 2023 · 0 comments

Comments

@MendyBerger
Copy link

MendyBerger commented Mar 29, 2023

I'd like to be able to have custom syntax for attribute keys, to support syntax similar to Angular or Lit:

Angular:

<div  [prop]="foo"  (click)="callback"  [(twoWayBinding)]="bar">

Lit:

<div  .prop="foo"  @click="callback"  ?boolAttibute="biz">

Maybe something similar to transform_block but for attributes.

If this looks like a good idea to you, I might be able to create a PR.

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

No branches or pull requests

1 participant