Class: Dialog

H5P. Dialog

new Dialog(name, title, content, $element)

Creates a new popup dialog over the H5P content.
Parameters:
Name Type Description
name string Used for html class.
title string Used for header.
content string Displayed inside the dialog.
$element H5P.jQuery Which DOM element the dialog should be inserted after.

Methods

close()

Closes the dialog.

open()

Opens the dialog.
Documentation generated by JSDoc 3.4.3 on 2017-02-07T13:45:43+01:00