Name Description Size Coverage
moz-widget-header.css 1265 -
moz-widget-header.mjs The header of a `moz-widget`, placed in its `header` slot. @property {string} title - The heading text. @property {string} menuLabel - The accessible name of the menu button. Defaults to "More options". @property {string} menuId - The id of the `panel-list` the menu button opens when the `menu` slot is empty. Set by `moz-widget` from its `menu` slot. @slot leading - Content before the heading, such as a back button or badge. @slot trailing - Content at the end of the header. @slot menu - A `panel-list`. @csspart heading - The heading element. 3109 -
moz-widget.css 2035 -
moz-widget.mjs Hosts a self-contained, interactive widget for brief interactions. It clips embedded content to the bounds set by the `size` attribute. If `src` is set, the widget content is loaded in a `<browser>` child in chrome documents and an `<iframe>` in content documents. Otherwise the default slot is used. @property {string} widgetId - The widget's registered ID. @property {string} title - The widget's accessible name, taken off the host element. @property {string} size - `small`, `medium`, or `large`. Defaults to `large`. @property {boolean} padded - Insets the header and content. @property {string} menuLabel - The accessible name of the menu button drawn without a header. Defaults to "More options". @property {string} src - A widget document URL. @property {string} remoteType - The remote type a `<browser>` frame loads in. @property {number} browsingContextGroupId - The browsing context group a `<browser>` frame's initial load joins. @slot header - A `moz-widget-header` shown above the content. @slot menu - A `panel-list`, opened by the header's menu button, or by a menu button over the content without a header. @slot default - Widget content used when `src` is not set. 6895 -
moz-widget.stories.md 5728 -
moz-widget.stories.mjs 4341 -