Nude Element API Docs - v0.1.3
    Preparing search index...
    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    "": any
    host: any

    Accessors

    Methods

    • Assign a child to a slot while preserving all other assigned nodes Only for manual assignment

      Parameters

      • child: Node
      • slotName: string = child.slot

      Returns HTMLSlotElement

      The slot that was assigned to, or null if the slot is not found

    • Update the slot reference

      Parameters

      • slotName: string = ""

      Returns HTMLSlotElement

      The slot, or null if the slot is not found