Class: Window

vef.ui.Window(target, options)

Basic Window Popup Class for tools options = { top: absolute top position in pixel left: absolute left position in pixel pointerEvent: Use pointer event for window position height: in pixel width: in pixel title: string content: HTML-sting or HTML-element open: boolean, open window direcly after creating, responsive: boolean, fullscreen on small screens draggable: boolean, enable drag move, mode: slim / default }

Constructor

new Window(target, options)

Parameters:
Name Type Description
target HTMLElement | string default is document.body
options object
Author:
Source:

Methods

center()

Centers the window globally in the browsers frame
Source:

close()

Hide the window by removing it from the parent
Source:

disableDragMove()

disable moving the window with the mouse
Source:

dispose()

dispose the Window
Source:

enableDragMove()

enable moving the window with the mouse
Source:

initElement_()

{TITLE}
{CONTENT}
Source:

open()

Show the window by adding it to the parent
Source:

setContent(title)

Change the content of the window
Parameters:
Name Type Description
title string | HTMLElement
Source:

setOptions(options)

Update the options of the window
Parameters:
Name Type Description
options object
Source:

setTitle(title)

Change the title in the header
Parameters:
Name Type Description
title string
Source: