new ObservableEvent()
Creates a new event with the specified name.
constructor(
name: string,
source: TSource,
data?: TData,
inner?: ObservableEvent,
noPropagation?: boolean,
);
Parameters
- name — The name of the event
- source — Observable object that will emit the event
- data — Object that contains further details about the specific event
- inner — Encapsulated event, if any (propagated)
- noPropagation — True if the event should not be propagated
Related
class ObservableEvent
An object that represents an event, to be emitted on an ObservableObject.
