-
Notifications
You must be signed in to change notification settings - Fork 346
/
Options.ts
50 lines (48 loc) 路 996 Bytes
/
Options.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/**
* Copyright (c) 2017 ~ present NAVER Corp.
* billboard.js project is licensed under the MIT license
*/
/**
* Bubble compare plugin option class
* @class BubblecompareOptions
* @param {Options} options Bubblecompare plugin options
* @augments Plugin
* @returns {BubblecompareOptions}
* @private
*/
export default class Options {
constructor() {
return {
/**
* Set minimum size of bubble radius. (px)
* @name minR
* @memberof plugin-bubblecompare
* @type {number}
* @default 11
* @example
* minR: 11
*/
minR: 11,
/**
* Set maximum size of bubble radius. (px)
* @name maxR
* @memberof plugin-bubblecompare
* @type {number}
* @default 11
* @example
* maxR: 74
*/
maxR: 11,
/**
* Specify bubble expand ratio when focused
* @name expandScale
* @memberof plugin-bubblecompare
* @type {number}
* @default 1
* @example
* expandScale: 1.2
*/
expandScale: 1
};
}
}