Skip to content

imjsElectron/native-dialog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Native Dialog

version downloads

Native dialog for mac than can be used from node

How To Use

const dialog = require("../index");

 const response =  dialog.showSync({
      title: "Product Test",
      detail: "Please select one option",
      buttons: ["Cancel", "Copy", "Update"]
    })
  );

alt dialog

response can be 0,1,2 depending on the order of button

Check example.js in test folder