Sha256: 0f84f0213581f7f6cd366fad77d1165f3f345edbe8b07a4feda9bc5c5648c200

Contents?: true

Size: 797 Bytes

Versions: 2

Compression:

Stored size: 797 Bytes

Contents

// Type definitions for metisMenu 2.7
// Project: http://github.com/onokumus/metisMenu
// Definitions by: onokumus <https://github.com/onokumus/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped

/// <reference types="jquery"/>

interface MetisMenuOptions {
    toggle?: boolean;
    activeClass?: string;
    collapseClass?: string;
    collapseInClass?: string;
    collapsingClass?: string;
    preventDefault?: boolean;
    triggerElement?: string;
    parentTrigger?: string;
    subMenu?: string;
}

type MetisMenuEvents = "show.metisMenu" | "shown.metisMenu" | "hide.metisMenu" | "hidden.metisMenu";

interface JQuery {
    metisMenu(options?: MetisMenuOptions | "dispose"): JQuery;
    on(events: MetisMenuEvents, handler: (eventObject: JQueryEventObject) => any): JQuery;
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_modular_admin-1.0.0 app/assets/node_modules/metismenu/types/metismenu.d.ts
rails_modular_admin-0.4.0 app/assets/node_modules/metismenu/types/metismenu.d.ts