Skip to content
文档目录

Class: UKeySDKConfig

Implements

Table of contents

Constructors

Properties

Constructors

constructor

new UKeySDKConfig(params)

Parameters

NameType
paramsPartial<QysUKeySdkConfig>

Properties

canSign

canSign: boolean = true

控制是否可以签署

Implementation of

QysUKeySdkConfig.canSign


file

Optional file: CustomFileData | File | FileList | CustomFileData[]

初始渲染需要添加到文件列表中的文件,初始渲染后会将其从 config 中移除

Implementation of

QysUKeySdkConfig.file


hideDocThumbnail

hideDocThumbnail: boolean = false

页面渲染后是否隐藏缩略图: 默认不隐藏

Implementation of

QysUKeySdkConfig.hideDocThumbnail


hideThirdBtnFn

hideThirdBtnFn: (...args: any[]) => void = noop

Type declaration

▸ (...args): void

A no-operation function that returns undefined regardless of the arguments it receives.

Parameters
NameType
...argsany[]
Returns

void

undefined

Implementation of

QysUKeySdkConfig.hideThirdBtnFn


showAddBtn

showAddBtn: boolean = true

配置页面是否展示添加签章按钮

Implementation of

QysUKeySdkConfig.showAddBtn


showSaveBtn

showSaveBtn: boolean = true

配置页面是否展示保存按钮

Implementation of

QysUKeySdkConfig.showSaveBtn


showThirdBtnFn

showThirdBtnFn: (...args: any[]) => void = noop

Type declaration

▸ (...args): void

A no-operation function that returns undefined regardless of the arguments it receives.

Parameters
NameType
...argsany[]
Returns

void

undefined

Implementation of

QysUKeySdkConfig.showThirdBtnFn


signCb

signCb: (...args: any[]) => void = noop

Type declaration

▸ (...args): void

A no-operation function that returns undefined regardless of the arguments it receives.

Parameters
NameType
...argsany[]
Returns

void

undefined

Implementation of

QysUKeySdkConfig.signCb