Skip to content

Commit

Permalink
feat: support destructuring of objects in Angular in HTML elements (#…
Browse files Browse the repository at this point in the history
…1522)

* rough implementation

* update

* fix

* spreadRef

* cleanup

* refactor

* refactor

* update tests

* onViewInit

* use meta

* update tests

* onUnmount

* tests

* ngOnChanges check

* handle spread inlined and arbitrary props spread

* test

* refactor

* add comments

* fix

* update tests

* add changeset

* ts checks

* compileContext

* let to const

* f

* remove delete

* minor updates

---------

Co-authored-by: Sami Jaber <[email protected]>
  • Loading branch information
sidmohanty11 and samijaber authored Sep 3, 2024
1 parent 8c48353 commit 84038d5
Show file tree
Hide file tree
Showing 12 changed files with 14,763 additions and 675 deletions.
5 changes: 5 additions & 0 deletions .changeset/tall-suns-shake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@builder.io/mitosis': patch
---

Angular: Feat: support destructuring of props or state objects with attributes as well as event listeners directly inside an HTML element
Loading

0 comments on commit 84038d5

Please sign in to comment.