1.0.7 • Published 5 years ago

@venoid/admin-modal v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

Venoid Admin Modal Component

npm npm bundle size (scoped)

Modal component for your administration provides you good options how to show your modal with any content.

gif-example

Props

PropsTypeDefault
actionsArray[]Array of objects with options. Represent buttons in a footer.
activeBooleanfalseShows or hides modal.
close-buttonBooleantrueShows cross button at top right of an overlay.
headerString'Modal name'Text of a header.

action options

{
  label: 'Say hello' // String,
  onclick: () => { window.alert("Hello") }  // Function
}

Slots

Modal has just one slot (without name) for its content.

NamePurpose
--Put content of the modal body

Demo

To see demo run a project:

  1. Install npm dependencies
  2. Run with npm run serve / yarn serve
1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago