Search completed in 1.33 seconds.
14 results for "domtimestamp":
DOMTimeStamp - Web APIs
Web › API › DOMTimeStamp
The DOMTimeStamp type represents an absolute or relative number of milliseconds, depending on the specification in which it appears. Specifications Specification Status Comment Web IDLThe definition of 'DOMTimeStamp' in that specification. Candidate Recommendation Initial specification ...
Index - Web APIs
Web › API › Index
degrees. 673 Coordinates.longitude API, Coordinates, GPS, Geolocation, Geolocation API, Global Positioning System, Property, Read-only, Reference, Secure context, longitude The Coordinates interface's read-only longitude property is a double-precision floating point value which represents the longitude of a geographical position, specified in decimal degrees. Together with a DOMTimeStamp indicating a time of measurement, the Coordinates object is part of the Position interface which is the object type returned by Geolocation API functions that obtain and return a geographical position. 674 Coordinates.speed API, Coordinates, Geolocation API, Property, Secure context, speed The Coordinates.speed read-only property is a double representing the velocity of the d...
...ated using two bytes as the unit. 764 DOMStringList API, DOM, DOMStringList, Reference A type returned by some APIs which contains a list of DOMString (strings). 765 DOMStringMap API, HTML DOM, Interface, NeedsMarkupWork, NeedsNewLayout, NeedsUpdate, Reference Used by the attribute to represent data for custom attributes added to elements. 766 DOMTimeStamp API, DOM, Interface, Reference The DOMTimeStamp type represents an absolute or relative number of milliseconds, depending on the specification in which it appears. 767 DOMTokenList API, DOM, DOMTokenList, Interface, Reference The DOMTokenList interface represents a set of space-separated tokens. Such a set is returned by Element.classList, HTMLLinkElement.relList, H...
...ation, Notifications, Property, Reference, tag The tag read-only property of the Notification interface signifies an identifying tag for the notification, as specified in the tag option of the Notification() constructor. 2784 Notification.timestamp API, Notifications, Property, Reference, timeStamp The timestamp read-only property of the Notification interface returns a DOMTimeStamp, as specified in the timestamp option of the Notification() constructor. 2785 Notification.title API, Notifications, Property, Reference, Title The title read-only property of the Notification interface indicates the title of the notification, as specified in the title parameter of the Notification() constructor. 2786 Notification.vibrate API, Device The ...
...a geographic attitude: it contains the location, that is longitude and latitude on the Earth, the altitude, and the speed of the object concerned, regrouped inside the returned value. It also contains accuracy information about these values. 3115 Position.timestamp API, Geolocation API, Position, Property, Secure context, timeStamp The Position.timestamp read-only property, a DOMTimeStamp object, represents the date and the time of the creation of the Position object it belongs to. The precision is to the millisecond. 3116 PositionError API, Geolocation API, Interface, PositionError, Secure context The PositionError interface represents the reason of an error occurring when using the geolocating device. 3117 PositionError.code API, Code, Geoloca...
Choosing the right approach - Learn web development
Learn › JavaScript › Asynchronous › Choosing the right approach
efox Full support 23Notes Full support 23Notes Notes Callback parameter is a DOMHighResTimestamp. This means ten microsecond precision and zero time as performance.now(). No support 11 -- 42Prefixed Notes Prefixed Implemented with the vendor prefix: mozNotes Callback parameter is a DOMTimestamp. This means millisecond precision and zero time as Date.now(). No support 4 -- 11Prefixed Notes Prefixed Implemented with the vendor prefix: mozNotes Could be called with no input parameters.IE Full support 10Opera Full support 15 Full support ...
nsIDOMEvent
Mozilla › Tech › XPCOM › Reference › Interface › nsIDOMEvent
s from .originalTarget in that it will never contain anonymous content. Read only. isTrusted boolean Read only. originalTarget nsIDOMEventTarget The original target of the event, before any retargetings. Read only. target nsIDOMEventTarget Used to indicate the EventTarget to which the event was originally dispatched. Read only. timeStamp DOMTimeStamp Used to specify the time (in milliseconds relative to the epoch) at which the event was created. Due to the fact that some systems may not provide this information the value of timeStamp may be not available for all events. When not available, a value of 0 will be returned. Examples of epoch time are the time of the system start or 0:0:0 UTC 1st January 1970. Read only. type DOMStr...
nsIDOMGeoPosition
Mozilla › Tech › XPCOM › Reference › Interface › nsIDOMGeoPosition
Read only. See also Using geolocation ...
Document Object Model (DOM) - Web APIs
Web › API › Document Object Model
have event handlers attached to them. Once an event is triggered, the event handlers get executed. To learn more about what the DOM is and how it represents documents, see our article Introduction to the DOM. ...
Event.timeStamp - Web APIs
Web › API › Event › timeStamp
This property only works if the event system supports it for the particular event. Syntax time = event.timeStamp; Value This value is the number of milliseconds elapsed from the beginning of the current document's lifetime till the event was created. In newer implementations, the value is a DOMHighResTimeStamp accurate to 5 microseconds (0.005 ms). In older implementations, the value is a DOMTimeStamp, accurate to a millisecond. Example HTML <p> Focus this iframe and press any key to get the current timestamp for the keypress event. </p> <p>timeStamp: <span id="time">-</span></p> JavaScript function getTime(event) { var time = document.getElementById("time"); time.firstChild.nodeValue = event.timeStamp; } document.body.addEventListener("keypress", getTime); Result Reduced time...
GeolocationCoordinates.longitude - Web APIs
Web › API › GeolocationCoordinates › longitude
The GeolocationCoordinates interface's read-only longitude property is a double-precision floating point value which represents the longitude of a geographical position, specified in decimal degrees. Together with a DOMTimeStamp indicating a time of measurement, the GeolocationCoordinates object is part of the GeolocationPosition interface, which is the object type returned by Geolocation API functions that obtain and return a geographical position. Syntax let longitude = geolocationCoordinatesInstance.longitude Value The value in longitude is the geographical longitude of the location on Earth described by the Coordinates object, in decimal degrees. The value is defined by the World Geodetic System 1984 specification (WGS 84). Note: The zero meridian (also known as the prime meridia...
GeolocationPosition.timestamp - Web APIs
Web › API › GeolocationPosition › timestamp
The GeolocationPosition.timestamp read-only property returns a DOMTimeStamp object, represents the date and the time of the creation of the GeolocationPosition object it belongs to. The precision is to the millisecond. Syntax var timestamp = geolocationPositionInstance.timestamp Value A DOMTimeStamp object instance. Specifications Specification Status Comment Geolocation APIThe definition of 'GeolocationPosition.timestamp' in that specification. Recommendation Initial definition ...
GeolocationPosition - Web APIs
Web › API › GeolocationPosition
bject, comprehends the 2D position of the device, on a spheroid representing the Earth, but also its altitude and its speed. Properties The GeolocationPosition interface doesn't inherit any properties. GeolocationPosition.coords Read only Secure context Returns a GeolocationCoordinates object defining the current location. GeolocationPosition.timestamp Read only Secure context Returns a DOMTimeStamp representing the time at which the location was retrieved. Methods The GeolocationPosition interface neither implements, nor inherits any methods. Specifications Specification Status Comment Geolocation APIThe definition of 'GeolocationPosition' in that specification. Recommendation Initial specification. ...
Using the Geolocation API - Web APIs
Web › API › Geolocation API › Using the Geolocation API
= navigator.geolocation.watchPosition(success, error, options); Describing a position The user's location is described using a GeolocationPosition object instance, which itself contains a GeolocationCoordinates object instance. The GeolocationPosition instance contains only two things, a coords property that contains the GeolocationCoordinates instance, and a timestamp property that contains a DOMTimeStamp instance representing the time at which the position data was retrieved. The GeolocationCoordinates instance contains a number of properties, but the two you'll use most commonly are latitude and longitude, which are what you need to draw your position on a map. Hence many Geolocation success callbacks look fairly simple: function success(position) { const latitude = position.coords.latitude...
Notification.timestamp - Web APIs
Web › API › Notification › timestamp
Note: This feature is available in Web Workers. The timestamp read-only property of the Notification interface returns a DOMTimeStamp, as specified in the timestamp option of the Notification() constructor. The notification's timestamp can represent the time, in milliseconds since 00:00:00 UTC on 1 January 1970, of the event for which the notification was created, or it can be an arbitrary timestamp that you want associated with the notification. For example, a timestamp for an upcoming meeting could be set in the future, whereas a timestamp for a missed message could be set in the past. Syntax var timestamp = Notification.timestamp; Value A DOMTimeStamp. Examples The following snippet fires a notification; a simple options object is created, then the notification is fired using the N...
ServiceWorkerRegistration.showNotification() - Web APIs
Web › API › ServiceWorkerRegistration › showNotification
roximately twenty seconds. The default value is false. silent: When set indicates that no sounds or vibrations should be made. If options's silent is true and options's vibrate is present a TypeError exception will be thrown. The default value is false. tag: An ID for a given notification that allows you to find, replace, or remove the notification using a script if necessary. timestamp: A DOMTimeStamp representing the time when the notification was created. It can be used to indicate the time at which a notification is actual. For example, this could be in the past when a notification is used for a message that couldn't immediately be delivered because the device was offline, or in the future for a meeting that is about to start. vibrate: A vibration pattern to run with the display of the no...
Web APIs
Web › API
hReportBody Credential CredentialsContainer Crypto CryptoKey CryptoKeyPair CustomElementRegistry CustomEvent D DOMConfiguration DOMError DOMException DOMHighResTimeStamp DOMImplementation DOMImplementationList DOMLocator DOMMatrix DOMMatrixReadOnly DOMObject DOMParser DOMPoint DOMPointInit DOMPointReadOnly DOMQuad DOMRect DOMRectReadOnly DOMString DOMStringList DOMStringMap DOMTimeStamp DOMTokenList DOMUserData DataTransfer DataTransferItem DataTransferItemList DedicatedWorkerGlobalScope DelayNode DeprecationReportBody DeviceLightEvent DeviceMotionEvent DeviceMotionEventAcceleration DeviceMotionEventRotationRate DeviceOrientationEvent DeviceProximityEvent DirectoryEntrySync DirectoryReaderSync DisplayMediaStreamConstraints Document DocumentFragment DocumentOrShadow...