1.4.0 • Published 5 months ago

@humblejs/modal v1.4.0

Weekly downloads
4
License
Apache-2.0
Repository
-
Last release
5 months ago

Modal

Demo

Install

yarn add @humblejs/modal

Props

NameType / DescriptionIs Required?Default
titlestringNOnull
onCancelfuncTriggers when dialog is cancelled. This function is triggered when close button is clicked, escape key is pressed or clicked outside the dialog. Usually you will set isOpen to false in the parentYES
hasCloseButtonboolWhether there is close button or not. This button calls onCancelNOtrue
isOpenboolWhether modal is open or not, usually you will set it from parent's stateNOfalse
fullScreenboolWhether modal is full screen or notNOfalse
transitionTypeone of slide appearNOappear
1.4.0

5 months ago

1.3.19

1 year ago

1.3.18

2 years ago

1.3.14

3 years ago

1.3.15

3 years ago

1.3.16

3 years ago

1.3.13

3 years ago

1.3.10

3 years ago

1.3.9

3 years ago

1.3.8

3 years ago

1.3.7

3 years ago

1.3.11

3 years ago

1.3.12

3 years ago

1.3.6

4 years ago

1.3.3

4 years ago

1.3.0

4 years ago

1.2.27

4 years ago