Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

webkitConvertPointFromPageToNode method

Converts a point pt object from page coordinates to CSS node coordinates.

Syntax

var retVal = window.webkitConvertPointFromPageToNode(node, pt);

Parameters

node [in]

Type: Node

An object representing the CSS coordinate space to convert the given point pt to.

pt [in]

Type: WebKitPoint

A point in page coordinates (that is to be converted to CSS node coordinates).

retVal [out, retval]

Type: WebKitPoint

Remarks

This method returns a WebKitPoint point object that is in the same location as pt but in node coordinates.

See also

window
Bring your page to life with CSS transforms (Windows)

 

 

Show:
© 2017 Microsoft