Page Contents
Home > @loopback/context > Binding > on
Binding.on() method
Signature:
on(event: string | symbol, listener: (...args: any[]) => void): this;
Parameters
Parameter | Type | Description |
---|---|---|
event | string | symbol | |
listener | (…args: any[]) => void |
Returns:
this