@univerjs/design v0.5.0-beta.1Docs


Type Alias: MenuRef

type MenuRef: {
  focus: (options?) => void;
  list: HTMLUListElement;
};

Type declaration

NameTypeDescriptionDefined in
focus(options?) => voidFocus active child if any, or the first child which is not disabled will be focused.node_modules/.pnpm/rc-menu@9.16.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-menu/lib/interface.d.ts:81
listHTMLUListElement-node_modules/.pnpm/rc-menu@9.16.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-menu/lib/interface.d.ts:82

Defined in

node_modules/.pnpm/rc-menu@9.16.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-menu/lib/interface.d.ts:76