CommentViewController
Extends:
ViewController → CommentViewController
Why be smart and use a view controller when you can make your code look like you use React
Constructor Summary
Public Constructor | ||
public |
constructor(element: HTMLElement, comment: Comment) Create comment given element use CommentTemplate and get node. |
Member Summary
Public Members | ||
public |
|
|
public |
commentNode: HTMLElement Node wrapping comment |
|
public |
|
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(element: HTMLElement, comment: Comment) source
Create comment given element use CommentTemplate and get node.
Override:
ViewController#constructorParams:
Name | Type | Attribute | Description |
element | HTMLElement | ||
comment | Comment | The current comment |