Constructor Summary
Public Constructor | ||
public |
constructor(answer: HTMLElement, answerId: number) |
Member Summary
Public Members | ||
public get |
|
|
public get |
body: HTMLElement Gets the node where the body is |
|
public get |
byteCount: HTMLElement Returns the byte count element. |
|
public set |
Sets the byte count. |
|
public |
|
|
public |
|
|
public get |
Gets if deleted or no. |
|
public set |
Sets if deleted or no. |
|
public |
|
Method Summary
Public Methods | ||
public |
Sets the answer. |
|
public |
Sets the code |
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(answer: HTMLElement, answerId: number) source
Override:
ViewController#constructorParams:
Name | Type | Attribute | Description |
answer | HTMLElement | ||
answerId | number |
Public Members
public get byteCount: HTMLElement source
Returns the byte count element. For the value use .answer.length
public deletionController: DeleteItemViewController source
public editAnswerController: EditAnswerViewController source
public set isDeleted: boolean source
Sets if deleted or no. This does NOT affect the model use a Request.