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 web.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 `web.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`
(dispatch-event this event)
Method.
Dispatches an web.Event
at the specified web.EventTarget
,
invoking the affected web.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.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.
The element read-only property of the 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. The element read-only property of the `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`
(remove-event-listener this & args)
Method.
The EventTarget.removeEventListener() method removes from the
an event listener previously registered with web.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 `web.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`
(set-element! this val)
Property.
The element read-only property of the 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. The element read-only property of the `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`
(set-type! this val)
Property.
The type read-only property of the css.CSSPseudoElement
interface
the type of the pseudo-element as a string, represented in the
of a CSS selector.
var typeOfPseudoElement = cssPseudoElement.type;
See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSPseudoElement/type
Property. The type read-only property of the `css.CSSPseudoElement` interface the type of the pseudo-element as a string, represented in the of a CSS selector. `var typeOfPseudoElement = cssPseudoElement.type;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/CSSPseudoElement/type`
(type this)
Property.
The type read-only property of the css.CSSPseudoElement
interface
the type of the pseudo-element as a string, represented in the
of a CSS selector.
var typeOfPseudoElement = cssPseudoElement.type;
See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSPseudoElement/type
Property. The type read-only property of the `css.CSSPseudoElement` interface the type of the pseudo-element as a string, represented in the 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