Latest Threat Research:Malicious dYdX Packages Published to npm and PyPI After Maintainer Compromise.Details
Socket
Book a DemoInstallSign in
Socket

capacitor-plugin-screen-orientation

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

capacitor-plugin-screen-orientation

屏幕方向

latest
npmnpm
Version
0.0.6
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

capacitor-plugin-screen-orientation

屏幕方向

Install

npm install capacitor-plugin-screen-orientation
npx cap sync

API

  • echo(...)
  • type()
  • lock(...)
  • Interfaces
  • Type Aliases

echo(...)

echo(options: { value: string; }) => Promise<{ value: string; }>
ParamType
options{ value: string; }

Returns: Promise<{ value: string; }>

type()

type() => Promise<typeResult>

Returns: Promise<typeResult>

lock(...)

lock(options: lockOption) => Promise<void>
ParamType
optionslockOption

Interfaces

typeResult

PropType
orientationorientationValue
settingsettingValue

lockOption

PropType
settingsettingValue
orientationorientationValue

Type Aliases

orientationValue

'landscape' | 'portrait' | ''

settingValue

'any' | 'portrait-primary' | 'portrait-secondary' | 'landscape-primary' | 'landscape-secondary' | 'portrait' | 'landscape' | number

Keywords

capacitor

FAQs

Package last updated on 22 Jun 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts