Skip to content

Commit

Permalink
feat(core): fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
anastasiia_glushkova committed Nov 18, 2024
1 parent 9913905 commit 1f25c17
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions core/src/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1271,7 +1271,7 @@ export namespace Components {
*/
interface CatTag {
/**
* Whether the catChange event will be emitted when the input is blurred.
* Whether new tag is added when the input is blurred.
*/
"addOnBlur": boolean;
/**
Expand Down Expand Up @@ -3573,7 +3573,7 @@ declare namespace LocalJSX {
*/
interface CatTag {
/**
* Whether the catChange event will be emitted when the input is blurred.
* Whether new tag is added when the input is blurred.
*/
"addOnBlur"?: boolean;
/**
Expand Down
2 changes: 1 addition & 1 deletion core/src/components/cat-tag/cat-tag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export class CatTag {
@Prop() tagCreationChars: string[] = [' '];

/**
* Whether the catChange event will be emitted when the input is blurred.
* Whether new tag is added when the input is blurred.
*/
@Prop() addOnBlur = false;

Expand Down
2 changes: 1 addition & 1 deletion core/src/components/cat-tag/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ An input that allows multiple values to be entered as tags.

| Property | Attribute | Description | Type | Default |
| ------------------ | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ | ------------ |
| `addOnBlur` | `add-on-blur` | Whether the catChange event will be emitted when the input is blurred. | `boolean` | `false` |
| `addOnBlur` | `add-on-blur` | Whether new tag is added when the input is blurred. | `boolean` | `false` |
| `clearable` | `clearable` | Whether the input should show a clear button. | `boolean` | `false` |
| `disabled` | `disabled` | Whether the select is disabled. | `boolean` | `false` |
| `errorUpdate` | `error-update` | Fine-grained control over when the errors are shown. Can be `false` to never show errors, `true` to show errors on blur, or a number to show errors change with the given delay in milliseconds or immediately on blur. | `boolean \| number` | `0` |
Expand Down

0 comments on commit 1f25c17

Please sign in to comment.