/**
 * Copyright (C) 2020 to the present, Crestron Electronics, Inc.
 * All rights reserved.
 * No part of this software may be reproduced in any form, machine
 * or natural, without the express written consent of Crestron Electronics.
 * Use of this source code is subject to the terms of the Crestron Software License Agreement 
 * under which you licensed this source code.  
 *
 * This code was automatically generated by Crestron's code generation tool.
*/
/* jslint es6 */

let loadingIndicatorModule = (function () {
    'use strict';

    let outputValue = true;

    /**
     * Initialize Method
     */
    function onInit() {
       serviceModule.addEmulatorScenarioBrowserOnly("./app/project/components/widgets/loading-indicator/loading-indicator-emulator.json");
    }

    /**
     * Declare your Public Methods here
    */
    function getOutput() {
        return outputValue;
    }

    /**
     * All public or private methods which need to call onInit
     */
    const loadingIndicatorWidget = document.querySelector('#loading-indicator-import-widget');
    if (loadingIndicatorWidget !== null) {
        loadingIndicatorWidget.addEventListener('afterLoad', onInit);
    }

    /**
     * All public method and properties are exported here
     */
    return {
        getOutput: getOutput
    };

}());