static createEditorDOM() {
        // Create editor root.
        const $root = jQuery('<div class="select2-editor"></div>');
        // Create editor content.
        const $content = jQuery('<div class="select2-content"></div>');
        // Stop bubbling to avoid HT deselectOutside.
        $root.on('mousedown', (event) => {
            event.stopPropagation();
        });
        // Append content to root.
        $root.append($content);
        // Editor root element.
        return $root;
    }
/**
     * Create editor root DOM.
     *
     * @return jQuery editor element.
     */
Create editor root DOM.
@return jQuery editor element.
Create editor root DOM . @return jQuery editor element .
static createEditorDOM() {
        const $root = jQuery('<div class="select2-editor"></div>');
        const $content = jQuery('<div class="select2-content"></div>');
        $root.on('mousedown', (event) => {
            event.stopPropagation();
        });
        $root.append($content);
        return $root;
    }
static createEditorDOM ( ) { const $root = jQuery ( '<div class="select2-editor"></div>' ) ; const $content = jQuery ( '<div class="select2-content"></div>' ) ; $root . on ( 'mousedown' , ( event ) => { event . stopPropagation ( ) ; } ) ; $root . append ( $content ) ; return $root ; }
Create editor root DOM.
Create editor root DOM .
// Create editor root. // Create editor content. // Stop bubbling to avoid HT deselectOutside. // Append content to root. // Editor root element.