Skip to main content

screen_orientation_unlock

Function screen_orientation_unlock 

Source
pub(crate) fn screen_orientation_unlock(
    _it: &mut Interp,
    this: Value,
    _a: &[Value],
) -> Result<Value, Value>
Expand description

screen.orientation.unlock()(対をなす解除メソッド。丸ごと未対応 だった)。現在のビューポート寸法から求めた自然な向きへ type を戻す (window.screen 初期化時の判定ロジックと同じ)。