view class doc
12345678910111213141516171819202122232425262728293031323334353637383940414243/// FOURJS_START_COPYRIGHT(D,2021)
/// Property of Four Js*
/// (c) Copyright Four Js 2021, 2022. All Rights Reserved.
/// * Trademark of Four Js Development Tools Europe Ltd
///   in the United States and elsewhere
///
/// This file can be modified by licensees according to the
/// product manual.
/// FOURJS_END_COPYRIGHT

"use strict";

modulum('RSidebarApplistWidget', ['WidgetGroupBase', 'WidgetFactory'],
  function(context, cls) {

    /**
     * Applist widget.
     * @class RSidebarApplistWidget
     * @memberOf classes
     * @extends classes.WidgetGroupBase
     * @publicdoc Widgets
     */
    cls.RSidebarApplistWidget = context.oo.Class(cls.WidgetGroupBase, function($super) {
      return /** @lends classes.RSidebarApplistWidget.prototype */ {
        __name: 'RSidebarApplistWidget',

        _expanded: false,

        /*expand: function(expanded) {
          this.toggleClass("expanded", expanded);
          this._expanded = expanded;
          window.document.querySelector(":root").style.setProperty('--applistWidth', expanded ? '156px' : "56px");
        },
        toggleExpand: function() {
          this.expand(!this._expanded);
        }
         */

      };
    });
    cls.WidgetFactory.registerBuilder('RSidebarApplist', cls.RSidebarApplistWidget);
  });