Javascript Functions and Variables

The following functions and variables are available in javascript.

 

fpbxToast

availible as of framework 13.0.1beta3.60

is an abstraction function for the toastr library and provides toast messages in FreePBX. 

fpbxToast('message','title','level');

message - The message to present to the user

title - Optional, the title for the toast message

level - Optional, the type of toast to pop up.

Levels:

info

toastinfo.png

 

warning

toast warning.png

 

success

 

error

 

Return to Documentation Home I Return to Sangoma Support