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

    Interface HtmlAttributes

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

    interface HtmlAttributes {
        class?: Stringable;
        dir?: "auto" | "ltr" | "rtl";
        id?: string;
        lang?: string;
        prefix?: string & Record<never, never> | "og: https://ogp.me/ns#";
        style?: string;
        translate?: "" | "yes" | "no";
        xmlns?: string;
        [key: `xmlns:${string}`]: string;
    }

    Hierarchy (View Summary)

    Indexable

    Index

    Properties

    class?: Stringable

    A space-separated list of the classes of the element. Classes allows CSS and JavaScript to select and access specific elements via the class selectors or functions like the method Document.getElementsByClassName().

    dir?: "auto" | "ltr" | "rtl"

    An enumerated attribute indicating the directionality of the element's text.

    id?: string

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

    lang?: string

    Helps define the language of an element: the language that non-editable elements are in, or the language that editable elements should be written in by the user.

    prefix?: string & Record<never, never> | "og: https://ogp.me/ns#"

    Open-graph protocol prefix.

    style?: string

    Contains CSS styling declarations to be applied to the element.

    translate?: "" | "yes" | "no"

    An enumerated attribute that is used to specify whether an element's attribute values and the values of its Text node children are to be translated when the page is localized, or whether to leave them unchanged.

    xmlns?: string

    XML namespace