Class Modal
- All Implemented Interfaces:
Attachable, ElementAttributeMethods<HTMLElement, Modal>, ElementClassListMethods<HTMLElement, Modal>, ElementConsumerMethods<HTMLElement, Modal>, ElementContainerMethods<HTMLElement, Modal>, ElementEventMethods<HTMLElement, Modal>, ElementIdMethods<HTMLElement, Modal>, ElementQueryMethods<HTMLElement>, HTMLElementAttributeMethods<HTMLElement, Modal>, HTMLElementDataMethods<HTMLElement, Modal>, HTMLElementStyleMethods<HTMLElement, Modal>, HTMLElementVisibilityMethods<HTMLElement, Modal>, IsElement<HTMLElement>, TypedBuilder<HTMLElement, Modal>, Closeable<HTMLElement, Modal>, Component
public class Modal
extends ComponentDelegate<HTMLElement, Modal>
implements Attachable, Closeable<HTMLElement, Modal>
A modal displays important information to a user without requiring them to navigate to a new page.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionadd(ModalFooter footer) add(ModalHeader header) addFooter(ModalFooter footer) addHeader(ModalHeader header) appendTo(HTMLElement element) voidattach(MutationRecord mutationRecord) autoClose(boolean autoClose) body()voidcloseOnEsc(boolean closeOnEsc) static Modalmodal()onClose(CloseHandler<Modal> closeHandler) voidopen()that()top()Methods inherited from class ComponentDelegate
componentType, elementMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Attachable
detachMethods inherited from interface ElementAttributeMethods
aria, aria, aria, attr, attr, attr, role, roleMethods inherited from interface ElementClassListMethods
classList, classList, css, toggle, toggle, toggleMethods inherited from interface ElementConsumerMethods
apply, runMethods inherited from interface ElementContainerMethods
add, add, add, add, addAll, addAll, addAll, addAll, addAll, addAllMethods inherited from interface ElementEventMethods
on, on, onMethods inherited from interface ElementIdMethods
id, uniqueIdMethods inherited from interface ElementQueryMethods
closest, querySelector, querySelectorAllMethods inherited from interface HTMLElementAttributeMethods
titleMethods inherited from interface HTMLElementDataMethods
data, dataMethods inherited from interface HTMLElementVisibilityMethods
hidden
-
Method Details
-
modal
-
attach
- Specified by:
attachin interfaceAttachable
-
appendToBody
-
appendTo
-
addHeader
-
addHeader
-
add
-
addBody
-
add
-
addWizard
-
add
-
closeOnEsc
-
autoClose
-
hideClose
-
maxWidth
-
size
-
top
-
width
-
that
- Specified by:
thatin interfaceTypedBuilder<HTMLElement, Modal>
-
onClose
- Specified by:
onClosein interfaceCloseable<HTMLElement, Modal>
-
open
public void open() -
close
- Specified by:
closein interfaceCloseable<HTMLElement, Modal>
-
body
-