Git Product home page Git Product logo

aurelia-nw's People

Contributors

lig avatar ryanwischkaemper avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

lig

aurelia-nw's Issues

new gui.Menu() Not working .....need help

I am using you repo--> nw.js with aurelia .. I am able to require("nw.gui") as you did in window bar.js
. But I am not able to create new gui.Menu() .
Some code for reference
var gui = require('nw.gui');
export class App {
add_collection () {
console.log("add collection called");
}
attached() {
console.log("attached called",gui);
var menu = new gui.Menu();
menu.append(new gui.MenuItem({
label: 'Add Collection',
click: this.add_collection
}));
$("body").bind('contextmenu', function(ev) {
ev.preventDefault();
menu.popup(ev.pageX, ev.pageY);
return false;
});
}
}
Any one can help me on this????? Thanx in advance

Running gulp on project requires proper platforms config.

Following readme to run the project on platform different from win64 requires proper config of the nwBuilderConfig.platforms setting.

This should not be the case. Default config should respect local installed nw.js version or limit download to the one corresponding to local platform.

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.