Skip to content

injectElements

The elements group the enclosing <pesepay-elements> created, as a signal. null while Pesepay loads and during server rendering. Read an element off it to pay with: elements()?.getElement("card"). Call it in an injection context, such as a constructor or a field initialiser.

export declare function injectElements(): Signal<Elements$1 | null>;