0.1.11 • Published 2 years ago
windyplugin-module-pickertools v0.1.11
pickerTools module
Can be added as an external dependency to fill and style the picker.
It has the following methods:
- fillLeftDiv(string || div element , pickerBckgrCol) //pickerBckgrCol true, will set the backgroundColor the same as the weather picker, false is transparent.
- fillRightDiv(string || div element) //this div is inside the picker div, so backgroundColor is not set.
- drag(callbackfun when picker is dragged , milliseconds) //millisecond interval when callback will be called, default=100
- removeElements()
- isOpen() returns "desktop" or "mobile" if the picker is currently open, or false if closed.
- showLeftDiv()
- hideLeftDiv()
- showRightDiv()
- hideRightDiv()
in config.js:
Load as dependency from: 'https://unpkg.com/windyplugin-module-pickertools@x.x.x/dist/pickerTools.js'
in plugin:
import xxx from '@windy/windy-plugin-module-pickerTools'
0.1.10
2 years ago
0.1.11
2 years ago
0.1.7
2 years ago
0.1.9
2 years ago
0.1.4
2 years ago
0.1.6
2 years ago
0.1.5
2 years ago
0.1.3
4 years ago
0.1.2
4 years ago
0.1.1
4 years ago
0.1.0
5 years ago
0.0.99
5 years ago
0.0.98
5 years ago
0.0.97
5 years ago
0.0.96
5 years ago
0.0.95
5 years ago
0.0.91
5 years ago
0.0.92
5 years ago
0.0.93
5 years ago
0.0.94
5 years ago
0.0.9
5 years ago
0.0.8
5 years ago
0.0.5
5 years ago
0.0.7
5 years ago
0.0.6
5 years ago
0.0.4
5 years ago
0.0.3
5 years ago
0.0.2
5 years ago
0.0.1
5 years ago