Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/components
/ functions
Functions
7,924 in github.com/angular/components
⨍
Functions
7,924
◇
Types & classes
6,071
↓ 2 callers
Method
addPanelClass
Add a CSS class or an array of classes to the overlay pane.
src/cdk/dialog/dialog-ref.ts:135
↓ 2 callers
Method
addRowDef
Adds a row definition that was not included as part of the content children.
src/cdk/table/table.ts:802
↓ 2 callers
Method
addSeconds
(date: Date, amount: number)
src/material/core/datetime/native-date-adapter.ts:303
↓ 2 callers
Method
addSvgIcon
* Registers an icon by URL in the default namespace. * @param iconName Name under which the icon should be registered. * @param url
src/material/icon/icon-registry.ts:165
↓ 2 callers
Method
addSvgIconLiteralInNamespace
* Registers an icon using an HTML string in the specified namespace. * @param namespace Namespace in which the icon should be registered. * @par
src/material/icon/icon-registry.ts:212
↓ 2 callers
Method
afterDismissed
Gets an observable that is notified when the snack bar is finished closing.
src/material/snack-bar/snack-bar-ref.ts:118
↓ 2 callers
Method
afterDismissed
Gets an observable that is notified when the bottom sheet is finished closing.
src/material/bottom-sheet/bottom-sheet-ref.ts:131
↓ 2 callers
Method
afterHidden
Returns an observable that notifies when the tooltip has been hidden from view.
src/material/tooltip/tooltip.ts:1052
↓ 2 callers
Method
afterOpened
Stream that emits when a dialog has been opened.
src/material/dialog/dialog.ts:82
↓ 2 callers
Method
anchor
Marks the given index as the potential start of a range selection.
src/aria/private/behaviors/tree/tree.ts:197
↓ 2 callers
Function
appendElements
Appends elements to the testContainerElement.
src/cdk/a11y/interactivity-checker/interactivity-checker.spec.ts:609
↓ 2 callers
Method
apply
* Updates the position of the overlay element, using whichever preferred position relative * to the origin best fits on-screen. * * The selec
src/cdk/overlay/position/flexible-connected-position-strategy.ts:230
↓ 2 callers
Method
applyChanges
( changes: IterableChanges<R>, viewContainerRef: ViewContainerRef, itemContextFactory: _ViewRepeat
src/cdk/collections/view-repeater.ts:97
↓ 2 callers
Method
applyColumnSize
( _: string, columnHeader: HTMLElement, sizeInPx: number, previousSizeInPx?: number, )
src/cdk-experimental/column-resize/resize-strategy.ts:124
↓ 2 callers
Method
ariaSelected
* The ARIA selected applied to the chip. Conforms to WAI ARIA best practices for listbox * interaction patterns. * * From [WAI ARIA Listbox a
src/material/chips/chip-option.ts:135
↓ 2 callers
Function
assertEndToStartSorting
( listOrientation: 'vertical' | 'horizontal', fixture: ComponentFixture<any>, getSortedSiblings: SortedS
src/cdk/drag-drop/directives/drop-list-shared.spec.ts:4949
↓ 2 callers
Function
assertStartToEndSorting
( listOrientation: 'vertical' | 'horizontal', fixture: ComponentFixture<any>, getSortedSiblings: SortedS
src/cdk/drag-drop/directives/drop-list-shared.spec.ts:4909
↓ 2 callers
Method
assignGroup
(isDisabled: boolean)
src/material/select/select.spec.ts:5549
↓ 2 callers
Method
attach
* Attaches this scroll strategy to a viewport. * @param viewport The viewport to attach this strategy to.
src/cdk/scrolling/virtual-scroll-strategy.ts:27
↓ 2 callers
Method
attachComponentPortal
* Attach the given ComponentPortal to DOM element. * @param portal Portal to be attached * @returns Reference to the created component.
src/cdk/portal/dom-portal-outlet.ts:46
↓ 2 callers
Function
attachOverlay
(config: OverlayConfig)
src/cdk/overlay/position/flexible-connected-position-strategy.spec.ts:53
↓ 2 callers
Method
attachOverlay
Attaches the overlay.
src/cdk/overlay/overlay-directives.ts:474
↓ 2 callers
Method
attachments
Gets an observable that emits when the overlay has been attached.
src/cdk/overlay/overlay-ref.ts:327
↓ 2 callers
Method
backdropClick
* Gets an observable that emits when the overlay's backdrop has been clicked.
src/material/bottom-sheet/bottom-sheet-ref.ts:143
↓ 2 callers
Function
batchChangeDetection
* Batches together triggering of change detection over the duration of the given function. * @param fn The function to call with batched change detec
src/cdk/testing/change-detection.ts:69
↓ 2 callers
Method
beforeClosed
* Gets an observable that is notified when the dialog has started closing.
src/material/dialog/dialog-ref.ts:175
↓ 2 callers
Method
cache
Caches the positions. Should be called at the beginning of a drag sequence.
src/cdk/drag-drop/dom/parent-position-tracker.ts:37
↓ 2 callers
Method
cancelTypeahead
Cancels the current typeahead sequence.
src/cdk/a11y/key-manager/list-key-manager.ts:168
↓ 2 callers
Method
checkViewportSize
Update the viewport dimensions and re-render.
src/cdk/scrolling/virtual-scroll-viewport.ts:499
↓ 2 callers
Function
clamp
Clamps a value to be between two numbers, by default 0 and 100.
src/material/progress-bar/progress-bar.ts:254
↓ 2 callers
Function
click
(target: HTMLElement)
src/aria/tree/tree.spec.ts:57
↓ 2 callers
Method
clickItem
* Clicks an item in the menu, and optionally continues clicking items in subsequent sub-menus. * @param itemFilter A filter used to represent which
src/material/menu/testing/menu-harness.ts:121
↓ 2 callers
Function
clickItemImplementation
( items: MatMenuItemHarness[], itemFilter: Omit<MenuItemHarnessFilters, 'ancestor'>, subItemFilters: Omi
src/material/menu/testing/menu-harness.ts:215
↓ 2 callers
Method
clone
(date: LuxonDateTime)
src/material-luxon-adapter/adapter/luxon-date-adapter.ts:146
↓ 2 callers
Method
clone
(date: Date)
src/material/core/datetime/native-date-adapter.ts:124
↓ 2 callers
Function
cloneSvg
Clones an SVGElement while preserving type information.
src/material/icon/icon-registry.ts:732
↓ 2 callers
Method
close
* See developers.google.com/maps/documentation/javascript/reference/info-window#InfoWindow.close
src/google-maps/map-info-window/map-info-window.ts:156
↓ 2 callers
Method
close
Closes the popup by setting the expanded state to false.
src/aria/private/behaviors/popup/popup.ts:43
↓ 2 callers
Method
close
Close the drawer.
src/material/sidenav/drawer.ts:541
↓ 2 callers
Method
close
Closes the menu.
src/material/menu/testing/menu-harness.ts:87
↓ 2 callers
Method
close
Close the opened menu.
src/cdk/menu/menu-trigger.ts:131
↓ 2 callers
Method
closeAll
Closes the menu and all parent menus.
src/aria/private/menu/menu.ts:460
↓ 2 callers
Method
closeAll
* Closes all of the currently-open dialogs.
src/material/dialog/dialog.ts:212
↓ 2 callers
Method
closeAll
* Closes all of the currently-open dialogs.
src/cdk/dialog/dialog.ts:168
↓ 2 callers
Method
closeEditOverlay
()
src/cdk-experimental/popover-edit/table-directives.ts:328
↓ 2 callers
Method
closeMenu
Closes the menu.
src/material/menu/menu-trigger.ts:132
↓ 2 callers
Method
closePopupOnFocusout
Closes the popup once focus has left both the combobox and the popup.
src/aria/private/combobox/combobox.ts:229
↓ 2 callers
Function
closestTableSection
* Finds the closest table section to an outlet. We can't use `HTMLElement.closest` for this, * because the node representing the outlet is a comment.
src/cdk/table/table.ts:1683
↓ 2 callers
Function
coerceStringArray
(value: any, separator: string | RegExp = /\s+/)
src/cdk/coercion/string-array.ts:26
↓ 2 callers
Method
colIndex
Gets the 1-based column index of a cell.
src/aria/private/behaviors/grid/grid.ts:117
↓ 2 callers
Method
collapse
Collapses this data node. Implemented for TreeKeyManagerItem.
src/cdk/tree/tree.ts:1453
↓ 2 callers
Method
collapseDescendants
Collapse a data node and all its descendants
src/cdk/tree/control/tree-control.ts:54
↓ 2 callers
Function
computeLineStartsMap
(text: string)
src/cdk/schematics/update-tool/utils/line-mappings.ts:41
↓ 2 callers
Method
connect
()
src/material/tree/tree.spec.ts:701
↓ 2 callers
Method
connect
(collectionViewer: CollectionViewer)
src/cdk/tree/tree.spec.ts:1576
↓ 2 callers
Method
controls
* See * https://developers.google.com/maps/documentation/javascript/reference/map#Map.controls
src/google-maps/google-map/google-map.ts:470
↓ 2 callers
Method
copy
* Copies the provided text into the user's clipboard. * * @param text The string to copy. * @returns Whether the operation was successful.
src/cdk/clipboard/clipboard.ts:25
↓ 2 callers
Method
countHarnesses
* Searches for all instances of the component corresponding to the given harness type under the * `HarnessLoader`'s root element, and returns the t
src/cdk/testing/component-harness.ts:147
↓ 2 callers
Function
createAdvancedMarkerConstructorSpy
( advancedMarkerSpy: jasmine.SpyObj<google.maps.marker.AdvancedMarkerElement>, )
src/google-maps/testing/fake-google-map-utils.ts:162
↓ 2 callers
Function
createAdvancedMarkerSpy
( options: google.maps.marker.AdvancedMarkerElementOptions, )
src/google-maps/testing/fake-google-map-utils.ts:149
↓ 2 callers
Function
createBlockElement
Creates a block element with a default size.
src/cdk/overlay/position/flexible-connected-position-strategy.spec.ts:3044
↓ 2 callers
Function
createCalendarCells
* Creates a 2d array of days, split into weeks. * @param weeks Number of weeks that should be generated.
src/material/datepicker/calendar-body.spec.ts:794
↓ 2 callers
Function
createComponent
( component: Type<T>, direction: Direction = 'ltr', additionalImports: Type<unknown>[] = [], )
src/material/chips/chip-grid.spec.ts:1106
↓ 2 callers
Function
createComponent
(component: Type<T>, providers: Provider[] = [])
src/material/autocomplete/autocomplete.spec.ts:58
↓ 2 callers
Function
createComponent
(component: Type<T>, providers: Provider[] = [])
src/material/datepicker/datepicker.spec.ts:67
↓ 2 callers
Method
createDate
(year: number, month: number, date: number)
src/material-moment-adapter/adapter/moment-date-adapter.ts:150
↓ 2 callers
Function
createDragRef
( injector: Injector, element: ElementRef<HTMLElement> | HTMLElement, config: DragRefConfig = { drag
src/cdk/drag-drop/drag-ref.ts:136
↓ 2 callers
Function
createDropListRef
( injector: Injector, element: ElementRef<HTMLElement> | HTMLElement, )
src/cdk/drag-drop/drop-list-ref.ts:57
↓ 2 callers
Function
createGridRows
(grid: GridPattern, data: TestRowData[])
src/aria/private/grid/grid.spec.ts:75
↓ 2 callers
Function
createMarkerConstructorSpy
( markerSpy: jasmine.SpyObj<google.maps.Marker>, )
src/google-maps/testing/fake-google-map-utils.ts:126
↓ 2 callers
Function
createMarkerSpy
( options: google.maps.MarkerOptions, )
src/google-maps/testing/fake-google-map-utils.ts:101
↓ 2 callers
Function
createMigrationSchematicRule
( targetVersion: TargetVersion, extraMigrations: NullableDevkitMigration[], upgradeData: UpgradeData,
src/cdk/schematics/ng-update/devkit-migration-rule.ts:66
↓ 2 callers
Function
createNode
(text: string, kind: ts.SyntaxKind)
src/material/schematics/migration-utilities/typescript/import-operations.spec.ts:110
↓ 2 callers
Method
createNode
(name: string, level: number, expandable: boolean)
src/components-examples/material/tree/tree-dynamic/tree-dynamic-example.ts:36
↓ 2 callers
Method
createStackBlitzForExample
Opens a StackBlitz for the specified example.
docs/src/app/shared/stackblitz/stackblitz-writer.ts:73
↓ 2 callers
Function
createTestCell
()
src/aria/private/behaviors/grid/grid.spec.ts:21
↓ 2 callers
Method
createTestElement
Creates a `TestElement` from a raw element.
src/cdk/testing/testbed/testbed-harness-environment.ts:216
↓ 2 callers
Function
createTestProject
( runner: SchematicTestRunner, projectType: 'application' | 'library', appOptions = {}, tree?: Tree, )
src/cdk/schematics/testing/test-project.ts:13
↓ 2 callers
Function
dateInputsHaveChanged
( changes: SimpleChanges, adapter: DateAdapter<unknown>, )
src/material/datepicker/datepicker-input-base.ts:427
↓ 2 callers
Method
deactivateInkBar
()
src/material/tabs/ink-bar.ts:28
↓ 2 callers
Function
defineCommonDropListTests
(config: { /** Orientation value that will be passed to tests checking vertical orientation. */ verticalLi
src/cdk/drag-drop/directives/drop-list-shared.spec.ts:59
↓ 2 callers
Method
detach
* Detaches the content. * @docs-private
src/material/menu/menu-content.ts:91
↓ 2 callers
Method
detach
Detaches this scroll strategy from the currently attached viewport.
src/cdk/scrolling/virtual-scroll-strategy.ts:30
↓ 2 callers
Method
directoryExists
(dirPath: Path)
src/cdk/schematics/ng-update/devkit-file-system.ts:49
↓ 2 callers
Method
disable
Disables repositioning of the attached overlay on scroll.
src/cdk/overlay/scroll/reposition-scroll-strategy.ts:94
↓ 2 callers
Method
disable
Disables the closing the attached overlay on scroll.
src/cdk/overlay/scroll/close-scroll-strategy.ts:97
↓ 2 callers
Function
disabled
()
src/material/list/list-base.ts:67
↓ 2 callers
Method
disconnect
()
src/material/table/table.spec.ts:638
↓ 2 callers
Method
disconnect
()
src/cdk/observers/private/shared-resize-observer.spec.ts:32
↓ 2 callers
Method
dismiss
Dismisses the snack bar.
src/material/snack-bar/snack-bar-ref.ts:62
↓ 2 callers
Method
displayWith
(v: number)
src/material/slider/slider.spec.ts:1907
↓ 2 callers
Method
doneEditingCell
* Stops editing for the specified cell. If the specified cell is not the current * edit cell, does nothing.
src/cdk-experimental/popover-edit/edit-event-dispatcher.ts:183
↓ 2 callers
Function
down
(modifierKeys?: ModifierKeys)
src/aria/listbox/listbox.spec.ts:56
↓ 2 callers
Method
down
Navigates to the cell below the currently active cell.
src/aria/private/behaviors/grid/grid.ts:141
↓ 2 callers
Function
end
(modifierKeys?: ModifierKeys)
src/aria/listbox/listbox.spec.ts:60
↓ 2 callers
Method
enterText
Enters text into the autocomplete.
src/material/autocomplete/testing/autocomplete-harness.ts:76
↓ 2 callers
Method
evaluate
* Evaluates whether the given harness satisfies this predicate. * @param harness The harness to check * @return A promise that resolves to true
src/cdk/testing/component-harness.ts:692
↓ 2 callers
Function
eventDispatchesNativeClick
( elementRef: ElementRef<HTMLElement>, event: KeyboardEvent, )
src/cdk/menu/event-detection.ts:13
↓ 2 callers
Method
expand
Expands the item, showing its children.
src/cdk/a11y/key-manager/tree-key-manager-strategy.ts:36
↓ 2 callers
Method
expand
Expands this data node. Implemented for TreeKeyManagerItem.
src/cdk/tree/tree.ts:1460
← previous
next →
1,301–1,400 of 7,924, ranked by callers