Class: ProxyEvent<Data>
Defined in: src/events/ProxyEvent.ts:8
Represents an event triggered by a proxy.
Extends
Type Parameters
• Data = unknown
Implements
ProxyEvent
<Data
>
Constructors
new ProxyEvent()
new ProxyEvent<
Data
>(name
,options
?):ProxyEvent
<Data
>
Defined in: src/events/ProxyEvent.ts:26
Creates an instance of the ProxyEvent
.
This constructor initializes the event with the name prefixed by proxy.
Parameters
name
The name of the proxy event.
options?
Options to configure the event.
data
Data
The data associated with the event.
target
The proxy of the event.
Returns
ProxyEvent
<Data
>
Example
const proxyEvent = new ProxyEvent('get', { target: proxy, data: "example" });
Overrides
Properties
cancelable
readonly
cancelable:true
Defined in: src/events/ProxyEvent.ts:12
Indicates whether the event is cancelable.
Implementation of
nx.ProxyEvent.cancelable