[]previous and next page

HeadAttributeProps

Props of Meta, Link and Base: every prop is an attribute, and a function value is read reactively.

Props of Meta, Link and Base: every prop is an attribute, and a function value is read reactively.

Import#

ts
import type { HeadAttributeProps } from "@shadow-js/web";

Signature#

ts
interface HeadAttributeProps {
  /**
   * One attribute of the tag. A string or number is written as text, `true` as an empty attribute,
   * and `false`, `null` or `undefined` omit it. Any other value throws a TypeError.
   */
  readonly [attribute: string]: unknown;
}