0.1.8 • Published 9 months ago

@phase2/outline-modal v0.1.8

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
9 months ago

outline-modal

The Outline Modal component

Properties

PropertyAttributeTypeDefaultDescription
close() => void
elementToFocusSelectorelementToFocusSelectorstring \| undefined
isOpenbooleanfalse
open() => void
shouldForceActionshouldForceActionbooleanfalseIf we force the user to take an action, the consumer must provide a way to close the modal on their own.
sizesize"small" \| "medium" \| "full-screen" \| undefined"medium"

Methods

MethodType
close(): Promise<void>
open(): Promise<void>

Events

Event
closed
opened

Slots

NameDescription
defaultThe modal contents
outline-modal--accessibility-descriptionThe accessibility description which is used by screen readers.
outline-modal--headerThe header in the modal
outline-modal--triggerThe trigger for the modal
0.1.8

9 months ago

0.1.7

9 months ago

0.1.6

10 months ago

0.1.5

10 months ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.0

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.4

2 years ago

0.0.1

2 years ago