Liking cljdoc? Tell your friends :D

web.VisualViewport

The VisualViewport interface of the the Visual Viewport API represents visual viewport for a given window. For a page containing iframes, iframe, as well as the containing page, will have a unique window Each window on a page will have a unique VisualViewport representing properties associated with that window.

The VisualViewport interface of the the Visual Viewport API represents
visual viewport for a given window. For a page containing iframes,
iframe, as well as the containing page, will have a unique window
Each window on a page will have a unique VisualViewport representing
properties associated with that window.
raw docstring

heightcljs

(height this)

Property.

The height read-only property of the web.VisualViewport interface the height of the visual viewport, in CSS pixels.

var height = VisualViewport.height

See also: https://developer.mozilla.org/en-US/docs/Web/API/VisualViewport/height

Property.

The height read-only property of the `web.VisualViewport` interface
the height of the visual viewport, in CSS pixels.

`var height = VisualViewport.height`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VisualViewport/height`
sourceraw docstring

offset-topcljs

(offset-top this)

Property.

The offsetTop read-only property of the web.VisualViewport returns the offset of the top edge of the visual viewport from top edge of the layout viewport in CSS pixels.

var offsetTop = VisualViewport.offsetTop

See also: https://developer.mozilla.org/en-US/docs/Web/API/VisualViewport/offsetTop

Property.

The offsetTop read-only property of the `web.VisualViewport`
returns the offset of the top edge of the visual viewport from
top edge of the layout viewport in CSS pixels.

`var offsetTop = VisualViewport.offsetTop`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VisualViewport/offsetTop`
sourceraw docstring

offsetleftcljs

(offsetleft this)

Property.

The offsetLeft read-only property of the web.VisualViewport returns the offset of the left edge of the visual viewport from left edge of the layout viewport in CSS pixels.

var offsetLeft = VisualViewport.offsetLeft

See also: https://developer.mozilla.org/en-US/docs/Web/API/VisualViewport/offsetleft

Property.

The offsetLeft read-only property of the `web.VisualViewport`
returns the offset of the left edge of the visual viewport from
left edge of the layout viewport in CSS pixels.

`var offsetLeft = VisualViewport.offsetLeft`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VisualViewport/offsetleft`
sourceraw docstring

page-leftcljs

(page-left this)

Property.

The pageLeft read-only property of the web.VisualViewport interface the x coordinate relative to the initial containing block origin the left edge of the visual viewport, in CSS pixels.

var pageLeft = VisualViewport.pageLeft

See also: https://developer.mozilla.org/en-US/docs/Web/API/VisualViewport/pageLeft

Property.

The pageLeft read-only property of the `web.VisualViewport` interface
the x coordinate relative to the initial containing block origin
the left edge of the visual viewport, in CSS pixels.

`var pageLeft = VisualViewport.pageLeft`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VisualViewport/pageLeft`
sourceraw docstring

page-topcljs

(page-top this)

Property.

The pageTop read-only property of the web.VisualViewport interface the y coordinate relative to the initial containing block origin the top edge of the visual viewport, in CSS pixels.

var pageTop = VisualViewport.pageTop

See also: https://developer.mozilla.org/en-US/docs/Web/API/VisualViewport/pageTop

Property.

The pageTop read-only property of the `web.VisualViewport` interface
the y coordinate relative to the initial containing block origin
the top edge of the visual viewport, in CSS pixels.

`var pageTop = VisualViewport.pageTop`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VisualViewport/pageTop`
sourceraw docstring

scalecljs

(scale this)

Property.

The scale read-only property of the web.VisualViewport interface the pinch-zoom scaling factor applied to the visual viewport.

var scale = VisualViewport.scale

See also: https://developer.mozilla.org/en-US/docs/Web/API/VisualViewport/scale

Property.

The scale read-only property of the `web.VisualViewport` interface
the pinch-zoom scaling factor applied to the visual viewport.

`var scale = VisualViewport.scale`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VisualViewport/scale`
sourceraw docstring

set-height!cljs

(set-height! this val)

Property.

The height read-only property of the web.VisualViewport interface the height of the visual viewport, in CSS pixels.

var height = VisualViewport.height

See also: https://developer.mozilla.org/en-US/docs/Web/API/VisualViewport/height

