Skip to content


Updated pdexter 2022-10-22

Object; Loads a third party library in order to use it within a ruleset.

This has the advantage that loaded libraries are still available when the app is offline (to be confirmed).

(client-side object)



      name : name-of-library,

        files : [


                url2, etc



.then(function() {

        // initialise library object


Part Description
name-of-library the name to use to refer to the library (within this function only)
url1, url2, etc url addresses of the files needed to load


ft3.lazyLoader.load({name: 'swal', files: [
.then(function() {
    // Assign fetched object to our own ft3.
    ft3.swal = window.swal;