export class MockApplicationRef
export class MockApplicationRef
exported from angular2/testing defined in angular2/src/mock/mock_application_ref.ts (line 7)
A no-op implementation of ApplicationRef
, useful for testing.
Annotations
@Injectable()
@Injectable()
Members
registerBootstrapListener(listener: (ref: ComponentRef) => void) : void
registerBootstrapListener(listener: (ref: ComponentRef) => void) : void
Not Yet Documented
registerDisposeListener(dispose: () => void) : void
registerDisposeListener(dispose: () => void) : void
Not Yet Documented
bootstrap(componentType: Type, bindings?: Array<Type | Provider | any[]>) : Promise<ComponentRef>
bootstrap(componentType: Type, bindings?: Array<Type | Provider | any[]>) : Promise<ComponentRef>
Not Yet Documented
injector : Injector
injector : Injector
Not Yet Documented
zone : NgZone
zone : NgZone
Not Yet Documented
dispose() : void
dispose() : void
Not Yet Documented
tick() : void
tick() : void
Not Yet Documented
componentTypes : Type[]
componentTypes : Type[]
Not Yet Documented