API Docs for:
Show:

Dialog Class

Defined in: ../src/dialog.js:3

Dialog

Constructor

Dialog

(
  • options
)

Defined in ../src/dialog.js:3

Parameters:

  • options Object

    useful options are { title, width, height, closable, on_close, scroll }

Item Index

Methods

add

()

add widget or html to the content of the dialog

adjustSize

(
  • margin
)

Adjust the size of the dialog to the size of the content

Parameters:

  • margin Number

close

()

destroys the dialog

hide

()

hides the dialog

show

()

shows a hidden dialog