Skip to content

Commit bd43d78

Browse files
authored
docs: replace programatically by programmatically (#22171)
* docs: replace programatically by programmatically Harmonize the use of the word programmatically like it is in dictionary. Also see https://en.wiktionary.org/wiki/programatically * fixup! docs: replace programatically by programmatically * fixup! docs: replace programatically by programmatically
1 parent 2a158f7 commit bd43d78

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

src/cdk-experimental/column-resize/column-resize-notifier.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export interface ColumnSizeAction extends ColumnSize {
2626
/**
2727
* Whether the resize action should be applied instantaneously. False for events triggered during
2828
* a UI-triggered resize (such as with the mouse) until the mouse button is released. True
29-
* for all programatically triggered resizes.
29+
* for all programmatically triggered resizes.
3030
*/
3131
readonly completeImmediately?: boolean;
3232

src/cdk/table/cell.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ export class CdkColumnDef extends _CdkColumnDefBase implements CanStick {
134134
* @docs-private
135135
*/
136136
protected _setNameInput(value: string) {
137-
// If the directive is set without a name (updated programatically), then this setter will
138-
// trigger with an empty string and should not overwrite the programatically set value.
137+
// If the directive is set without a name (updated programmatically), then this setter will
138+
// trigger with an empty string and should not overwrite the programmatically set value.
139139
if (value) {
140140
this._name = value;
141141
this.cssClassFriendlyName = value.replace(/[^a-z0-9_-]/ig, '-');

src/components-examples/material/tooltip/tooltip-disabled/tooltip-disabled-example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<button mat-raised-button
22
matTooltip="Info about the action"
33
[matTooltipDisabled]="disabled.value"
4-
aria-label="Button that displays a tooltip that can be programatically disabled">
4+
aria-label="Button that displays a tooltip that can be programmatically disabled">
55
Action
66
</button>
77

src/material-experimental/mdc-autocomplete/autocomplete.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
max-height: 256px; // Prevents lists with a lot of option from growing too high.
1313
position: static; // MDC uses `absolute` by default which will throw off our positioning.
1414
visibility: hidden;
15-
// MDC sets the transform-origin programatically based on whether the dropdown is above or below
16-
// the input. We use our own positioning logic, so we need to set this ourselves.
15+
// MDC sets the transform-origin programmatically based on whether the dropdown is above or
16+
// below the input. We use our own positioning logic, so we need to set this ourselves.
1717
transform-origin: center top;
1818

1919
// Note that we include this private mixin, because the public
@@ -31,8 +31,8 @@
3131
.mat-mdc-autocomplete-panel-above & {
3232
border-bottom-left-radius: 0;
3333
border-bottom-right-radius: 0;
34-
// MDC sets the transform-origin programatically based on whether the dropdown is above or below
35-
// the input. We use our own positioning logic, so we need to set this ourselves.
34+
// MDC sets the transform-origin programmatically based on whether the dropdown is above or
35+
// below the input. We use our own positioning logic, so we need to set this ourselves.
3636
transform-origin: center bottom;
3737
}
3838

src/material/menu/menu.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ export class _MatMenuBase implements AfterContentInit, MatMenuPanel<MatMenuItem>
272272
.withHomeAndEnd();
273273
this._tabSubscription = this._keyManager.tabOut.subscribe(() => this.closed.emit('tab'));
274274

275-
// If a user manually (programatically) focuses a menu item, we need to reflect that focus
275+
// If a user manually (programmatically) focuses a menu item, we need to reflect that focus
276276
// change back to the key manager. Note that we don't need to unsubscribe here because _focused
277277
// is internal and we know that it gets completed on destroy.
278278
this._directDescendantItems.changes.pipe(

0 commit comments

Comments
 (0)