logo

/Floating Layer|v2.1.2

Class

new FloatingLayer(container, object)floatingLayer.jsline 56

PARAMETERS
NameTypeDescription

container

[ HTMLElement ]

base container element

object

[ object ]

options for FloatingLayer

EXAMPLES

CommonJS entry

var FloatingLayer = require('tui-floating-layer');
var instance = new FloatingLayer(document.querySelector'#f1');

global namespace

var layer = new tui.FloatingLayer(document.querySelector('#fl'));

Instance Methods

destroy()floatingLayer.jsline 162

Destructor

focus()floatingLayer.jsline 191

Set focus to layer

hide()floatingLayer.jsline 219

Hide layer

show()floatingLayer.jsline 207

Show layer

Resizable