Not every useful web platform improvement is a big feature.
Some are just small fixes for old frontend annoyances.
ToggleEvent.source helps answer: what actually triggered this popover or dialog change?
dialog.closedBy helps define: how should this dialog be allowed to close?
Less glue code.
Clearer intent.
More native-feeling UI behavior.

Top comments (0)