This feature is experimental. Please share your experiences so we know what to keep or change.
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.