dist/toolkit.js
function() {
        var element = this.element,
            node = this.node;

        // Clickout check
        if (!element && !node) {
            return;
        }

        this.fireEvent('hiding', [element, node]);

        element.conceal();

        node
            .aria('toggled', false)
            .removeClass('is-active');

        this.fireEvent('hidden', [element, node]);
    }
function() {
        var element = this.element,
            node = this.node;

        // Clickout check
        if (!element && !node) {
            return;
        }

        this.fireEvent('hiding', [element, node]);

        element.conceal();

        node
            .aria('toggled', false)
            .removeClass('is-active');

        this.fireEvent('hidden', [element, node]);
    }
function ( ) { var element = this . element , node = this . node ; // Clickout check if ( ! element && ! node ) { return ; } this . fireEvent ( 'hiding' , [ element , node ] ) ; element . conceal ( ) ; node . aria ( 'toggled' , false ) . removeClass ( 'is-active' ) ; this . fireEvent ( 'hidden' , [ element , node ] ) ; }
Hide the opened menu and reset the nodes active state.
Hide the opened menu and reset the nodes active state .