Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 417 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 417 Bytes

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 // wether the button should be green or red
}, function (ok) {
  // ok is true if the user clicked on "ok", false otherwise
});