Skip to content

Commit 2a31dd4

Browse files
authored
Add 'command' and 'commandfor' to HtmlButtonTag (#435)
* Add 'command' and 'commandfor' to HtmlButtonTag See: https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API#browser_compatibility Signed-off-by: Jo Burgard <[email protected]> * Create changeset Signed-off-by: Jo Burgard <[email protected]> --------- Signed-off-by: Jo Burgard <[email protected]>
1 parent 0867a7c commit 2a31dd4

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changeset/blue-students-joke.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@kitajs/html": patch
3+
---
4+
5+
Add 'command' and 'commandfor' to HtmlButtonTag Type

packages/html/jsx.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,8 @@ declare namespace JSX {
217217
interface HtmlButtonTag extends HtmlTag {
218218
action?: undefined | string;
219219
autofocus?: undefined | boolean;
220+
command?: undefined | string;
221+
commandfor?: undefined | string;
220222
disabled?: undefined | boolean;
221223
enctype?: undefined | string;
222224
form?: undefined | string;

0 commit comments

Comments
 (0)