Constructors
constructor
- new DialogBuilder(name?): DialogBuilder
Methods
addButton
- addButton(button): this
Returns this
build
- build(): Dialog
setButtons
- setButtons(buttons): this
Returns this
setName
- setName(name): this
Returns this
setSeverity
- setSeverity(severity): this
Returns this
setText
- setText(text): this
Returns this
The DialogBuilder provides an easy to use interface for creating simple dialogs in consistent Nextcloud design
Example