import DeleteCommentViewController from '~/controllers/DeleteCommentViewController.js'
Constructor Summary
Public Constructor | ||
public |
constructor(trigger: HTMLElement, commentController: CommentViewController) |
Member Summary
Public Members | ||
public |
|
|
public |
|
Method Summary
Public Methods | ||
public |
async trigger() Triggers the delete process. |
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(trigger: HTMLElement, commentController: CommentViewController) source
Override:
ViewController#constructorParams:
Name | Type | Attribute | Description |
trigger | HTMLElement | The delete button trigger |
|
commentController | CommentViewController |