import FullScreenModalTemplate from '~/controllers/FullScreenModalController.js'FullScreenModalTemplate
Extends:
Controls a 'FullScreenModalTemplate' which is used for things like answer UI.
Constructor Summary
| Public Constructor | ||
| public |
constructor(parent: Element) Creates empty instance |
|
Member Summary
| Public Members | ||
| public |
activeNode: Node The node of the template |
|
| public |
The Active template |
|
| public |
parent: Element Parent node |
|
Method Summary
| Public Methods | ||
| public |
Hides |
|
| public |
async present(template: FullScreenModalTemplate, opts: Object) Presents |
|
Inherited Summary
| From class ViewController | ||
| public static |
Creates a view controller directly for all members of a class. |
|
| public static |
of(elem: string | Element): ViewController Returns a canolical VC of an element if it exists |
|
Public Constructors
public constructor(parent: Element) source
Creates empty instance
Override:
ViewController#constructorParams:
| Name | Type | Attribute | Description |
| parent | Element |
Public Members
Public Methods
public async present(template: FullScreenModalTemplate, opts: Object) source
Presents
Params:
| Name | Type | Attribute | Description |
| template | FullScreenModalTemplate | ||
| opts | Object |
|
|
| opts.animated | boolean |
|
If to animate transition |
