A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/dom/TransitionEvent/initTransitionEvent below:

initTransitionEvent · WebPlatform Docs

initTransitionEvent Summary

Initializes a transition event created using the deprecated Document.createEvent(“TransitionEvent”) method.

Method of dom/TransitionEventdom/TransitionEvent

Syntax
var object = object.initTransitionEvent();
Parameters typeArg
Data-type
any

Specifies the event type.

canBubbleArg
Data-type
any

Specifies whether or not the event can bubble.

cancelableArg
Data-type
any

Specifies whether or not the event’s default action can be prevented. Since a TransitionEvent is purely for notification, there is no default action.

propertyNameArg
Data-type
any

Specifies the name of the property associated with the Event.

elapsedTimeArg
Data-type
any

Specifies the amount of time, in seconds, the transition has been running at the time of initialization.

Return Value

Returns an object of type DOM NodeDOM Node

Type: HRESULT

This method can return one of these values.

S_OK

Usage
 Used to initialize the value of a TransitionEvent.

Note: this method has been dropped during the standard process. It has been deprecated and is in the progress of been removed from most implementation. Do not use it anymore, use the standard constructor, TransitionEvent(), to create a synthetic TransitionEvent

Notes Remarks

This method is used to initialize the value of a TransitionEvent. This method may only be called before the TransitionEvent has been dispatched via the dispatchEvent method, though it may be called multiple times during that phase if necessary. If called multiple times, the final invocation takes precedence.

Syntax

var retval = transitionEvent.initTransitionEvent(typeArg, canBubbleArg, cancelableArg, propertyNameArg, elapsedTimeArg);

Attributions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4