@yesstudio/nuxt-composables
    Preparing search index...

    Interface Meta

    From T, pick a set of properties whose keys are in the union K

    interface Meta {
        charset?: string & Record<never, never> | "utf-8";
        content?: Stringable;
        "http-equiv"?:
            | "content-security-policy"
            | "content-type"
            | "default-style"
            | "refresh"
            | "x-ua-compatible"
            | string & Record<never, never>
            | "accept-ch";
        id?: string;
        media?:
            | string & Record<never, never>
            | "(prefers-color-scheme: light)"
            | "(prefers-color-scheme: dark)";
        name?: MetaNames | string & Record<never, never>;
        property?: string & Record<never, never> | MetaProperties;
    }

    Hierarchy (View Summary)

    Index

    Properties

    charset?: string & Record<never, never> | "utf-8"

    This attribute declares the document's character encoding. If the attribute is present, its value must be an ASCII case-insensitive match for the string "utf-8", because UTF-8 is the only valid encoding for HTML5 documents. <meta> elements which declare a character encoding must be located entirely within the first 1024 bytes of the document.

    content?: Stringable

    This attribute contains the value for the http-equiv or name attribute, depending on which is used.

    "http-equiv"?:
        | "content-security-policy"
        | "content-type"
        | "default-style"
        | "refresh"
        | "x-ua-compatible"
        | string & Record<never, never>
        | "accept-ch"

    Defines a pragma directive. The attribute is named http-equiv(alent) because all the allowed values are names of particular HTTP headers.

    id?: string

    The id global attribute defines a unique identifier (ID) which must be unique in the whole document.

    media?:
        | string & Record<never, never>
        | "(prefers-color-scheme: light)"
        | "(prefers-color-scheme: dark)"

    A valid media query list that can be included to set the media the theme-color metadata applies to.

    name?: MetaNames | string & Record<never, never>

    The name and content attributes can be used together to provide document metadata in terms of name-value pairs, with the name attribute giving the metadata name, and the content attribute giving the value.

    property?: string & Record<never, never> | MetaProperties

    The property attribute is used to define a property associated with the content attribute.

    Mainly used for og and twitter meta tags.