UNPKG
js-web-screen-shot
Version:
latest (2.0.2)
2.0.2
2.0.1
2.0.0
1.9.9
1.9.9-rc.29
1.9.9-rc.28
1.9.9-rc.27
1.9.9-rc.26
1.9.9-rc.25
1.9.9-rc.24
1.9.9-rc.23
1.9.9-rc.22
1.9.9-rc.21
1.9.9-rc.20
1.9.9-rc.19
1.9.9-rc.18
1.9.9-rc.17
1.9.9-rc.16
1.9.9-rc.15
1.9.9-rc.14
1.9.9-rc.13
1.9.9-rc.12
1.9.9-rc.11
1.9.9-rc.10
1.9.9-rc.9
1.9.9-rc.8
1.9.9-rc.7
1.9.9-rc.6
1.9.9-rc.5
1.9.9-rc.4
1.9.9-rc.3
1.9.9-rc.2
1.9.9-rc.1
1.9.8
1.9.8-rc.3
1.9.8-rc.2
1.9.8-rc.1
1.9.7
1.9.7-rc.2
1.9.7-rc.1
1.9.6
1.9.5
1.9.4
1.9.3
1.9.2
1.9.1
1.9.0
1.8.9
1.8.9-rc.1
1.8.9-rc.0
1.8.8
1.8.7
1.8.6
1.8.5
1.8.4
1.8.3
1.8.2
1.8.1
1.8.0
1.7.9
1.7.8
1.7.7
1.7.6
1.7.5
1.7.4
1.7.3
1.7.2
1.7.1
1.7.0
1.6.4
1.6.3
1.6.2
1.6.1
1.6.0
1.5.6
1.5.5
1.5.4
1.5.3
1.5.2
1.5.1
1.5.0
1.4.0
1.3.0
1.2.1
1.2.0
1.1.9
1.1.8
1.1.7
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.1
1.0.0
web端自定义截屏插件(原生JS版)
www.kaisir.cn/js-screen-shot
likaia/js-screen-shot
js-web-screen-shot
/
dist
/
lib
/
type
/
config
/
OptionApplicator.d.ts
7 lines
(6 loc)
•
203 B
TypeScript
View Raw
1
2
3
4
5
6
7
export
type
OptionApplicator
<T
extends
Record
<
string
,
any
>> = {
keys
?:
Array
<keyof T>;
always
?:
boolean
;
when
?:
(
options
:
Partial
<T>
) =>
boolean
;
apply
:
(
options
:
Partial
<T>
) =>
void
; };