Giter Club home page Giter Club logo

pluggable-dashboard-electron's Introduction

Pluggable Electron demo

Clone and run for a quick way to see Pluggable Electron in action.

This is a minimal Electron application based on the Quick Start Guide and enhanced with Pluggable Electron. the purpose is to showcase the basics of Pluggable Electron.

To Use

To clone and run this repository you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:

# Clone this repository
git clone https://github.com/dutchigor/pluggable-electron-demo

# Go into the repository
cd pluggable-electron-demo

# Install dependencies
npm install

# package plugin
npm run pkg-plugin

# Run the app
npm start

Once the application is open, you can try it out:

  • Install the example plugin: select ./demo-plugin/demo-plugin-2.0.0.tgz (created in the previous step) in Package file and click install
  • Activate the plugin's extension point: Click on Activate Plugin
  • Try out the extension points:
    • Click on Extend demo menu to enrich the menu with the items defined in the plugin extensions. This demonstrates
      • an extension returning a plain object
      • an extension returning a callback, taking the parent menu item as an input
      • an extension returning an asynchronous callback
    • Add a value for the demo price and click on Calculate costs to see the cost calculated
      • This demonstrates 2 functions manipulating the cost in serial
    • Add a url to the image url input and click Display image to attach an image to the card.
      • This demonstrates an extension without a return value but manipulating the app directly.

Detailed documentation on how to use Pluggable Electron can be found here

License

CC0 1.0 (Public Domain)

pluggable-dashboard-electron's People

Contributors

dependabot-preview[bot] avatar zeke avatar jlord avatar kevinsawicki avatar dependabot[bot] avatar dependabot-support avatar dutchigor avatar codebytere avatar sebastianschmidt avatar tcyrus avatar chankruze avatar vhashimotoo avatar marshallofsound avatar nornagon avatar izuzak avatar ckerr avatar shiftkey avatar bratsos avatar malept avatar icodeforbananas avatar haacked avatar richienb avatar sahildua2305 avatar steevedroz avatar tatzyr avatar minasvisual avatar zanesterling avatar bokuweb avatar fscherwi avatar icoxfog417 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.