Skip to content

Custom attribute syntax  #50

@MendyBerger

Description

@MendyBerger

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions