SwappingViewController
Extends:
ViewController → SwappingViewController
Allows swapping between two views
Constructor Summary
Public Constructor | ||
public |
constructor(source: HTMLElement) |
Method Summary
Public Methods | ||
public |
displayAlternate(alternate: Template): HTMLElement Swaps to an alternate view |
|
public |
Shows the original view |
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(source: HTMLElement) source
Override:
ViewController#constructorParams:
Name | Type | Attribute | Description |
source | HTMLElement | The original HTML element |