0.1.11 • Published 9 months ago

windyplugin-module-pickertools v0.1.11

Weekly downloads
374
License
MIT
Repository
github
Last release
9 months ago

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

9 months ago

0.1.11

9 months ago

0.1.7

11 months ago

0.1.9

9 months ago

0.1.4

11 months ago

0.1.6

11 months ago

0.1.5

11 months ago

0.1.3

2 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

4 years ago

0.0.99

4 years ago

0.0.98

4 years ago

0.0.97

4 years ago

0.0.96

4 years ago

0.0.95

4 years ago

0.0.91

4 years ago

0.0.92

4 years ago

0.0.93

4 years ago

0.0.94

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.5

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago