packages/mdc-menu/foundation.js
/**
   * {@see MDCMenuAdapter} for typing information on parameters and return
   * types.
   * @return {!MDCMenuAdapter}
   */
MDCMenuAdapter for typing information on parameters and return
types.
MDCMenuAdapter for typing information on parameters and return types .
static get defaultAdapter() {
    return  ({
      addClass: () => {},
      removeClass: () => {},
      hasClass: () => false,
      hasNecessaryDom: () => false,
      getAttributeForEventTarget: () => {},
      getInnerDimensions: () => ({}),
      hasAnchor: () => false,
      getAnchorDimensions: () => ({}),
      getWindowDimensions: () => ({}),
      getNumberOfItems: () => 0,
      registerInteractionHandler: () => {},
      deregisterInteractionHandler: () => {},
      registerBodyClickHandler: () => {},
      deregisterBodyClickHandler: () => {},
      getIndexForEventTarget: () => 0,
      notifySelected: () => {},
      notifyCancel: () => {},
      saveFocus: () => {},
      restoreFocus: () => {},
      isFocused: () => false,
      focus: () => {},
      getFocusedItemIndex: () => -1,
      focusItemAtIndex: () => {},
      isRtl: () => false,
      setTransformOrigin: () => {},
      setPosition: () => {},
      setMaxHeight: () => {},
      setAttrForOptionAtIndex: () => {},
      rmAttrForOptionAtIndex: () => {},
      addClassForOptionAtIndex: () => {},
      rmClassForOptionAtIndex: () => {},
    });
  }
static get defaultAdapter ( ) { return ( { addClass : ( ) => { } , removeClass : ( ) => { } , hasClass : ( ) => false , hasNecessaryDom : ( ) => false , getAttributeForEventTarget : ( ) => { } , getInnerDimensions : ( ) => ( { } ) , hasAnchor : ( ) => false , getAnchorDimensions : ( ) => ( { } ) , getWindowDimensions : ( ) => ( { } ) , getNumberOfItems : ( ) => 0 , registerInteractionHandler : ( ) => { } , deregisterInteractionHandler : ( ) => { } , registerBodyClickHandler : ( ) => { } , deregisterBodyClickHandler : ( ) => { } , getIndexForEventTarget : ( ) => 0 , notifySelected : ( ) => { } , notifyCancel : ( ) => { } , saveFocus : ( ) => { } , restoreFocus : ( ) => { } , isFocused : ( ) => false , focus : ( ) => { } , getFocusedItemIndex : ( ) => - 1 , focusItemAtIndex : ( ) => { } , isRtl : ( ) => false , setTransformOrigin : ( ) => { } , setPosition : ( ) => { } , setMaxHeight : ( ) => { } , setAttrForOptionAtIndex : ( ) => { } , rmAttrForOptionAtIndex : ( ) => { } , addClassForOptionAtIndex : ( ) => { } , rmClassForOptionAtIndex : ( ) => { } , } ) ; }
{@see MDCMenuAdapter} for typing information on parameters and return
 types.
{ @see MDCMenuAdapter } for typing information on parameters and return types .
/** @type {!MDCMenuAdapter} */