Available Functions
open(true|false)
Parameters:
The single parameter indicates whether you want to open (true) or close (false) the widget.
window.ProAbono.open(); // equivalent to: window.ProAbono.open(true)
Return | Response:
A Promise
close()
window.ProAbono.close();
// equivalent to:
window.ProAbono.open(false);
Return | Response:
A Promise
toggle()
window.ProAbono.toggle()
Return | Response:
A Promise
isSubscriber()
var isSubscriber = window.ProAbono.isSubscriber()
Return | Response:
- true: the user has a valid subscription
- false: the user does not have a valid subscription
- null: the information is not yet available