How can use jQuery events?

How can use jQuery events?

How can I use jQuery plugins predefined events?
Most of jQuery Plugins introduce predefined events in their documentations,
Is there any standard rules in general for implementing those events?

For example in special case jQuery Collapsible Plugin (a jQuery plugin for collapsable boxes) or jQuery-Accordion or any other plugin defines some Events like below:

jQuery Collapsible Events:
Events triggered by plugin itself

Since version 2.0.0, there is no possibility to pass callback
functions via options. Instead, you may bind handlers to events which
are triggered by plugin. All events are namespaced (collapsable). In
table below, there are all events which might be triggered by plugin.
n all events, this refers to collapsable box from initial set.
  1. expanded.collapsable: When box is fully expanded, this event is triggered. If you use jQuery function or custom function, it is triggered as a callback of those functions. Otherwise, it is called after fxDuration milliseconds.
  2. collapsed.collapsable: Analogical to `expanded.collapsable`.

jQuery-Accordion Events:

  1. accordion.open: fires when any accordion opens.
  2. accordion.close: fires when any accordion closes.

If I want in this case  to add a div with special font awesome character (like fa-chevron-down) after box title when collapsed (collapsed state) and remove that character and replace it with new character (like fa-chevron-up) as box title when expended.

I try below code but it seems that something is wrong:
  1.     $('.collapsable a.ca-link').on('collapsed.collapsable', function(e) {
  2.           $(this).append( "<span class='fa fa-chevron-down'></span>" );
  3.       });
  4.      
  5.     $('.collapsable a.ca-link').off('expanded.collapsable', function(e) {
  6.           $(this).append( "<span class='fa fa-chevron-up'></span>" );
  7.       });

I'm beginner in jQuery and not an expert, So please try to give a detailed answer with example or introduce any reference as I don't know anything about Plugins events and some other expressions.
Thanks.