campfire.js
    Preparing search index...

    Function extend

    • Takes an existing element and modifies its properties. Refer ElementProperties documentation for details on what can be changed.

      Type Parameters

      • T extends HTMLElement
      • D extends Record<string, Store<any>>

      Parameters

      • elt: T

        The element to modify.

      • args: ElementProperties<T, D> = {}

        Properties to set on the element.

      Returns [T, ...HTMLElement[]]