The CSSPseudoElement interface represents a pseudo-element that
be the target of an event or animated using the Web Animations
Instances of this interface may be obtained by calling Element.pseudo()
.
The CSSPseudoElement interface represents a pseudo-element that be the target of an event or animated using the Web Animations Instances of this interface may be obtained by calling `Element.pseudo()`.
(add-event-listener this & args)
Method.
The web.EventTarget
method addEventListener() sets up a function
will be called whenever the specified event is delivered to the
target.addEventListener(type, listener[, options]); target.addEventListener(type, listener[, useCapture]); target.addEventListener(type, listener[, useCapture, wantsUntrusted ]); // Gecko/Mozilla only
See also: https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener
Method. The `web.EventTarget` method addEventListener() sets up a function will be called whenever the specified event is delivered to the `target.addEventListener(type, listener[, options]); target.addEventListener(type, listener[, useCapture]); target.addEventListener(type, listener[, useCapture, wantsUntrusted ]); // Gecko/Mozilla only` See also: `https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener`
(animate this & args)
Method.
A shortcut method to create and run an animation on a pseudo-element. the created Animation object instance.
Method. A shortcut method to create and run an animation on a pseudo-element. the created Animation object instance.
(dispatch-event this event)
Method.
Dispatches an web.Event
at the specified web.EventTarget
,
invoking the affected web.other.EventListener
s in the appropriate
The normal event processing rules (including the capturing and
bubbling phase) also apply to events dispatched manually with
cancelled = !target.dispatchEvent(event)
See also: https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/dispatchEvent
Method. Dispatches an `web.Event` at the specified `web.EventTarget`, invoking the affected `web.other.EventListener`s in the appropriate The normal event processing rules (including the capturing and bubbling phase) also apply to events dispatched manually with `cancelled = !target.dispatchEvent(event)` See also: `https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/dispatchEvent`
(element this)
Property.
[Read Only] [Experimental]
The element read-only property of the web.css.CSSPseudoElement
returns a reference to the originating element of the pseudo-element,
other words its parent element.
var originatingElement = cssPseudoElement.element;
See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSPseudoElement/element
Property. [Read Only] [Experimental] The element read-only property of the `web.css.CSSPseudoElement` returns a reference to the originating element of the pseudo-element, other words its parent element. `var originatingElement = cssPseudoElement.element;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/CSSPseudoElement/element`
(get-animations this & args)
Method.
Returns an array of Animation objects currently active on the
Method. Returns an array of Animation objects currently active on the
(remove-event-listener this & args)
Method.
The EventTarget.removeEventListener() method removes from the
an event listener previously registered with EventTarget.addEventListener()
.
event listener to be removed is identified using a combination
the event type, the event listener function itself, and various
options that may affect the matching process; see Matching event
for removal
target.removeEventListener(type, listener[, options]); target.removeEventListener(type, listener[, useCapture]);
See also: https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener
Method. The EventTarget.removeEventListener() method removes from the an event listener previously registered with `EventTarget.addEventListener()`. event listener to be removed is identified using a combination the event type, the event listener function itself, and various options that may affect the matching process; see Matching event for removal `target.removeEventListener(type, listener[, options]); target.removeEventListener(type, listener[, useCapture]);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener`
(type this)
Property.
[Read Only] [Experimental]
The type read-only property of the web.css.CSSPseudoElement
returns the type of the pseudo-element as a string, represented
the form of a CSS selector.
var typeOfPseudoElement = cssPseudoElement.type;
See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSPseudoElement/type
Property. [Read Only] [Experimental] The type read-only property of the `web.css.CSSPseudoElement` returns the type of the pseudo-element as a string, represented the form of a CSS selector. `var typeOfPseudoElement = cssPseudoElement.type;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/CSSPseudoElement/type`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close