Skip to content

docs: replace programatically by programmatically #22171

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export interface ColumnSizeAction extends ColumnSize {
/**
* Whether the resize action should be applied instantaneously. False for events triggered during
* a UI-triggered resize (such as with the mouse) until the mouse button is released. True
* for all programatically triggered resizes.
* for all programmatically triggered resizes.
*/
readonly completeImmediately?: boolean;

Expand Down
4 changes: 2 additions & 2 deletions src/cdk/table/cell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ export class CdkColumnDef extends _CdkColumnDefBase implements CanStick {
* @docs-private
*/
protected _setNameInput(value: string) {
// If the directive is set without a name (updated programatically), then this setter will
// trigger with an empty string and should not overwrite the programatically set value.
// If the directive is set without a name (updated programmatically), then this setter will
// trigger with an empty string and should not overwrite the programmatically set value.
if (value) {
this._name = value;
this.cssClassFriendlyName = value.replace(/[^a-z0-9_-]/ig, '-');
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<button mat-raised-button
matTooltip="Info about the action"
[matTooltipDisabled]="disabled.value"
aria-label="Button that displays a tooltip that can be programatically disabled">
aria-label="Button that displays a tooltip that can be programmatically disabled">
Action
</button>

Expand Down
8 changes: 4 additions & 4 deletions src/material-experimental/mdc-autocomplete/autocomplete.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
max-height: 256px; // Prevents lists with a lot of option from growing too high.
position: static; // MDC uses `absolute` by default which will throw off our positioning.
visibility: hidden;
// MDC sets the transform-origin programatically based on whether the dropdown is above or below
// the input. We use our own positioning logic, so we need to set this ourselves.
// MDC sets the transform-origin programmatically based on whether the dropdown is above or
// below the input. We use our own positioning logic, so we need to set this ourselves.
transform-origin: center top;

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

Expand Down
2 changes: 1 addition & 1 deletion src/material/menu/menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ export class _MatMenuBase implements AfterContentInit, MatMenuPanel<MatMenuItem>
.withHomeAndEnd();
this._tabSubscription = this._keyManager.tabOut.subscribe(() => this.closed.emit('tab'));

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