map.apps Bundle APIs 4.20.0
    Preparing search index...

    Interface NodeProperties

    Configuration of a new node's properties

    interface NodeProperties {
        attrs?: Record<string, string>;
        class?: CssClasses;
    }
    Index

    Properties

    Properties

    attrs?: Record<string, string>

    Attributes to be applied to the new html node. Note: all values will be converted to strings, because this is a wrapper around node.setAttribute().

    class?: CssClasses

    CSS classes for the new html node. Can be either a string or an array of strings.