docs(spelling): Add codespell config + github action, run and fix a good number of typos (#3645)
This commit is contained in:
1 parent
64079e0720
commit
11ca5b6eae
76 files changed
+128
-100
No files matched your search
@@ -69,8 +69,8 @@ export default class ContextMenuController {
|
||||
event,
|
||||
content: ContextMenu,
|
||||
|
||||
// This naming is part of hte uiDialogService convention
|
||||
// Clicking outside simpy closes the dialog box.
|
||||
// This naming is part of the uiDialogService convention
|
||||
// Clicking outside simply closes the dialog box.
|
||||
onClickOutside: () => this.services.uiDialogService.dismiss({ id: 'context-menu' }),
|
||||
|
||||
contentProps: {
|
||||
|
||||
@@ -5,7 +5,7 @@ import { Types } from '@ohif/core';
|
||||
* menu item for display.
|
||||
* An instance of SelectorProps is provided to the selector functions, which
|
||||
* return true to include the item or false to exclude it.
|
||||
* The point of this is to allow more specific conext menus which hide
|
||||
* The point of this is to allow more specific context menus which hide
|
||||
* non-relevant menu options, optimizing the speed of selection of menus
|
||||
*/
|
||||
export interface SelectorProps {
|
||||
@@ -69,7 +69,7 @@ export interface MenuItem {
|
||||
// or more importantly, if the delegating subMenu will be included.
|
||||
selector?: (props: SelectorProps) => boolean;
|
||||
|
||||
/** Adapts the item by filling in additional properties as requried */
|
||||
/** Adapts the item by filling in additional properties as required */
|
||||
adaptItem?: (item: MenuItem, props: ContextMenuProps) => UIMenuItem;
|
||||
|
||||
/** List of commands to run when this item's action is taken. */
|
||||
|
||||
Reference in new issue
Block a user