Bootstrap

API zone

ZoneWrapper

class
Constructors
new ZoneWrapper

new ZoneWrapper(): ZoneWrapper

Returns

ZoneWrapper

Properties
insideNgZone

insideNgZone: Wrapper


insideNgZoneWrapFunctionsObject

insideNgZoneWrapFunctionsObject: Wrapper


outsideNgZone

outsideNgZone: Wrapper


outsideNgZoneWrapDirective

outsideNgZoneWrapDirective: Wrapper


outsideNgZoneWrapDirectivesObject

outsideNgZoneWrapDirectivesObject: Wrapper


outsideNgZoneWrapFunctionsObject

outsideNgZoneWrapFunctionsObject: Wrapper


planNgZoneRun

planNgZoneRun: () => void

Returns

void

Methods
ngZoneRun

ngZoneRun<T>(fn): T

Run the input function synchronously within the Angular zone

Type Parameters

T

Parameters

fn

a function to run

Returns

T

the value returned by the function