Function script::dom::customelementregistry::get_callback
source ยท fn get_callback(
cx: JSContext,
prototype: HandleObject<'_>,
name: &CStr,
) -> Result<Option<Rc<Function>>, Error>
Expand description
https://html.spec.whatwg.org/multipage/#dom-customelementregistry-define
Step 14.4: Get callbackValue
for all callbackName
in lifecycleCallbacks
.