Aleksandr Grenishin
Aleksandr Grenishin
I'm proposing the addition of a built-in method for defining primitive dual properties (attributes + DOM properties) within custom elements. This method would combine the functionalities of `bindAttributes` and `defineAccessor`,...
## Description ## Checklist - [ ] Tests (if applicable) - [ ] Documentation (if applicable) - [ ] Changelog stub (or use [conventional commit messages](https://www.conventionalcommits.org/)) ## Summary by CodeRabbit...
## Description ## Checklist - [ ] Tests (if applicable) - [ ] Documentation (if applicable) - [ ] Changelog stub (or use [conventional commit messages](https://www.conventionalcommits.org/))
## Description ## Checklist - [ ] Tests (if applicable) - [ ] Documentation (if applicable) - [ ] Changelog stub (or use [conventional commit messages](https://www.conventionalcommits.org/))
We need to implement something like this: ``` declare global { namespace JSX { interface IntrinsicElements { [...] "ion-toggle": Components.IonToggleAttributes; "ion-toolbar": Components.IonToolbarAttributes; "ion-virtual-scroll": Components.IonVirtualScrollAttributes; } } } ```
## Description ## Checklist - [ ] Tests (if applicable) - [ ] Documentation (if applicable) - [ ] Changelog stub (or use [conventional commit messages](https://www.conventionalcommits.org/)) ## Summary by CodeRabbit...
## Description ## Checklist - [ ] Tests (if applicable) - [ ] Documentation (if applicable) - [ ] Changelog stub (or use [conventional commit messages](https://www.conventionalcommits.org/))