Edit this page

up.layer up.layer.emit(eventType, [props])
JavaScript function

Emits an event on the current layer's element.

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

Parameters

eventType string
[props={}] Object optional