Skip to content

Commit

Permalink
chore(demo): add logs for Built-in plugin for change event example
Browse files Browse the repository at this point in the history
  • Loading branch information
nsbarsukov committed Jun 26, 2024
1 parent 71c55c8 commit dcf21ca
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import mask from './mask';
<input
tuiTextfield
[maskito]="maskitoOptions"
(change)="log($event)"
/>
</tui-input>
`,
Expand All @@ -28,4 +29,8 @@ import mask from './mask';
export class PluginsDocExample4 {
protected readonly maskitoOptions = mask;
protected value = '';

protected log(anything: any): void {
console.info(anything);
}
}

0 comments on commit dcf21ca

Please sign in to comment.