adobe / adobe/cc-ext-uxp-types
HTMLDialogElement is missing
Open
- Dominant language
- No language data
- Stars
- 15
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
### Expected Behaviour
`HTMLDialogElement.showModal()` has argument as option
so you can specify dialog size and title
e.g.
```JS
HTMLDialogElement.showModal({
title: title,
size: {
width: 300,
},
});
```
### Actual Behaviour
`HTMLDialogElement.showModal()` has no argument
Contributor guide
Research direction
Locate the type declaration for HTMLDialogElement and inspect the showModal signature. Use the issue's title and size example as the requested shape; the work is done when the declaration accepts those options and existing type checks still pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100