@@ -21,7 +21,7 @@ class MyTel {
2121}
2222
2323@Component ({
24- selector: ' my -tel-input' ,
24+ selector: ' example -tel-input' ,
2525 template: `
2626 <div [formGroup]="parts">
2727 <input class="area" formControlName="area" size="3">
@@ -134,7 +134,7 @@ element and just generate a unique ID for it.
134134``` ts
135135static nextId = 0 ;
136136
137- @HostBinding () id = ` my -tel-input-${MyTelInput .nextId ++ }` ;
137+ @HostBinding () id = ` example -tel-input-${MyTelInput .nextId ++ }` ;
138138```
139139
140140#### ` placeholder `
@@ -313,11 +313,11 @@ errorState = false;
313313This property allows us to specify a unique string for the type of control in form field. The
314314` <mat-form-field> ` will add an additional class based on this type that can be used to easily apply
315315special styles to a ` <mat-form-field> ` that contains a specific type of control. In this example
316- we'll use ` my -tel-input` as our control type which will result in the form field adding the class
317- ` mat-form-field-my -tel-input ` .
316+ we'll use ` example -tel-input` as our control type which will result in the form field adding the
317+ class ` mat-form-field-example -tel-input ` .
318318
319319``` ts
320- controlType = ' my -tel-input' ;
320+ controlType = ' example -tel-input' ;
321321```
322322
323323#### ` setDescribedByIds(ids: string[]) `
@@ -356,7 +356,7 @@ do is place it inside of a `<mat-form-field>`
356356
357357``` html
358358<mat-form-field >
359- <my -tel-input ></my -tel-input >
359+ <example -tel-input ></example -tel-input >
360360</mat-form-field >
361361```
362362
@@ -366,7 +366,7 @@ the error state).
366366
367367``` html
368368<mat-form-field >
369- <my -tel-input placeholder =" Phone number" required ></my -tel-input >
369+ <example -tel-input placeholder =" Phone number" required ></example -tel-input >
370370 <mat-icon matPrefix >phone</mat-icon >
371371 <mat-hint >Include area code</mat-hint >
372372</mat-form-field >
0 commit comments