Skip to content
Code-Schnipsel Gruppen Projekte
Url.js 770 B
Newer Older
  • Learn to ignore specific revisions
  • /**
     * @module package/quiqqer/menu/bin/Controls/Independent/Items/Url
     * @author www.pcsg.de
     */
    define('package/quiqqer/menu/bin/Controls/Independent/Items/Url', [
    
        'qui/QUI',
        'qui/controls/Control'
    
    ], function (QUI, QUIControl) {
        "use strict";
    
        return new Class({
    
            Extends: QUIControl,
            Types  : 'package/quiqqer/menu/bin/Controls/Independent/Items/Url',
    
            Binds: [
                '$onInject'
            ],
    
            initialize: function (options) {
                this.parent(options);
    
                this.addEvents({
                    onInject: this.$onInject
                });
            },
    
            $onInject: function () {
                this.getElm().addClass();
                this.getElm().set('data-qui', this.getType());
            }
    
        });
    });