Пример #1
0
bool EventTarget::clearAttributeEventListener(const AtomicString& eventType)
{
    EventListener* listener = getAttributeEventListener(eventType);
    if (!listener)
        return false;
    return removeEventListener(eventType, *listener, false);
}
Пример #2
0
EventListener* MIDIAccess::onstatechange() {
  return getAttributeEventListener(EventTypeNames::statechange);
}
Пример #3
0
EventListener* MIDIInput::onmidimessage()
{
    return getAttributeEventListener(EventTypeNames::midimessage);
}
EventListener* AudioScheduledSourceNode::onended()
{
    return getAttributeEventListener(EventTypeNames::ended);
}