GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing next.angular.dev — EventEmitter • Angular Emits an event containing a given value. @paramvalue T | undefinedThe value to emit. @returns voidRegisters handlers for events emitted by this instance. @paramnext ((value: T) => void) | undefinedWhen supplied, a custom handler for emitted events. @paramerror ((error: any) => void) | undefinedWhen supplied, a custom handler for an error notification from this emitter. @paramcomplete (() => void) | undefinedWhen supplied, a custom handler for a completion notification from this emitter. @returns SubscriptionRegisters handlers for events emitted by this instance. @paramobserverOrNext anyWhen supplied, a custom handler for emitted events, or an observer object. @paramerror anyWhen supplied, a custom handler for an error notification from this emitter. @paramcomplete anyWhen supplied, a custom handler for a completion notification from this emitter. @returns SubscriptionUsage NotesExtends
RxJS In the following example, a component defines two output properties that create event emitters. When the title is clicked, the emitter emits an open or close event to toggle the current visibility state.
Access the event object with the
|
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |