Skip to main content

Event

interface

Represents a typed event. A function that represents an event to which you subscribe by calling it with a listener function as argument.

interface Event<T>

Import

import { Event } from '@modular/sdk/view';

Notes

example
item.onDidChange(function(event) { console.log("Event happened: " + event); });