import ProgressButtonController from '~/controllers/ProgressButtonController.js'ProgressButtonController
Extends:
ViewController → ProgressButtonController
Direct Subclass:
Indirect Subclass:
Sets an existing .button to progress
Constructor Summary
| Public Constructor | ||
| public |
constructor(saveButton: HTMLElement) Creates a button to wrap the thing |
|
Member Summary
| Public Members | ||
| public |
button: HTMLElement |
|
| public |
buttonChildren: HTMLElement[] |
|
| public |
|
|
| public |
|
|
Method Summary
| Public Methods | ||
| public |
setLoadingState(isLoading: Boolean) Sets into a loading state |
|
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(saveButton: HTMLElement) source
Creates a button to wrap the thing
Override:
ViewController#constructorParams:
| Name | Type | Attribute | Description |
| saveButton | HTMLElement | The element with desired default children. |
