Creator Doc's

Element > Dialog

Displays a dialog using the dialog control and you can set the color and size.

Size

  • xs - 200px
  • sm - 384px
  • md - 622px
  • lg - 840px
  • xl - 1024px

<dialog class="dialog-antan-lg"></dialog>

JavaScript

The dialog's support the following events:
  • cmd:show
  • cmd:close

Example

<dialog id="TheDialog" class="dialog-funk-lg"> <content> <header> <span>Great Dialog</span> <i class="close-command"></i> </header> <div class="body"> My Dialog </div> <footer> <input type="button" class="ok-command" value="Ok" /> </footer> </content> </dialog>
Great Dialog
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.