import PostButtonViewController from '~/controllers/PostButtonViewController.js'
PostButtonViewController
Extends:
ViewController → PostButtonViewController
Direct Subclass:
Controls loading sign etc. for an action button on a post
Constructor Summary
Public Constructor | ||
public |
constructor(button: HTMLElement) Creates for a button |
Member Summary
Public Members | ||
public set |
Sets the loading state |
|
public get |
|
|
public set |
Sets the loading state |
|
public get |
|
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(button: HTMLElement) source
Creates for a button
Override:
ViewController#constructorParams:
Name | Type | Attribute | Description |
button | HTMLElement |