-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
application-api #108
application-api #108
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
src/api/application.md
Outdated
|
||
- **Type** | ||
- **نوع** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To have better consistency across the project it's suggested to translate "Type" into "تایپ (Type)".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for taking the time to review my pull request. I incorporated the suggested changes and updated the pull request.
src/api/application.md
Outdated
|
||
```js | ||
app.mount(document.body.firstChild) | ||
``` | ||
|
||
## app.unmount() {#app-unmount} | ||
|
||
Unmounts a mounted application instance, triggering the unmount lifecycle hooks for all components in the application's component tree. | ||
وقتی برنامهای را که در حال اجراست غیر فعال میکنید، اساساً تمام قسمتهای فعال برنامه را خاموش میکند. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's better to mention the term "triggering the unmount lifecycle" to inform the readers about the events that are going to be triggered by calling the app.unmount()
src/api/application.md
Outdated
@@ -214,21 +215,21 @@ For logic reuse, prefer [Composables](/guide/reusability/composables) instead. | |||
|
|||
## app.provide() {#app-provide} | |||
|
|||
Provide a value that can be injected in all descendant components within the application. | |||
یک مقدار ارائه می دهد که میتواند در همهی کامپوننتهای زیرمجموعه داخل برنامه قرار گیرد. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the app.provide() method refers to dependency injection in vue3 it's better to mention the term "inject" here to make the paragraph technically understandable.
No description provided.