Weblutions Documentation > FaxCAD > Events


This documentation is for when FaxCAD 1.2.2 is released.

Events are a great way to build and develop extensions in FaxStore. Events are always being added and are documented here for your use in extensions or development of FaxCAD.

Suggest an event at the below link if you'd like to see a particular event

Suggest new event

Using events is easy as pie, all you do is use the associated name and arguments. Here are some examples.

Listen for an event (on)

faxcad.on('onStart', function(licenseKey, siteDomain) {

Emit events (emit)

const date = Date.now();
faxcad.emit('CreateAuditLog', 'UserID', 'Logged in', `logged in at <t:${date}>`);

Events Dictionary

  • on is a listen event that triggers with faxcad.on()
  • emit is to emit an event to the system with faxcad.emit()

CreateAuditLogaction, note, userIdGenerates an audit log. All arguments are requiredemit
onStartlicenseKey, siteDomainEmits when FaxCad first starts.on

Improve this page

Suggest an edit

Review this page