import EditAnswerViewController from '~/controllers/EditAnswerViewController.js'
EditAnswerViewController
Extends:
ViewController → PostButtonViewController → EditAnswerViewController
Constructor Summary
Public Constructor | ||
public |
constructor(o: Object) |
Member Summary
Public Members | ||
public |
|
|
public |
|
|
public |
|
|
public |
|
Method Summary
Public Methods | ||
public |
Submits edits |
|
public |
async trigger() Open editor |
|
public |
Close editor |
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 |
From class PostButtonViewController | ||
public get |
|
|
public set |
Sets the loading state |
|
public get |
|
|
public set |
Sets the loading state |
Public Constructors
public constructor(o: Object) source
Creates for a button
Override:
PostButtonViewController#constructorParams:
Name | Type | Attribute | Description |
o | Object | options |
|
o.trigger | HTMLElement | Trigger for deletion |
|
o.answerController | AnswerViewController | the controller for the answer |