_id
stringlengths
21
254
text
stringlengths
1
93.7k
metadata
dict
components/src/material/input/input.spec.ts_30194_39995
it('should not throw if a native select does not have options', fakeAsync(() => { const fixture = createComponent(MatInputSelectWithoutOptions); expect(() => fixture.detectChanges()).not.toThrow(); })); it('should be able to toggle the floating label programmatically', fakeAsync(() => { const fixture =...
{ "end_byte": 39995, "start_byte": 30194, "url": "https://github.com/angular/components/blob/main/src/material/input/input.spec.ts" }
components/src/material/input/input.spec.ts_39996_49725
() => { describe('error messages', () => { let fixture: ComponentFixture<MatInputWithFormErrorMessages>; let testComponent: MatInputWithFormErrorMessages; let containerEl: HTMLElement; let inputEl: HTMLInputElement; beforeEach(fakeAsync(() => { fixture = createComponent(MatInputWithFormErro...
{ "end_byte": 49725, "start_byte": 39996, "url": "https://github.com/angular/components/blob/main/src/material/input/input.spec.ts" }
components/src/material/input/input.spec.ts_49729_55970
describe('custom error behavior', () => { it('should display an error message when a custom error matcher returns true', fakeAsync(() => { let fixture = createComponent(InputInFormGroup); fixture.detectChanges(); let component = fixture.componentInstance; let containerEl = fixture.debugElem...
{ "end_byte": 55970, "start_byte": 49729, "url": "https://github.com/angular/components/blob/main/src/material/input/input.spec.ts" }
components/src/material/input/input.spec.ts_55972_65320
describe('MatFormField default options', () => { it('should be fill appearance if no default options provided', () => { const fixture = createComponent(MatInputWithAppearance); fixture.detectChanges(); expect(fixture.componentInstance.formField.appearance).toBe('fill'); }); it('should be fill appeara...
{ "end_byte": 65320, "start_byte": 55972, "url": "https://github.com/angular/components/blob/main/src/material/input/input.spec.ts" }
components/src/material/input/input.spec.ts_65322_73083
@Component({ template: `<mat-form-field><input matInput><mat-hint>{{label}}</mat-hint></mat-form-field>`, standalone: false, }) class MatInputHintLabel2TestController { label: string = ''; } @Component({ template: ` <mat-form-field [hintLabel]="label"> <input matInput aria-describedby="initial"> ...
{ "end_byte": 73083, "start_byte": 65322, "url": "https://github.com/angular/components/blob/main/src/material/input/input.spec.ts" }
components/src/material/input/input.spec.ts_73085_78060
@Component({ template: ` <mat-form-field [floatLabel]="floatLabel" [appearance]="appearance"> <mat-label>Label</mat-label> <input matInput placeholder="Placeholder"> </mat-form-field> `, standalone: false, }) class MatInputWithLabelAndPlaceholder { floatLabel: FloatLabelType; appearance: M...
{ "end_byte": 78060, "start_byte": 73085, "url": "https://github.com/angular/components/blob/main/src/material/input/input.spec.ts" }
components/src/material/input/README.md_0_96
Please see the official documentation at https://material.angular.io/components/component/input
{ "end_byte": 96, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/input/README.md" }
components/src/material/input/BUILD.bazel_0_1414
load( "//tools:defaults.bzl", "extract_tokens", "markdown_to_html", "ng_module", "ng_test_library", "ng_web_test_suite", "sass_library", ) package(default_visibility = ["//visibility:public"]) ng_module( name = "input", srcs = glob( ["**/*.ts"], exclude = ["**/*.spe...
{ "end_byte": 1414, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/input/BUILD.bazel" }
components/src/material/input/_input-theme.scss_0_1918
@use '../core/theming/theming'; @use '../core/theming/inspection'; @use '../core/theming/validation'; @use '../core/typography/typography'; @use '../core/tokens/token-utils'; @mixin base($theme) { @if inspection.get-theme-version($theme) == 1 { @include _theme-from-tokens(inspection.get-theme-tokens($theme, base...
{ "end_byte": 1918, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/input/_input-theme.scss" }
components/src/material/input/index.ts_0_234
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ export * from './public-api';
{ "end_byte": 234, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/input/index.ts" }
components/src/material/input/testing/input-harness.ts_0_4963
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {HarnessPredicate, parallel} from '@angular/cdk/testing'; import {MatFormFieldControlHarness} from '@angular/...
{ "end_byte": 4963, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/input/testing/input-harness.ts" }
components/src/material/input/testing/native-option-harness.ts_0_2083
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {ComponentHarness, HarnessPredicate} from '@angular/cdk/testing'; import {NativeOptionHarnessFilters} from '....
{ "end_byte": 2083, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/input/testing/native-option-harness.ts" }
components/src/material/input/testing/native-select-harness.ts_0_3661
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {HarnessPredicate, parallel} from '@angular/cdk/testing'; import {MatFormFieldControlHarness} from '@angular/...
{ "end_byte": 3661, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/input/testing/native-select-harness.ts" }
components/src/material/input/testing/input-harness.spec.ts_0_523
import {Component, signal} from '@angular/core'; import {ComponentFixture, TestBed} from '@angular/core/testing'; import {HarnessLoader} from '@angular/cdk/testing'; import {TestbedHarnessEnvironment} from '@angular/cdk/testing/testbed'; import {FormsModule} from '@angular/forms'; import {MatInputModule} from '@angular...
{ "end_byte": 523, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/input/testing/input-harness.spec.ts" }
components/src/material/input/testing/input-harness.spec.ts_525_9277
describe('MatInputHarness', () => { let fixture: ComponentFixture<InputHarnessTest>; let loader: HarnessLoader; beforeEach(() => { TestBed.configureTestingModule({ imports: [NoopAnimationsModule, MatInputModule, FormsModule, InputHarnessTest], }); fixture = TestBed.createComponent(InputHarness...
{ "end_byte": 9277, "start_byte": 525, "url": "https://github.com/angular/components/blob/main/src/material/input/testing/input-harness.spec.ts" }
components/src/material/input/testing/input-harness.spec.ts_9279_10927
@Component({ template: ` <mat-form-field> <input matInput placeholder="Favorite food" value="Sushi" name="favorite-food"> </mat-form-field> <mat-form-field> <input matInput [type]="inputType()" [readonly]="readonly()" [disabled]="disabled()" [disabledIn...
{ "end_byte": 10927, "start_byte": 9279, "url": "https://github.com/angular/components/blob/main/src/material/input/testing/input-harness.spec.ts" }
components/src/material/input/testing/public-api.ts_0_409
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ export * from './input-harness'; export * from './input-harness-filters'; export * from './native-select-harness'; e...
{ "end_byte": 409, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/input/testing/public-api.ts" }
components/src/material/input/testing/native-select-harness-filters.ts_0_676
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {BaseHarnessFilters} from '@angular/cdk/testing'; /** A set of criteria that can be used to filter a list of...
{ "end_byte": 676, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/input/testing/native-select-harness-filters.ts" }
components/src/material/input/testing/BUILD.bazel_0_865
load("//tools:defaults.bzl", "ng_test_library", "ng_web_test_suite", "ts_library") package(default_visibility = ["//visibility:public"]) ts_library( name = "testing", srcs = glob( ["**/*.ts"], exclude = ["**/*.spec.ts"], ), deps = [ "//src/cdk/coercion", "//src/cdk/test...
{ "end_byte": 865, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/input/testing/BUILD.bazel" }
components/src/material/input/testing/index.ts_0_234
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ export * from './public-api';
{ "end_byte": 234, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/input/testing/index.ts" }
components/src/material/input/testing/native-select-harness.spec.ts_0_7948
import {Component, signal} from '@angular/core'; import {ComponentFixture, TestBed} from '@angular/core/testing'; import {HarnessLoader, parallel} from '@angular/cdk/testing'; import {TestbedHarnessEnvironment} from '@angular/cdk/testing/testbed'; import {FormsModule} from '@angular/forms'; import {MatInputModule} from...
{ "end_byte": 7948, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/input/testing/native-select-harness.spec.ts" }
components/src/material/input/testing/input-harness-filters.ts_0_592
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {BaseHarnessFilters} from '@angular/cdk/testing'; /** A set of criteria that can be used to filter a list of...
{ "end_byte": 592, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/input/testing/input-harness-filters.ts" }
components/src/material/progress-bar/module.ts_0_475
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {NgModule} from '@angular/core'; import {MatCommonModule} from '@angular/material/core'; import {MatProgressB...
{ "end_byte": 475, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/progress-bar/module.ts" }
components/src/material/progress-bar/public-api.ts_0_262
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ export * from './progress-bar'; export * from './module';
{ "end_byte": 262, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/progress-bar/public-api.ts" }
components/src/material/progress-bar/README.md_0_103
Please see the official documentation at https://material.angular.io/components/component/progress-bar
{ "end_byte": 103, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/progress-bar/README.md" }
components/src/material/progress-bar/progress-bar.ts_0_7966
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import { ChangeDetectionStrategy, Component, ViewEncapsulation, ElementRef, NgZone, Input, Output, E...
{ "end_byte": 7966, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/progress-bar/progress-bar.ts" }
components/src/material/progress-bar/progress-bar.spec.ts_0_9818
import {dispatchFakeEvent} from '@angular/cdk/testing/private'; import { ApplicationRef, Component, DebugElement, EnvironmentProviders, Provider, Type, } from '@angular/core'; import {ComponentFixture, TestBed} from '@angular/core/testing'; import {By} from '@angular/platform-browser'; import {MAT_PROGRESS_...
{ "end_byte": 9818, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/progress-bar/progress-bar.spec.ts" }
components/src/material/progress-bar/progress-bar.spec.ts_9824_13161
describe('animation trigger on buffer setting', () => { let fixture: ComponentFixture<BufferProgressBar>; let progressElement: DebugElement; let progressComponent: MatProgressBar; let primaryValueBar: DebugElement; beforeEach(() => { fixture = createComponent(BufferProgressBar); ...
{ "end_byte": 13161, "start_byte": 9824, "url": "https://github.com/angular/components/blob/main/src/material/progress-bar/progress-bar.spec.ts" }
components/src/material/progress-bar/progress-bar.html_0_893
<!-- All children need to be hidden for screen readers in order to support ChromeVox. More context in the issue: https://github.com/angular/components/issues/22165. --> <div class="mdc-linear-progress__buffer" aria-hidden="true"> <div class="mdc-linear-progress__buffer-bar" [style.flex-basis]="_getBufferB...
{ "end_byte": 893, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/progress-bar/progress-bar.html" }
components/src/material/progress-bar/progress-bar.scss_0_1750
@use '@angular/cdk'; @use '../core/tokens/m2/mdc/linear-progress' as tokens-mdc-linear-progress; @use '../core/tokens/token-utils'; @use '../core/style/vendor-prefixes'; .mat-mdc-progress-bar { // Explicitly set to `block` since the browser defaults custom elements to `inline`. display: block; // Explicitly set...
{ "end_byte": 1750, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/progress-bar/progress-bar.scss" }
components/src/material/progress-bar/progress-bar.scss_1752_8265
.mdc-linear-progress__bar { position: absolute; top: 0; bottom: 0; margin: auto 0; width: 100%; animation: none; transform-origin: top left; transition: transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1); @include token-utils.use-tokens( tokens-mdc-linear-progress.$prefix, tokens-mdc-linear-pro...
{ "end_byte": 8265, "start_byte": 1752, "url": "https://github.com/angular/components/blob/main/src/material/progress-bar/progress-bar.scss" }
components/src/material/progress-bar/progress-bar.scss_8267_9295
@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse { 0% { transform: translateX(0); } 20% { animation-timing-function: cubic-bezier(0.5, 0, 0.701732, 0.495819); transform: translateX(0); } 59.15% { animation-timing-function: cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);...
{ "end_byte": 9295, "start_byte": 8267, "url": "https://github.com/angular/components/blob/main/src/material/progress-bar/progress-bar.scss" }
components/src/material/progress-bar/BUILD.bazel_0_1383
load( "//tools:defaults.bzl", "extract_tokens", "markdown_to_html", "ng_module", "ng_test_library", "ng_web_test_suite", "sass_binary", "sass_library", ) package(default_visibility = ["//visibility:public"]) ng_module( name = "progress-bar", srcs = glob( ["**/*.ts"], ...
{ "end_byte": 1383, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/progress-bar/BUILD.bazel" }
components/src/material/progress-bar/index.ts_0_234
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ export * from './public-api';
{ "end_byte": 234, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/progress-bar/index.ts" }
components/src/material/progress-bar/_progress-bar-theme.scss_0_4122
@use '../core/style/sass-utils'; @use '../core/theming/theming'; @use '../core/theming/inspection'; @use '../core/theming/validation'; @use '../core/tokens/token-utils'; @use '../core/tokens/m2/mdc/linear-progress' as tokens-mdc-linear-progress; /// Outputs base theme styles (styles not dependent on the color, typogra...
{ "end_byte": 4122, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/progress-bar/_progress-bar-theme.scss" }
components/src/material/progress-bar/progress-bar.md_0_1764
`<mat-progress-bar>` is a horizontal progress-bar for indicating progress and activity. ### Progress mode The progress-bar supports four modes: determinate, indeterminate, buffer and query. #### Determinate Operations where the percentage of the operation complete is known should use the determinate indicator. <!-- ...
{ "end_byte": 1764, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/progress-bar/progress-bar.md" }
components/src/material/progress-bar/testing/public-api.ts_0_292
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ export * from './progress-bar-harness'; export * from './progress-bar-harness-filters';
{ "end_byte": 292, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/progress-bar/testing/public-api.ts" }
components/src/material/progress-bar/testing/progress-bar-harness-filters.ts_0_432
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {BaseHarnessFilters} from '@angular/cdk/testing'; /** A set of criteria that can be used to filter a list of...
{ "end_byte": 432, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/progress-bar/testing/progress-bar-harness-filters.ts" }
components/src/material/progress-bar/testing/progress-bar-harness.ts_0_1551
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {coerceNumberProperty} from '@angular/cdk/coercion'; import { ComponentHarness, ComponentHarnessConstruct...
{ "end_byte": 1551, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/progress-bar/testing/progress-bar-harness.ts" }
components/src/material/progress-bar/testing/BUILD.bazel_0_770
load("//tools:defaults.bzl", "ng_module", "ng_test_library", "ng_web_test_suite") package(default_visibility = ["//visibility:public"]) ng_module( name = "testing", srcs = glob( ["**/*.ts"], exclude = ["**/*.spec.ts"], ), deps = [ "//src/cdk/coercion", "//src/cdk/testin...
{ "end_byte": 770, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/progress-bar/testing/BUILD.bazel" }
components/src/material/progress-bar/testing/index.ts_0_234
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ export * from './public-api';
{ "end_byte": 234, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/progress-bar/testing/index.ts" }
components/src/material/progress-bar/testing/progress-bar-harness.spec.ts_0_1922
import {Component, signal} from '@angular/core'; import {ComponentFixture, TestBed} from '@angular/core/testing'; import {HarnessLoader} from '@angular/cdk/testing'; import {TestbedHarnessEnvironment} from '@angular/cdk/testing/testbed'; import {MatProgressBarModule} from '@angular/material/progress-bar'; import {MatPr...
{ "end_byte": 1922, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/progress-bar/testing/progress-bar-harness.spec.ts" }
components/src/material/slide-toggle/slide-toggle.ts_0_2559
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import { AfterContentInit, booleanAttribute, ChangeDetectionStrategy, ChangeDetectorRef, Component, Elem...
{ "end_byte": 2559, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/slide-toggle/slide-toggle.ts" }
components/src/material/slide-toggle/slide-toggle.ts_2560_10543
class MatSlideToggle implements OnDestroy, AfterContentInit, OnChanges, ControlValueAccessor, Validator { private _elementRef = inject(ElementRef); protected _focusMonitor = inject(FocusMonitor); protected _changeDetectorRef = inject(ChangeDetectorRef); defaults = inject<MatSlideToggleDefaultOptions>(MAT_SLID...
{ "end_byte": 10543, "start_byte": 2560, "url": "https://github.com/angular/components/blob/main/src/material/slide-toggle/slide-toggle.ts" }
components/src/material/slide-toggle/slide-toggle.spec.ts_0_1076
import {FocusMonitor} from '@angular/cdk/a11y'; import {BidiModule, Direction} from '@angular/cdk/bidi'; import {dispatchFakeEvent} from '@angular/cdk/testing/private'; import {Component} from '@angular/core'; import { ComponentFixture, TestBed, fakeAsync, flush, flushMicrotasks, inject, tick, } from '@an...
{ "end_byte": 1076, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/slide-toggle/slide-toggle.spec.ts" }
components/src/material/slide-toggle/slide-toggle.spec.ts_1080_10896
describe('basic behavior', () => { let fixture: ComponentFixture<any>; let testComponent: SlideToggleBasic; let slideToggle: MatSlideToggle; let slideToggleElement: HTMLElement; let labelElement: HTMLLabelElement; let buttonElement: HTMLButtonElement; beforeEach(() => { fixture = Tes...
{ "end_byte": 10896, "start_byte": 1080, "url": "https://github.com/angular/components/blob/main/src/material/slide-toggle/slide-toggle.spec.ts" }
components/src/material/slide-toggle/slide-toggle.spec.ts_10902_20120
it('should not manually move focus to underlying when focus comes from mouse or touch', fakeAsync( inject([FocusMonitor], (focusMonitor: FocusMonitor) => { expect(document.activeElement).not.toBe(buttonElement); focusMonitor.focusVia(slideToggleElement, 'mouse'); fixture.detectChanges(); ...
{ "end_byte": 20120, "start_byte": 10902, "url": "https://github.com/angular/components/blob/main/src/material/slide-toggle/slide-toggle.spec.ts" }
components/src/material/slide-toggle/slide-toggle.spec.ts_20122_28876
describe('MatSlideToggle with forms', () => { beforeEach(() => { TestBed.configureTestingModule({ imports: [ MatSlideToggleModule, FormsModule, ReactiveFormsModule, SlideToggleWithForm, SlideToggleWithModel, SlideToggleWithFormControl, SlideToggleWithM...
{ "end_byte": 28876, "start_byte": 20122, "url": "https://github.com/angular/components/blob/main/src/material/slide-toggle/slide-toggle.spec.ts" }
components/src/material/slide-toggle/slide-toggle.spec.ts_28880_36053
describe('with form element', () => { let fixture: ComponentFixture<any>; let testComponent: SlideToggleWithForm; let buttonElement: HTMLButtonElement; // This initialization is async() because it needs to wait for ngModel to set the initial value. beforeEach(fakeAsync(() => { fixture = TestB...
{ "end_byte": 36053, "start_byte": 28880, "url": "https://github.com/angular/components/blob/main/src/material/slide-toggle/slide-toggle.spec.ts" }
components/src/material/slide-toggle/slide-toggle-required-validator.ts_0_1419
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {Directive, forwardRef, Provider} from '@angular/core'; import {CheckboxRequiredValidator, NG_VALIDATORS} fro...
{ "end_byte": 1419, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/slide-toggle/slide-toggle-required-validator.ts" }
components/src/material/slide-toggle/module.ts_0_862
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {NgModule} from '@angular/core'; import {MatCommonModule} from '@angular/material/core'; import {MatSlideTogg...
{ "end_byte": 862, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/slide-toggle/module.ts" }
components/src/material/slide-toggle/slide-toggle.md_0_1606
`<mat-slide-toggle>` is an on/off control that can be toggled via clicking. <!-- example(slide-toggle-overview) --> The slide-toggle behaves similarly to a checkbox, though it does not support an `indeterminate` state like `<mat-checkbox>`. ### Slide-toggle label The slide-toggle label is provided as the content to ...
{ "end_byte": 1606, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/slide-toggle/slide-toggle.md" }
components/src/material/slide-toggle/public-api.ts_0_352
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ export * from './slide-toggle'; export * from './slide-toggle-config'; export * from './module'; export * from './sl...
{ "end_byte": 352, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/slide-toggle/public-api.ts" }
components/src/material/slide-toggle/README.md_0_103
Please see the official documentation at https://material.angular.io/components/component/slide-toggle
{ "end_byte": 103, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/slide-toggle/README.md" }
components/src/material/slide-toggle/BUILD.bazel_0_1592
load( "//tools:defaults.bzl", "extract_tokens", "markdown_to_html", "ng_module", "ng_test_library", "ng_web_test_suite", "sass_binary", "sass_library", ) package(default_visibility = ["//visibility:public"]) ng_module( name = "slide-toggle", srcs = glob( ["**/*.ts"], ...
{ "end_byte": 1592, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/slide-toggle/BUILD.bazel" }
components/src/material/slide-toggle/index.ts_0_234
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ export * from './public-api';
{ "end_byte": 234, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/slide-toggle/index.ts" }
components/src/material/slide-toggle/slide-toggle.scss_0_7639
@use '@angular/cdk'; @use '../core/style/layout-common'; @use '../core/tokens/m2/mat/switch' as tokens-mat-switch; @use '../core/tokens/m2/mdc/switch' as tokens-mdc-switch; @use '../core/tokens/token-utils'; @use '../core/style/vendor-prefixes'; $_mdc-slots: (tokens-mdc-switch.$prefix, tokens-mdc-switch.get-token-slot...
{ "end_byte": 7639, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/slide-toggle/slide-toggle.scss" }
components/src/material/slide-toggle/slide-toggle.scss_7645_15398
.mat-mdc-slide-toggle .mdc-switch--selected & { @include token-utils.create-token-slot(width, selected-handle-size); @include token-utils.create-token-slot(height, selected-handle-size); @include token-utils.create-token-slot(margin, selected-handle-horizontal-margin); &:has(.mdc-switch__icons)...
{ "end_byte": 15398, "start_byte": 7645, "url": "https://github.com/angular/components/blob/main/src/material/slide-toggle/slide-toggle.scss" }
components/src/material/slide-toggle/slide-toggle.scss_15398_18821
.create-token-slot(fill, unselected-icon-color); } .mdc-switch--unselected.mdc-switch--disabled & { @include token-utils.create-token-slot(fill, disabled-unselected-icon-color); } .mdc-switch--selected & { @include token-utils.create-token-slot(width, selected-icon-size); @include to...
{ "end_byte": 18821, "start_byte": 15398, "url": "https://github.com/angular/components/blob/main/src/material/slide-toggle/slide-toggle.scss" }
components/src/material/slide-toggle/slide-toggle.html_0_2330
<div mat-internal-form-field [labelPosition]="labelPosition"> <button class="mdc-switch" role="switch" type="button" [class.mdc-switch--selected]="checked" [class.mdc-switch--unselected]="!checked" [class.mdc-switch--checked]="checked" [class.mdc-switch--disabled]="disabled" [class.mat...
{ "end_byte": 2330, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/slide-toggle/slide-toggle.html" }
components/src/material/slide-toggle/slide-toggle-config.ts_0_1366
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {InjectionToken} from '@angular/core'; import {ThemePalette} from '@angular/material/core'; /** Default `mat-...
{ "end_byte": 1366, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/slide-toggle/slide-toggle-config.ts" }
components/src/material/slide-toggle/_slide-toggle-theme.scss_0_6595
@use '../core/style/sass-utils'; @use '../core/theming/theming'; @use '../core/theming/inspection'; @use '../core/theming/validation'; @use '../core/tokens/token-utils'; @use '../core/typography/typography'; @use '../core/tokens/m2/mat/switch' as tokens-mat-switch; @use '../core/tokens/m2/mdc/switch' as tokens-mdc-swit...
{ "end_byte": 6595, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/slide-toggle/_slide-toggle-theme.scss" }
components/src/material/slide-toggle/testing/slide-toggle-harness.spec.ts_0_7995
import {Component, signal} from '@angular/core'; import {ComponentFixture, TestBed} from '@angular/core/testing'; import {HarnessLoader} from '@angular/cdk/testing'; import {TestbedHarnessEnvironment} from '@angular/cdk/testing/testbed'; import {FormControl, ReactiveFormsModule} from '@angular/forms'; import {MatSlideT...
{ "end_byte": 7995, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/slide-toggle/testing/slide-toggle-harness.spec.ts" }
components/src/material/slide-toggle/testing/public-api.ts_0_292
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ export * from './slide-toggle-harness'; export * from './slide-toggle-harness-filters';
{ "end_byte": 292, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/slide-toggle/testing/public-api.ts" }
components/src/material/slide-toggle/testing/slide-toggle-harness.ts_0_4906
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import { ComponentHarness, ComponentHarnessConstructor, HarnessPredicate, } from '@angular/cdk/testing'; impor...
{ "end_byte": 4906, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/slide-toggle/testing/slide-toggle-harness.ts" }
components/src/material/slide-toggle/testing/BUILD.bazel_0_804
load("//tools:defaults.bzl", "ng_test_library", "ng_web_test_suite", "ts_library") package(default_visibility = ["//visibility:public"]) filegroup( name = "source-files", srcs = glob(["**/*.ts"]), ) ts_library( name = "testing", srcs = glob( ["**/*.ts"], exclude = ["**/*.spec.ts"], ...
{ "end_byte": 804, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/slide-toggle/testing/BUILD.bazel" }
components/src/material/slide-toggle/testing/index.ts_0_234
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ export * from './public-api';
{ "end_byte": 234, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/slide-toggle/testing/index.ts" }
components/src/material/slide-toggle/testing/slide-toggle-harness-filters.ts_0_784
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {BaseHarnessFilters} from '@angular/cdk/testing'; /** A set of criteria that can be used to filter a list of...
{ "end_byte": 784, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/slide-toggle/testing/slide-toggle-harness-filters.ts" }
components/src/material/datepicker/date-range-input-parts.ts_0_6909
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {Directionality} from '@angular/cdk/bidi'; import {BACKSPACE, LEFT_ARROW, RIGHT_ARROW} from '@angular/cdk/key...
{ "end_byte": 6909, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/datepicker/date-range-input-parts.ts" }
components/src/material/datepicker/date-range-input-parts.ts_6910_13855
@Directive({ selector: 'input[matStartDate]', host: { 'class': 'mat-start-date mat-date-range-input-inner', '[disabled]': 'disabled', '(input)': '_onInput($event.target.value)', '(change)': '_onChange()', '(keydown)': '_onKeydown($event)', '[attr.aria-haspopup]': '_rangeInput.rangePicker ? "...
{ "end_byte": 13855, "start_byte": 6910, "url": "https://github.com/angular/components/blob/main/src/material/datepicker/date-range-input-parts.ts" }
components/src/material/datepicker/month-view.html_0_1423
<table class="mat-calendar-table" role="grid"> <thead class="mat-calendar-table-header"> <tr> @for (day of _weekdays; track day.id) { <th scope="col"> <span class="cdk-visually-hidden">{{day.long}}</span> <span aria-hidden="true">{{day.narrow}}</span> </th> } </...
{ "end_byte": 1423, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/datepicker/month-view.html" }
components/src/material/datepicker/datepicker.md_0_8196
The datepicker allows users to enter a date either through text input, or by choosing a date from the calendar. It is made up of several components, directives and [the date implementation](#choosing-a-date-implementation-and-date-format-settings) that work together. <!-- example(datepicker-overview) --> ### Connecti...
{ "end_byte": 8196, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/datepicker/datepicker.md" }
components/src/material/datepicker/datepicker.md_8196_13080
### Input and change events The input's native `(input)` and `(change)` events will only trigger due to user interaction with the input element; they will not fire when the user selects a date from the calendar popup. Therefore, the datepicker input also has support for `(dateInput)` and `(dateChange)` events. These t...
{ "end_byte": 13080, "start_byte": 8196, "url": "https://github.com/angular/components/blob/main/src/material/datepicker/datepicker.md" }
components/src/material/datepicker/datepicker.md_13080_20137
### Internationalization Internationalization of the datepicker is configured via four aspects: 1. The date locale. 2. The date implementation that the datepicker accepts. 3. The display and parse formats used by the datepicker. 4. The message strings used in the datepicker's UI. #### Setting the locale code By...
{ "end_byte": 20137, "start_byte": 13080, "url": "https://github.com/angular/components/blob/main/src/material/datepicker/datepicker.md" }
components/src/material/datepicker/datepicker.md_20137_28364
#### Customizing the parse and display formats The `MAT_DATE_FORMATS` object is a collection of formats that the datepicker uses when parsing and displaying dates. These formats are passed through to the `DateAdapter` so you will want to make sure that the format objects you're using are compatible with the `DateAdapt...
{ "end_byte": 28364, "start_byte": 20137, "url": "https://github.com/angular/components/blob/main/src/material/datepicker/datepicker.md" }
components/src/material/datepicker/datepicker.md_28364_29486
### Troubleshooting #### Error: MatDatepicker: No provider found for DateAdapter/MAT_DATE_FORMATS This error is thrown if you have not provided all of the injectables the datepicker needs to work. The easiest way to resolve this is to add `provideNativeDateAdapter` or `provideMomentDateAdapter` to your app config. Se...
{ "end_byte": 29486, "start_byte": 28364, "url": "https://github.com/angular/components/blob/main/src/material/datepicker/datepicker.md" }
components/src/material/datepicker/date-range-input.ts_0_2359
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {CdkMonitorFocus, FocusOrigin} from '@angular/cdk/a11y'; import { AfterContentInit, ChangeDetectionStrate...
{ "end_byte": 2359, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/datepicker/date-range-input.ts" }
components/src/material/datepicker/date-range-input.ts_2360_10119
class MatDateRangeInput<D> implements MatFormFieldControl<DateRange<D>>, MatDatepickerControl<D>, MatDateRangeInputParent<D>, MatDateRangePickerInput<D>, AfterContentInit, OnChanges, OnDestroy { private _changeDetectorRef = inject(ChangeDetectorRef); private _elementRef = inject<Elemen...
{ "end_byte": 10119, "start_byte": 2360, "url": "https://github.com/angular/components/blob/main/src/material/datepicker/date-range-input.ts" }
components/src/material/datepicker/date-range-input.ts_10123_14139
AfterContentInit() { if (typeof ngDevMode === 'undefined' || ngDevMode) { if (!this._startInput) { throw Error('mat-date-range-input must contain a matStartDate input'); } if (!this._endInput) { throw Error('mat-date-range-input must contain a matEndDate input'); } } ...
{ "end_byte": 14139, "start_byte": 10123, "url": "https://github.com/angular/components/blob/main/src/material/datepicker/date-range-input.ts" }
components/src/material/datepicker/_datepicker-theme.scss_0_7005
@use 'sass:color'; @use 'sass:map'; @use '../core/tokens/m2/mat/datepicker' as tokens-mat-datepicker; @use '../core/theming/theming'; @use '../core/theming/inspection'; @use '../core/theming/validation'; @use '../core/tokens/token-utils'; @use '../core/style/sass-utils'; @use '../core/typography/typography'; @use '../b...
{ "end_byte": 7005, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/datepicker/_datepicker-theme.scss" }
components/src/material/datepicker/calendar.scss_0_5434
@use '@angular/cdk'; @use '../core/style/layout-common'; @use '../core/focus-indicators/private'; @use '../core/tokens/m2/mat/datepicker' as tokens-mat-datepicker; @use '../core/tokens/token-utils'; $calendar-padding: 8px !default; $calendar-header-divider-width: 1px !default; $calendar-controls-vertical-padding: 5%;...
{ "end_byte": 5434, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/datepicker/calendar.scss" }
components/src/material/datepicker/calendar-body.spec.ts_0_5584
import { dispatchFakeEvent, dispatchMouseEvent, dispatchTouchEvent, } from '@angular/cdk/testing/private'; import {Component} from '@angular/core'; import {ComponentFixture, TestBed, waitForAsync} from '@angular/core/testing'; import {By} from '@angular/platform-browser'; import {MatCalendarBody, MatCalendarCell,...
{ "end_byte": 5584, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/datepicker/calendar-body.spec.ts" }
components/src/material/datepicker/calendar-body.spec.ts_5585_14901
() => { const startClass = 'mat-calendar-body-range-start'; const inRangeClass = 'mat-calendar-body-in-range'; const endClass = 'mat-calendar-body-range-end'; const comparisonStartClass = 'mat-calendar-body-comparison-start'; const inComparisonClass = 'mat-calendar-body-in-comparison-range'; con...
{ "end_byte": 14901, "start_byte": 5585, "url": "https://github.com/angular/components/blob/main/src/material/datepicker/calendar-body.spec.ts" }
components/src/material/datepicker/calendar-body.spec.ts_14907_23745
it('should be able to show a range that ends after the end of the calendar', () => { testComponent.startValue = 27; testComponent.endValue = 50; fixture.changeDetectorRef.markForCheck(); fixture.detectChanges(); expect(cells.some(cell => cell.classList.contains(endClass))).toBe(false); ...
{ "end_byte": 23745, "start_byte": 14907, "url": "https://github.com/angular/components/blob/main/src/material/datepicker/calendar-body.spec.ts" }
components/src/material/datepicker/calendar-body.spec.ts_23751_30749
it('should remove the preview if the user moves their focus away', () => { cells[2].click(); fixture.detectChanges(); dispatchFakeEvent(cells[4], 'focus'); fixture.detectChanges(); expect(cells[2].classList).toContain(previewStartClass); expect(cells[3].classList).toContain(inPrevi...
{ "end_byte": 30749, "start_byte": 23751, "url": "https://github.com/angular/components/blob/main/src/material/datepicker/calendar-body.spec.ts" }
components/src/material/datepicker/year-view.spec.ts_0_4033
import {Direction, Directionality} from '@angular/cdk/bidi'; import { DOWN_ARROW, END, HOME, LEFT_ARROW, PAGE_DOWN, PAGE_UP, RIGHT_ARROW, UP_ARROW, } from '@angular/cdk/keycodes'; import {dispatchFakeEvent, dispatchKeyboardEvent} from '@angular/cdk/testing/private'; import {Component, ViewChild} from '@...
{ "end_byte": 4033, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/datepicker/year-view.spec.ts" }
components/src/material/datepicker/year-view.spec.ts_4039_13561
describe('a11y', () => { it('should set the correct role on the internal table node', () => { const table = yearViewNativeElement.querySelector('table')!; expect(table.getAttribute('role')).toBe('grid'); }); describe('calendar body', () => { let calendarBodyEl: HTMLElement; ...
{ "end_byte": 13561, "start_byte": 4039, "url": "https://github.com/angular/components/blob/main/src/material/datepicker/year-view.spec.ts" }
components/src/material/datepicker/year-view.spec.ts_13565_15823
describe('year view with custom date classes', () => { let fixture: ComponentFixture<YearViewWithDateClass>; let yearViewNativeElement: Element; let dateClassSpy: jasmine.Spy; beforeEach(() => { fixture = TestBed.createComponent(YearViewWithDateClass); dateClassSpy = spyOn(fixture.component...
{ "end_byte": 15823, "start_byte": 13565, "url": "https://github.com/angular/components/blob/main/src/material/datepicker/year-view.spec.ts" }
components/src/material/datepicker/date-range-input.scss_0_5250
@use 'sass:math'; @use '@angular/cdk'; @use '../core/style/variables'; @use '../core/style/vendor-prefixes'; @use '../core/tokens/m2/mat/datepicker' as tokens-mat-datepicker; @use '../core/tokens/token-utils'; $date-range-input-separator-spacing: 4px; $date-range-input-part-max-width: calc(50% - #{$date-range-input-s...
{ "end_byte": 5250, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/datepicker/date-range-input.scss" }
components/src/material/datepicker/datepicker-actions.spec.ts_0_10190
import {Component, ElementRef, Type, ViewChild} from '@angular/core'; import {ComponentFixture, TestBed, fakeAsync, flush, tick} from '@angular/core/testing'; import {FormControl, FormsModule, ReactiveFormsModule} from '@angular/forms'; import {MatNativeDateModule} from '@angular/material/core'; import {MatFormFieldMod...
{ "end_byte": 10190, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/datepicker/datepicker-actions.spec.ts" }
components/src/material/datepicker/datepicker-actions.spec.ts_10192_11216
@Component({ template: ` <mat-form-field> <mat-label>Pick a date</mat-label> <input #input matInput [matDatepicker]="picker" [formControl]="control" (dateChange)="onDateChange()"> <mat-datepicker #picker [touchUi]="touchUi" [startAt]="startAt"> ...
{ "end_byte": 11216, "start_byte": 10192, "url": "https://github.com/angular/components/blob/main/src/material/datepicker/datepicker-actions.spec.ts" }
components/src/material/datepicker/date-range-picker.ts_0_2178
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core'; import {MatDatepickerBase, MatD...
{ "end_byte": 2178, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/datepicker/date-range-picker.ts" }
components/src/material/datepicker/_datepicker-legacy-compat.scss_0_1871
@use '../button/button-theme'; @use '../button/icon-button-theme'; @mixin legacy-button-compat-theme($theme) { .mat-datepicker-content { @include button-theme.theme($theme); @include icon-button-theme.theme($theme); } } @mixin legacy-button-compat() { .mat-datepicker-toggle .mat-mdc-button-base { wi...
{ "end_byte": 1871, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/datepicker/_datepicker-legacy-compat.scss" }
components/src/material/datepicker/date-range-input.html_0_762
<div class="mat-date-range-input-container" cdkMonitorSubtreeFocus (cdkFocusChange)="_updateFocus($event)"> <div class="mat-date-range-input-wrapper"> <ng-content select="input[matStartDate]"></ng-content> <span class="mat-date-range-input-mirror" aria-hidden="true">{{_getInputMirrorValue('s...
{ "end_byte": 762, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/datepicker/date-range-input.html" }
components/src/material/datepicker/month-view.ts_0_1434
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import { DOWN_ARROW, END, ENTER, HOME, LEFT_ARROW, PAGE_DOWN, PAGE_UP, RIGHT_ARROW, UP_ARROW, SP...
{ "end_byte": 1434, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/datepicker/month-view.ts" }
components/src/material/datepicker/month-view.ts_1435_9587
@Component({ selector: 'mat-month-view', templateUrl: 'month-view.html', exportAs: 'matMonthView', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatCalendarBody], }) export class MatMonthView<D> implements AfterContentInit, OnChanges, OnDestroy { readonl...
{ "end_byte": 9587, "start_byte": 1435, "url": "https://github.com/angular/components/blob/main/src/material/datepicker/month-view.ts" }
components/src/material/datepicker/month-view.ts_9590_18048
_handleCalendarBodyKeydown(event: KeyboardEvent): void { // TODO(mmalerba): We currently allow keyboard navigation to disabled dates, but just prevent // disabled ones from being selected. This may not be ideal, we should look into whether // navigation should skip over disabled dates, and if so, how to imp...
{ "end_byte": 18048, "start_byte": 9590, "url": "https://github.com/angular/components/blob/main/src/material/datepicker/month-view.ts" }
components/src/material/datepicker/month-view.ts_18051_21749
private _createWeekCells() { const daysInMonth = this._dateAdapter.getNumDaysInMonth(this.activeDate); const dateNames = this._dateAdapter.getDateNames(); this._weeks = [[]]; for (let i = 0, cell = this._firstWeekOffset; i < daysInMonth; i++, cell++) { if (cell == DAYS_PER_WEEK) { this._we...
{ "end_byte": 21749, "start_byte": 18051, "url": "https://github.com/angular/components/blob/main/src/material/datepicker/month-view.ts" }
components/src/material/datepicker/calendar.html_0_1698
<ng-template [cdkPortalOutlet]="_calendarHeaderPortal"></ng-template> <div class="mat-calendar-content" cdkMonitorSubtreeFocus tabindex="-1"> @switch (currentView) { @case ('month') { <mat-month-view [(activeDate)]="activeDate" [selected]="selected" [dateFilter]="dateF...
{ "end_byte": 1698, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/datepicker/calendar.html" }
components/src/material/datepicker/datepicker-animations.ts_0_1737
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import { animate, state, style, transition, trigger, keyframes, AnimationTriggerMetadata, } from '@angu...
{ "end_byte": 1737, "start_byte": 0, "url": "https://github.com/angular/components/blob/main/src/material/datepicker/datepicker-animations.ts" }