ContextEvent.(constructor)
@microsoft/fast-element/context.js > ContextEvent > (constructor)
ContextEvent.(constructor)
Constructs a new instance of the ContextEvent
class
Signature:
constructor(context: T, callback: ContextCallback<ContextType<T>>, multiple?: boolean | undefined);
Parameters
Parameter | Type | Description |
---|---|---|
context | T | |
callback | ||
multiple | boolean | undefined | (Optional) |