0.0.4 • Published 3 years ago

7tools v0.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

tools

septnet native common tools

Install

npm install tools
npx cap sync

API

imagesViewer(...)

imagesViewer(options: { urls: any[]; titles: any; startIndex?: number; savable?: boolean; orientationable?: boolean; landscape?: boolean; }) => any
ParamType
options{ urls: {}; titles: any; startIndex?: number; savable?: boolean; orientationable?: boolean; landscape?: boolean; }

Returns: any


share(...)

share(options: { title?: string; url?: string; img?: string; text?: string; }) => any
ParamType
options{ title?: string; url?: string; img?: string; text?: string; }

Returns: any


showLoading(...)

showLoading(options?: { text: string; } | undefined) => any
ParamType
options{ text: string; }

Returns: any


hideLoading()

hideLoading() => any

Returns: any


qrcode()

qrcode() => any

Returns: any


checkUpdate()

checkUpdate() => any

Returns: any


takePhoto()

takePhoto() => any

Returns: any


requirePermission()

requirePermission() => any

Returns: any