Skip to content

Commit 752ad9f

Browse files
committed
docs: add timeAgo and plate modules
1 parent 8df27e9 commit 752ad9f

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,32 @@ every component accept a `tag` prop. you can use it to customize component html
451451

452452
---
453453

454+
### `plate` [See details](https://persian-tools.github.io/vue-persian-tools/?path=/docs/modules-plate--default)
455+
456+
**slots**:
457+
<br />
458+
`number`: String | PlateOptions
459+
460+
```html
461+
<plate number="12D45147" v-slot="{ info, isValid }">{{ info }} | {{ isValid }}</wordsToNumber>
462+
```
463+
464+
<br />
465+
466+
---
467+
468+
### `timeAgo` [See details](https://persian-tools.github.io/vue-persian-tools/?path=/docs/modules-timeago--default)
469+
470+
**slots**:
471+
<br />
472+
`date`: String
473+
474+
```html
475+
<plate date="1400/04/07 18:00:00" v-slot="{ time }">{{ time }}</wordsToNumber>
476+
```
477+
478+
<br />
479+
454480
## directives
455481

456482
all directives have sync modifiers. using this modifier will enable reactive data in your directive.

0 commit comments

Comments
 (0)