mirror of
https://github.com/servo/servo.git
synced 2025-06-13 19:04:30 +00:00
Fix documentation links for EventTarget
This commit is contained in:
parent
f00532bab0
commit
c3f73b36e1
1 changed files with 2 additions and 2 deletions
|
@ -330,13 +330,13 @@ impl EventTarget {
|
|||
!self.handlers.borrow().is_empty()
|
||||
}
|
||||
|
||||
/// Implements https://html.spec.whatwg.org/multipage/#fire-a-simple-event
|
||||
// https://html.spec.whatwg.org/multipage/#fire-a-simple-event
|
||||
pub fn fire_simple_event(&self, name: &str, win: GlobalRef) -> Root<Event> {
|
||||
self.fire_event(name, EventBubbles::DoesNotBubble,
|
||||
EventCancelable::NotCancelable, win)
|
||||
}
|
||||
|
||||
/// Implements more customizable variant of EventTarget::fire_simple_event.
|
||||
// https://dom.spec.whatwg.org/#concept-event-fire
|
||||
pub fn fire_event(&self, name: &str,
|
||||
bubbles: EventBubbles,
|
||||
cancelable: EventCancelable,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue