facy - v0.1.0
    Preparing search index...

    Class StylableTag<T>

    Subclass of ElementTag that allows setting CSS properties.

    Type Parameters

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Sets a single style property with the given name and optionally reactive value. Overriding an existing property discards the previous one.

      The value may be a string or a number, which is converted to a string for you. For spatial properties (e.g. margin, padding,...) an object with the shape ExtendedSpacingProperties may also be used. For gap, this is restricted to BasicSpacingProperties.

      To remove a property, set it to '', null or undefined.

      Type Parameters

      Parameters

      Returns this