The “load” event
scrivito.on('load', callback: Function) --> undefined
The load
event invokes the callback
function after the in-place editing UI has been completely loaded and is fully available. This can be used for adding custom functionality such as individual editors for CMS object attributes to pages. For detecting whether a page is potentially modifyable, use scrivito.in_editable_view()
: