Properties
Readonly
application
application: Application
Accessors
currentPage
- get currentPage(): PageEvent<Reflection>
-
Returns PageEvent<Reflection>
currentReflection
- get currentReflection(): Reflection
-
Returns Reflection
hasCurrent
- get hasCurrent(): boolean
-
Returns boolean
initialized
- get initialized(): boolean
-
Returns boolean
Methods
fakeWrapPage
- fakeWrapPage<T, Model>(pageOrModel: Model | PageEvent<Model>, callback: (() => T)): T
-
Type Parameters
-
T
-
Model extends Reflection<Model>
Parameters
-
pageOrModel: Model | PageEvent<Model>
-
callback: (() => T)
Returns T
initialize
- initialize(): void
-
Returns void
Set the current page as being the pageOrModel while running the callback. The current page is restored afterwards no matter what.
Returns
the callback return value.