EN
이 콘텐츠는 한국어로 제공되지 않아 영어 버전으로 표시됩니다.

deviceorientation | ondeviceorientation event

Dispatched whenever a change in host device orientation occurs.

IE11

 

Syntax

HTML Attribute <element ondeviceorientation = "handler(event)">
addEventListener Method object.addEventListener("deviceorientation", handler, useCapture)

 

Event information

SynchronousYes
BubblesNo
CancelableNo

 

Event handler parameters

handler [in]

Type: Function

Function to execute when the event is dispatched

Standards information

Remarks

Internet Explorer will dispatch this event whenever it receives device sensor data above the change threshold of 0.01 degrees.

See also

Window

 

 

표시:
© 2014 Microsoft