This feature is experimental. It may be changed or removed in a future version.
This layer's context.
You may access the context properties like a regular JavaScript object.
let layer = up.layer.current
layer.context.message = 'Please select a contact'
console.log(layer.context) // logs "{ message: 'Please select a contact' }"
The context object. If no context has been set an empty object is returned.