@nextcloud/dialogs
    Preparing search index...

    Interface StylePropertyMap

    The StylePropertyMap interface of the CSS Typed Object Model API provides a representation of a CSS declaration block that is an alternative to CSSStyleDeclaration.

    MDN Reference

    interface StylePropertyMap {
        size: number;
        append(property: string, ...values: (string | CSSStyleValue)[]): void;
        clear(): void;
        delete(property: string): void;
        forEach(
            callbackfn: (
                value: CSSStyleValue[],
                key: string,
                parent: StylePropertyMapReadOnly,
            ) => void,
            thisArg?: any,
        ): void;
        get(property: string): undefined | CSSStyleValue;
        getAll(property: string): CSSStyleValue[];
        has(property: string): boolean;
        set(property: string, ...values: (string | CSSStyleValue)[]): void;
    }

    Hierarchy (View Summary)

    Index

    Properties

    size: number

    The size read-only property of the containing the size of the StylePropertyMapReadOnly object.

    MDN Reference

    Methods

    • The append() method of the StylePropertyMap with the given property.

      MDN Reference

      Parameters

      Returns void

    • The clear() method of the StylePropertyMap interface removes all declarations in the StylePropertyMap.

      MDN Reference

      Returns void

    • The delete() method of the property.

      MDN Reference

      Parameters

      • property: string

      Returns void

    • The has() method of the property is in the StylePropertyMapReadOnly object.

      MDN Reference

      Parameters

      • property: string

      Returns boolean

    • The set() method of the StylePropertyMap interface changes the CSS declaration with the given property.

      MDN Reference

      Parameters

      Returns void