You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+86-23Lines changed: 86 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,11 +20,13 @@ Below is a list of these methods and properties. Then you can see [an example im
20
20
---
21
21
22
22
-[`constructor()`](#constructor)
23
+
-[_~~defaults~~_](#defaults)
24
+
-[`defaultSettings`](#defaultsettings)
25
+
-[`defaultProps`](#defaultprops)
23
26
-[`_setup()`](#_setup)
24
27
-[`_beforeInitialize()`](#_beforeinitialize)
25
28
-[`_afterInitialize()`](#_afterinitialize)
26
29
-[`initialize()`](#initialize)
27
-
-[`defaults`](#defaults)
28
30
29
31
30
32
### `constructor()`
@@ -33,6 +35,25 @@ Here we describe the future instances.:
33
35
- get data from arguments
34
36
- declare instance properties
35
37
38
+
### `defaults`
39
+
40
+
> since v3.0.0 property renamed to `defaultSettings`
41
+
42
+
### `defaultSettings`
43
+
44
+
_`public`_
45
+
_**`since v3.0.0`**_
46
+
47
+
A getter that returns an object with default options, settings, or configuration for your plugin.
48
+
49
+
### `defaultProps`
50
+
51
+
_`public`_
52
+
_**`since v3.0.0`**_
53
+
54
+
A getter that returns an object with predefined props.
55
+
Most often this is a list of options that are not included in the list of certain options of your plugin. But you need them for individual processing your options, settings, data, etc.
56
+
36
57
37
58
### `_setup()`
38
59
@@ -61,12 +82,6 @@ _`public`_
61
82
62
83
Directly launch your plugin.
63
84
64
-
### `defaults`
65
-
66
-
_`public`_
67
-
68
-
A getter that returns an object with default options, settings, or configuration for your plugin.
69
-
70
85
---
71
86
72
87
## Usage example
@@ -87,49 +102,97 @@ export class SomeJqueryPluginAbstract extends WebPluginInterface {
0 commit comments