7tools 中文文档教程

发布于 3年前 浏览 35 项目主页 更新于 3年前

tools

septnet 原生常用工具

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; }

返回: 任何


share(…)

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

返回: 任何


showLoading(…)

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

返回: 任何


hideLoading()

hideLoading() => any

返回: 任何


qrcode()

qrcode() => any

返回: 任何


checkUpdate()

checkUpdate() => any

返回: 任何


takePhoto()

takePhoto() => any

返回: 任何


requirePermission()

requirePermission() => any

返回: 任何


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


    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文