Method
presentPage
(
title: string,
componentCtor: ComponentConstructor<IComponent>,
navigationController: NavigationController,
)
Source from the content-addressed store, hash-verified
| 107 | this.renderButton('Page #2', Page2, navigationController); |
| 108 | this.renderButton('Page #3', Page3, navigationController); |
| 109 | } |
| 110 | |
| 111 | private presentPage( |
| 112 | title: string, |
| 113 | componentCtor: ComponentConstructor<IComponent>, |
| 114 | navigationController: NavigationController, |
| 115 | ): void { |
| 116 | navigationController.present(componentCtor, {}, {}); |
| 117 | } |
| 118 | |
Tested by
no test coverage detected