Edit this page

up.layer up.layer.affix(element, selector, attrs)
JavaScript function

This feature is experimental. It may be changed or removed in a future version.

Creates an element with the given selector and appends it to the current layer's outmost element.

This is a shortcut for up.layer.current.affix(selector). See up.Layer#affix for more documentation.

Parameters

element Element
selector string
attrs Object