Skip to content

rittels/windy-plugins-modules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

windy-plugins-modules

Modules for common windy-plugin actions.

The modules can be loaded as external dependencies from npm, by adding them to the config.js file:

    dependencies: [
        'https://unpkg.com/windyplugin-module-plugin-coordinator@0.0.70/dist/pluginCoordinator.js',
        'https://unpkg.com/windyplugin-module-pickertools@0.0.96/dist/pickerTools.js',
        'https://unpkg.com/windyplugin-module-infobox@0.0.7/dist/infobox.js',
        'https://unpkg.com/windyplugin-module-airspaces@0.0.3/dist/airspaces.js',
        'https://unpkg.com/windyplugin-module-rplanner-wrapper@0.0.99/dist/rplannerWrapper.js'
    ],

(If the version @x.x.x is left out, the most recent version is loaded, but the users browser caches the module, it is thus better to specify the version. The pluginCoordinator performs version control, where if a newer version is loaded, will replace the older version).

The modules can then be imported into the plugin:

    import pickerT from '@windy/windy-plugin-module-pickerTools';
    import ib from '@windy/windy-plugin-module-infobox';
    import asp from '@windy/windy-plugin-module-airspaces';
    import rp from '@windy/windy-plugin-module-rplannerWrapper';

The pluginCoordinator does not have to be imported into the plugin. It is required (executed) when loaded.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published