Skip to content

mathieudutour/Meteor-popup-confirm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A clean and easy to use confirmation popup

Installation

$ meteor add matdutour:popup-confirm

Usage

new Confirmation({
  message: "Are you sure ?",
  title: "Confirmation",
  cancelText: "Cancel",
  okText: "Ok",
  success: true, // whether the button should be green or red
  focus: "cancel" // which button to autofocus, "cancel" (default) or "ok", or "none"
}, function (ok) {
  // ok is true if the user clicked on "ok", false otherwise
});

About

No description, website, or topics provided.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published