Skip to content
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
8 changes: 1 addition & 7 deletions src/cdk/clipboard/copy-to-clipboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@ export interface CdkCopyToClipboardConfig {
export const CDK_COPY_TO_CLIPBOARD_CONFIG =
new InjectionToken<CdkCopyToClipboardConfig>('CDK_COPY_TO_CLIPBOARD_CONFIG');

/**
* @deprecated Use `CDK_COPY_TO_CLIPBOARD_CONFIG` instead.
* @breaking-change 13.0.0
*/
export const CKD_COPY_TO_CLIPBOARD_CONFIG = CDK_COPY_TO_CLIPBOARD_CONFIG;

/**
* Provides behavior for a button that when clicked copies content into user's
* clipboard.
Expand Down Expand Up @@ -74,7 +68,7 @@ export class CdkCopyToClipboard implements OnDestroy {
constructor(
private _clipboard: Clipboard,
private _ngZone: NgZone,
@Optional() @Inject(CKD_COPY_TO_CLIPBOARD_CONFIG) config?: CdkCopyToClipboardConfig) {
@Optional() @Inject(CDK_COPY_TO_CLIPBOARD_CONFIG) config?: CdkCopyToClipboardConfig) {

if (config && config.attempts != null) {
this.attempts = config.attempts;
Expand Down
3 changes: 0 additions & 3 deletions tools/public_api_guard/cdk/clipboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ export interface CdkCopyToClipboardConfig {
attempts?: number;
}

// @public @deprecated (undocumented)
export const CKD_COPY_TO_CLIPBOARD_CONFIG: InjectionToken<CdkCopyToClipboardConfig>;

// @public
class Clipboard_2 {
constructor(document: any);
Expand Down