Property.

The height read-only property of the `web.VisualViewport` interface
the height of the visual viewport, in CSS pixels.

`var height = VisualViewport.height`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VisualViewport/height`
sourceraw docstring

set-offset-top!cljs

(set-offset-top! this val)

Property.

The offsetTop read-only property of the web.VisualViewport returns the offset of the top edge of the visual viewport from top edge of the layout viewport in CSS pixels.

var offsetTop = VisualViewport.offsetTop

See also: https://developer.mozilla.org/en-US/docs/Web/API/VisualViewport/offsetTop

Property.

The offsetTop read-only property of the `web.VisualViewport`
returns the offset of the top edge of the visual viewport from
top edge of the layout viewport in CSS pixels.

`var offsetTop = VisualViewport.offsetTop`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VisualViewport/offsetTop`
sourceraw docstring

set-offsetleft!cljs

(set-offsetleft! this val)

Property.

The offsetLeft read-only property of the web.VisualViewport returns the offset of the left edge of the visual viewport from left edge of the layout viewport in CSS pixels.

var offsetLeft = VisualViewport.offsetLeft

See also: https://developer.mozilla.org/en-US/docs/Web/API/VisualViewport/offsetleft

Property.

The offsetLeft read-only property of the `web.VisualViewport`
returns the offset of the left edge of the visual viewport from
left edge of the layout viewport in CSS pixels.

`var offsetLeft = VisualViewport.offsetLeft`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VisualViewport/offsetleft`
sourceraw docstring

set-page-left!cljs

(set-page-left! this val)

Property.

The pageLeft read-only property of the web.VisualViewport interface the x coordinate relative to the initial containing block origin the left edge of the visual viewport, in CSS pixels.

var pageLeft = VisualViewport.pageLeft

See also: https://developer.mozilla.org/en-US/docs/Web/API/VisualViewport/pageLeft

Property.

The pageLeft read-only property of the `web.VisualViewport` interface
the x coordinate relative to the initial containing block origin
the left edge of the visual viewport, in CSS pixels.

`var pageLeft = VisualViewport.pageLeft`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VisualViewport/pageLeft`
sourceraw docstring

set-page-top!cljs

(set-page-top! this val)

Property.

The pageTop read-only property of the web.VisualViewport interface the y coordinate relative to the initial containing block origin the top edge of the visual viewport, in CSS pixels.

var pageTop = VisualViewport.pageTop

See also: https://developer.mozilla.org/en-US/docs/Web/API/VisualViewport/pageTop

Property.

The pageTop read-only property of the `web.VisualViewport` interface
the y coordinate relative to the initial containing block origin
the top edge of the visual viewport, in CSS pixels.

`var pageTop = VisualViewport.pageTop`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VisualViewport/pageTop`
sourceraw docstring

set-scale!cljs

(set-scale! this val)

Property.

The scale read-only property of the web.VisualViewport interface the pinch-zoom scaling factor applied to the visual viewport.

var scale = VisualViewport.scale

See also: https://developer.mozilla.org/en-US/docs/Web/API/VisualViewport/scale

Property.

The scale read-only property of the `web.VisualViewport` interface
the pinch-zoom scaling factor applied to the visual viewport.

`var scale = VisualViewport.scale`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VisualViewport/scale`
sourceraw docstring

set-width!cljs

(set-width! this val)

Property.

The width read-only property of the web.VisualViewport interface the width of the visual viewport, in CSS pixels.

var width = VisualViewport.width

See also: https://developer.mozilla.org/en-US/docs/Web/API/VisualViewport/width

Property.

The width read-only property of the `web.VisualViewport` interface
the width of the visual viewport, in CSS pixels.

`var width = VisualViewport.width`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VisualViewport/width`
sourceraw docstring

widthcljs

(width this)

Property.

The width read-only property of the web.VisualViewport interface the width of the visual viewport, in CSS pixels.

var width = VisualViewport.width

See also: https://developer.mozilla.org/en-US/docs/Web/API/VisualViewport/width

Property.

The width read-only property of the `web.VisualViewport` interface
the width of the visual viewport, in CSS pixels.

`var width = VisualViewport.width`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VisualViewport/width`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close