Key used in the 'state' dictionary to hold the human-readable title.
The addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
Optionaloptions: boolean | AddEventListenerOptionsThe dispatchEvent() method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order.
Construct initial state of the chooser from the rendered (static) HTML. State is either null (= no item chosen) or a dict of id, title and edit_url.
The result returned from the chooser modal (see get_chosen_response_data in wagtail.admin.views.generic.chooser.ChosenView) is a superset of this, and can therefore be passed directly to chooser.setState.
The removeEventListener() method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target.
Optionaloptions: boolean | EventListenerOptions
Key used in the 'state' dictionary to hold the URL of the edit page.