diff --git a/src/material/legacy-button/button.ts b/src/material/legacy-button/button.ts index 915625bad831..25f863c81011 100644 --- a/src/material/legacy-button/button.ts +++ b/src/material/legacy-button/button.ts @@ -35,7 +35,7 @@ import {ANIMATION_MODULE_TYPE} from '@angular/platform-browser/animations'; const DEFAULT_ROUND_BUTTON_COLOR = 'accent'; /** - * List of classes to add to MatLegacyButton instances based on host attributes to + * List of classes to add to button instances based on host attributes to * style as different variants. */ const BUTTON_HOST_ATTRIBUTES = [ @@ -48,7 +48,7 @@ const BUTTON_HOST_ATTRIBUTES = [ 'mat-fab', ]; -// Boilerplate for applying mixins to MatLegacyButton. +// Boilerplate for applying mixins to button. const _MatButtonBase = mixinColor( mixinDisabled( mixinDisableRipple( diff --git a/src/material/legacy-button/testing/button-harness.ts b/src/material/legacy-button/testing/button-harness.ts index 4bd95c039641..d70918068ee6 100644 --- a/src/material/legacy-button/testing/button-harness.ts +++ b/src/material/legacy-button/testing/button-harness.ts @@ -13,12 +13,12 @@ import {LegacyButtonHarnessFilters} from './button-harness-filters'; /** Harness for interacting with a standard mat-button in tests. */ export class MatLegacyButtonHarness extends ContentContainerComponentHarness { // TODO(jelbourn) use a single class, like `.mat-button-base` - /** The selector for the host element of a `MatLegacyButton` instance. */ + /** The selector for the host element of a button instance. */ static hostSelector = `[mat-button], [mat-raised-button], [mat-flat-button], [mat-icon-button], [mat-stroked-button], [mat-fab], [mat-mini-fab]`; /** - * Gets a `HarnessPredicate` that can be used to search for a `MatLegacyButtonHarness` that meets + * Gets a `HarnessPredicate` that can be used to search for a button harness that meets * certain criteria. * @param options Options for filtering which button instances are considered a match. * @return a `HarnessPredicate` configured with the given options.