0.0.4 • Published 3 years ago
7tools v0.0.4
tools
septnet native common tools
Install
npm install tools
npx cap sync
API
imagesViewer(...)
share(...)
showLoading(...)
hideLoading()
qrcode()
checkUpdate()
takePhoto()
requirePermission()
imagesViewer(...)
imagesViewer(options: { urls: any[]; titles: any; startIndex?: number; savable?: boolean; orientationable?: boolean; landscape?: boolean; }) => any
Param | Type |
---|---|
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
Param | Type |
---|---|
options | { title?: string; url?: string; img?: string; text?: string; } |
Returns: any
showLoading(...)
showLoading(options?: { text: string; } | undefined) => any
Param | Type |
---|---|
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