Skip to content

Latest commit

 

History

History
66 lines (33 loc) · 770 Bytes

kit.domproxy.on.md

File metadata and controls

66 lines (33 loc) · 770 Bytes

Home > @holoflows/kit > DOMProxy > on

DOMProxy.on() method

Signature:

on(type: 'currentChanged', fn: (data: {
        new: ProxiedElement | null;
        old: ProxiedElement | null;
    }) => void): () => void;

Parameters

Parameter

Type

Description

type

'currentChanged'

fn

(data: { new: ProxiedElement | null; old: ProxiedElement | null; }) => void

**Returns:**

() => void