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
↓ 1 callers
Function
addThemeToAppStyles
(options: Schema)
src/material/schematics/ng-add/theming/theming.ts:31
↓ 1 callers
Function
addTreeModulesToModule
* Adds the required modules to the relative module.
src/material/schematics/ng-generate/tree/index.ts:40
↓ 1 callers
Function
adevRedirect
(path: string)
docs/src/app/routes.ts:85
↓ 1 callers
Method
afterOpened
Gets an observable that is notified when the snack bar has opened and appeared.
src/material/snack-bar/snack-bar-ref.ts:123
↓ 1 callers
Method
afterOpened
Gets an observable that is notified when the bottom sheet has opened and appeared.
src/material/bottom-sheet/bottom-sheet-ref.ts:136
↓ 1 callers
Method
alignToElement
Aligns the ink bar to a DOM node.
src/material/tabs/ink-bar.ts:55
↓ 1 callers
Method
allowFocus
Reverts elements made unfocusable by preventFocus to their previous state.
src/cdk/a11y/focus-trap/focus-trap-inert-strategy.ts:24
↓ 1 callers
Function
analyzeDecorators
* Analyzes the decorators of the given parameter. Returns whether it has * an `@Inject` or `@Optional` decorator applied.
tools/tslint-rules/lightweightTokensRule.ts:168
↓ 1 callers
Function
analyzeExamples
* Analyzes the examples by parsing the given TypeScript files in order to find * individual example modules and example metadata.
tools/example-module/generate-example-module.ts:82
↓ 1 callers
Method
ancestorScrolled
* Returns an observable that emits whenever any of the * scrollable ancestors of an element are scrolled. * @param elementOrElementRef Element w
src/cdk/scrolling/scroll-dispatcher.ts:133
↓ 1 callers
Function
animationStartCallback
()
src/cdk/text-field/autofill.zone.spec.ts:33
↓ 1 callers
Function
animationStartCallback
()
src/cdk/text-field/autofill.spec.ts:91
↓ 1 callers
Method
announce
(message: LiveAnnouncerMessage, ...args: any[])
src/cdk/a11y/live-announcer/live-announcer.ts:95
↓ 1 callers
Function
append
(text: string)
src/cdk/testing/private/run-accessibility-checks.ts:35
↓ 1 callers
Function
appendHtmlElementToHead
(host: Tree, htmlFilePath: string, elementHtml: string)
src/cdk/schematics/utils/html-manipulation.ts:14
↓ 1 callers
Method
applyColumnSize
( cssFriendlyColumnName: string, columnHeader: HTMLElement, sizeInPx: number, previousSizeInPx
src/cdk-experimental/column-resize/resize-strategy.ts:181
↓ 1 callers
Method
applyMaxColumnSize
(cssFriendlyColumnName: string, _: HTMLElement, sizeInPx: number)
src/cdk-experimental/column-resize/resize-strategy.ts:216
↓ 1 callers
Method
applyMinColumnSize
(cssFriendlyColumnName: string, _: HTMLElement, sizeInPx: number)
src/cdk-experimental/column-resize/resize-strategy.ts:204
↓ 1 callers
Method
areChildrenLoading
()
src/components-examples/cdk/tree/cdk-tree-complex/cdk-tree-complex-example.ts:53
↓ 1 callers
Function
assertArrowKeyInteractionInRtl
Asserts that arrow key direction works correctly in RTL mode.
src/material/stepper/stepper.spec.ts:1745
↓ 1 callers
Function
assertCorrectKeyboardInteraction
Asserts that keyboard interaction works correctly.
src/material/stepper/stepper.spec.ts:1644
↓ 1 callers
Function
assertNextButtonScrolling
* Asserts that auto scrolling using the next button works. * @param startEventName Name of the event that is supposed to start the scrolling.
src/material/tabs/tab-header.spec.ts:509
↓ 1 callers
Function
assertPrevButtonScrolling
* Asserts that auto scrolling using the previous button works. * @param startEventName Name of the event that is supposed to start the scrollin
src/material/tabs/tab-header.spec.ts:544
↓ 1 callers
Function
assertReferencedExampleFileExists
Asserts that the given file exists for the specified example.
tools/example-module/generate-example-module.ts:161
↓ 1 callers
Function
assertSelectKeyWithModifierInteraction
Asserts that keyboard interaction works correctly when the user is pressing a modifier key.
src/material/stepper/stepper.spec.ts:1766
↓ 1 callers
Function
assertStickyOffsets
(position: number)
src/cdk/table/table.spec.ts:2134
↓ 1 callers
Function
assertTooltipInstance
Asserts whether a tooltip directive has a tooltip instance.
src/material/tooltip/tooltip.spec.ts:1691
↓ 1 callers
Function
assertValidDate
(adapter: DateAdapter<Date, Locale>, d: Date | null, valid: boolean)
src/material-date-fns-adapter/adapter/date-fns-adapter.spec.ts:615
↓ 1 callers
Function
assignAndAssert
(start: Date, end: Date)
src/material/datepicker/date-range-input.spec.ts:656
↓ 1 callers
Function
asterisk
(mods?: ModifierKeys)
src/aria/private/tree/tree.spec.ts:33
↓ 1 callers
Function
asyncValidator
(minLength: number, validationTrigger: Subject<void>)
src/material/stepper/stepper.spec.ts:1812
↓ 1 callers
Method
atRule
Checks whether an @-rule needs to be prefixed.
tools/stylelint/no-prefixes/needs-prefix.ts:28
↓ 1 callers
Method
attachComponentPortal
Attach a component portal as content to this snack bar container.
src/material/snack-bar/snack-bar-container.ts:150
↓ 1 callers
Method
attachComponentPortal
* Attach a ComponentPortal as content to this dialog container. * @param portal Portal to be attached as the dialog content.
src/cdk/dialog/dialog-container.ts:166
↓ 1 callers
Function
attachOverlay
(config: OverlayConfig)
src/cdk/overlay/position/global-position-strategy.spec.ts:28
↓ 1 callers
Method
attachTemplatePortal
Attach a template portal as content to this snack bar container.
src/material/snack-bar/snack-bar-container.ts:158
↓ 1 callers
Method
attachTemplatePortal
* Attach a TemplatePortal as content to this dialog container. * @param portal Portal to be attached as the dialog content.
src/cdk/dialog/dialog-container.ts:180
↓ 1 callers
Method
autoFocusNext
(control: Field<string>, nextElement?: HTMLInputElement)
src/components-examples/material/form-field/form-field-custom-control/form-field-custom-control-example.ts:175
↓ 1 callers
Function
blur
(relatedTarget?: EventTarget)
src/aria/combobox/combobox.spec.ts:62
↓ 1 callers
Function
blur
()
src/material/slider/slider.spec.ts:644
↓ 1 callers
Function
buildConfiguration
Build a list of configuration (custom launcher names).
test/browser-providers.js:19
↓ 1 callers
Function
buildDefaultPath
* Build a default project path for generating. * @param project The project to build the path for.
src/cdk/schematics/utils/build-component.ts:44
↓ 1 callers
Function
buildHierarchy
(items: TestItem<V>[], hierarchy: {[key: number]: number[]})
src/aria/private/behaviors/tree/tree.spec.ts:81
↓ 1 callers
Function
buildItems
( treeData: TestTreeItem<V>[], parent: TreeItemPattern<V> | TreePattern<V>, )
src/aria/private/tree/tree.spec.ts:74
↓ 1 callers
Function
buildSelector
(options: ComponentOptions, projectPrefix?: string)
src/cdk/schematics/utils/build-component.ts:124
↓ 1 callers
Function
canActivateComponentSidenav
docs/src/app/pages/component-sidenav/component-sidenav-can-load-guard.ts:17
↓ 1 callers
Method
cancel
Cancels the current selection.
src/material/datepicker/testing/datepicker-actions-harness.ts:45
↓ 1 callers
Method
cdkVirtualForTrackBy
()
src/cdk/scrolling/virtual-for-of.ts:130
↓ 1 callers
Method
changeView
Changes the calendar view by clicking on the view toggle button.
src/material/datepicker/testing/calendar-harness.ts:64
↓ 1 callers
Method
check
* Puts the checkbox in a checked state by toggling it if it is currently unchecked, or doing * nothing if it is already checked. * * Note: Th
src/material/checkbox/testing/checkbox-harness.ts:157
↓ 1 callers
Method
check
* Puts the button toggle in a checked state by toggling it if it's * currently unchecked, or doing nothing if it is already checked.
src/material/button-toggle/testing/button-toggle-harness.ts:113
↓ 1 callers
Method
check
* Puts the slide-toggle in a checked state by toggling it if it is currently unchecked, or doing * nothing if it is already checked.
src/material/slide-toggle/testing/slide-toggle-harness.ts:134
↓ 1 callers
Method
checkAll
()
src/material/select/select.spec.ts:5478
↓ 1 callers
Function
checkCellContent
(actualCell: string, expectedCell: string)
src/material/table/table.spec.ts:1117
↓ 1 callers
Function
checkCellContent
(actualCell: string, expectedCell: string)
src/cdk/table/table.spec.ts:3541
↓ 1 callers
Function
checkClassDeclarationForLightweightToken
* Checks whether the given class declarations has a constructor with parameters * for which lightweight tokens are suitable (for optimized tree shaki
tools/tslint-rules/lightweightTokensRule.ts:62
↓ 1 callers
Function
checkConstructorForLightweightTokens
* Checks whether the given constructor has parameters where a lightweight * token is suitable.
tools/tslint-rules/lightweightTokensRule.ts:85
↓ 1 callers
Function
checkInput
( input: MatSliderThumb, { min, max, value, translateX, width, ste
src/material/slider/slider.spec.ts:48
↓ 1 callers
Function
checkIsElement
(result: ComponentHarness | TestElement, selector?: string)
src/cdk/testing/tests/cross-environment-tests.ts:713
↓ 1 callers
Function
checkIsHarness
( result: ComponentHarness | TestElement, harnessType: ComponentHarnessConstructor<T>, finalCheck?: (har
src/cdk/testing/tests/cross-environment-tests.ts:720
↓ 1 callers
Function
checkLevel
(node: Element, expectedNode: NodeContent)
src/material/tree/tree.spec.ts:776
↓ 1 callers
Function
checkLevel
(node: Element, expectedNode: NodeContent)
src/material/tree/tree-using-tree-control.spec.ts:774
↓ 1 callers
Function
checkLevel
(node: Element, expectedNode: any[])
src/cdk/tree/tree.spec.ts:1668
↓ 1 callers
Function
checkLevel
(node: Element, expectedNode: any[])
src/cdk/tree/tree-with-tree-control.spec.ts:1369
↓ 1 callers
Function
checkNode
(node: Element, expectedNode: NodeContent)
src/material/tree/tree.spec.ts:766
↓ 1 callers
Function
checkNode
(node: Element, expectedNode: NodeContent)
src/material/tree/tree-using-tree-control.spec.ts:764
↓ 1 callers
Function
checkNode
(node: Element, expectedNode: any[])
src/cdk/tree/tree.spec.ts:1658
↓ 1 callers
Function
checkNode
(node: Element, expectedNode: any[])
src/cdk/tree/tree-with-tree-control.spec.ts:1359
↓ 1 callers
Function
checkNodeContent
(node: Element, expectedNode: NodeContent)
src/material/tree/tree.spec.ts:809
↓ 1 callers
Function
checkNodeContent
(node: Element, expectedNode: NodeContent)
src/material/tree/tree-using-tree-control.spec.ts:807
↓ 1 callers
Function
checkNodeContent
(node: Element, expectedNode: any[])
src/cdk/tree/tree.spec.ts:1693
↓ 1 callers
Function
checkNodeContent
(node: Element, expectedNode: any[])
src/cdk/tree/tree-with-tree-control.spec.ts:1394
↓ 1 callers
Function
checkNodeDescendants
(node: Element, expectedNode: NodeContent, currentIndex: number)
src/material/tree/tree.spec.ts:819
↓ 1 callers
Function
checkNodeDescendants
(node: Element, expectedNode: NodeContent, currentIndex: number)
src/material/tree/tree-using-tree-control.spec.ts:817
↓ 1 callers
Function
checkNodeDescendants
(node: Element, expectedNode: any[], currentIndex: number)
src/cdk/tree/tree.spec.ts:1703
↓ 1 callers
Function
checkNodeDescendants
(node: Element, expectedNode: any[], currentIndex: number)
src/cdk/tree/tree-with-tree-control.spec.ts:1404
↓ 1 callers
Method
checkRadioButton
* Checks a radio button in this group. * @param filter An optional filter to apply to the child radio buttons. The first tab matching * the
src/material/radio/testing/radio-harness.ts:100
↓ 1 callers
Function
checkSelectedIndex
* Checks that the `selectedIndex` has been updated; checks that the label and body have their * respective `active` classes
src/material/tabs/tab-group.spec.ts:1036
↓ 1 callers
Function
clamp
Clamps a value between a minimum and a maximum.
src/cdk/drag-drop/drag-ref.ts:1665
↓ 1 callers
Method
classNameForFontAlias
* Returns the CSS class name associated with the alias by a previous call to * registerFontClassAlias. If no CSS class has been associated, returns
src/material/icon/icon-registry.ts:310
↓ 1 callers
Function
cleanupAndPrepareReportsDir
()
docs/tools/lighthouse-audit.mjs:165
↓ 1 callers
Method
clear
Clears the search query and all selected options.
src/components-examples/aria/combobox/combobox-multiselect-dialog/combobox-multiselect-dialog-example.ts:74
↓ 1 callers
Method
clear
Clears the search query and all selected options.
src/components-examples/aria/combobox/combobox-editable-multiselect/combobox-editable-multiselect-example.ts:74
↓ 1 callers
Method
clear
Clears the query and the listbox value.
src/components-examples/aria/autocomplete/autocomplete-manual/autocomplete-manual-example.ts:47
↓ 1 callers
Method
clear
Clears the query and the listbox value.
src/components-examples/aria/autocomplete/autocomplete-highlight/autocomplete-highlight-example.ts:54
↓ 1 callers
Method
clear
Clears the query and the listbox value.
src/components-examples/aria/autocomplete/autocomplete-auto-select/autocomplete-auto-select-example.ts:47
↓ 1 callers
Method
clear
Clears the cached positions.
src/cdk/drag-drop/dom/parent-position-tracker.ts:32
↓ 1 callers
Method
clear
* Clears the current text from the announcer element. Can be used to prevent * screen readers from reading the text out again while the user is goi
src/cdk/a11y/live-announcer/live-announcer.ts:162
↓ 1 callers
Function
clearLeftoverTimers
()
src/cdk-experimental/popover-edit/popover-edit.spec.ts:1248
↓ 1 callers
Function
clearLeftoverTimers
()
src/material-experimental/popover-edit/popover-edit.spec.ts:908
↓ 1 callers
Method
clearMenu
()
src/aria/menu/menu.spec.ts:1584
↓ 1 callers
Method
clearStorage
()
docs/src/app/shared/theme-picker/theme-storage/theme-storage.ts:41
↓ 1 callers
Function
click
(element: HTMLElement, eventInit?: PointerEventInit)
src/aria/toolbar/toolbar.spec.ts:26
↓ 1 callers
Function
click
(element: HTMLElement, eventInit?: PointerEventInit)
src/aria/combobox/combobox.spec.ts:51
↓ 1 callers
Function
click
(target: HTMLElement)
src/aria/accordion/accordion.spec.ts:19
↓ 1 callers
Function
click
(element: Element, eventInit?: PointerEventInit)
src/aria/menu/menu.spec.ts:47
↓ 1 callers
Function
click
(options: TestOption[], index: number, mods?: ModifierKeys)
src/aria/private/listbox/listbox.spec.ts:587
↓ 1 callers
Function
click
(target: HTMLElement, eventInit?: PointerEventInit)
src/aria/tabs/tabs.spec.ts:51
↓ 1 callers
Function
clickElementAtPoint
* Clicks an element at a specific point. Useful if there's another element * that covers part of the target and can catch the click.
src/material/slider/slider.e2e.spec.ts:196
↓ 1 callers
Function
clickItem
(item: ToolbarWidgetPattern, mods?: ModifierKeys)
src/aria/private/toolbar/toolbar.spec.ts:49
← previous
next →
2,701–2,800 of 7,924, ranked by callers