本文档由 Apifox 自动生成,推荐使用 Apifox - API 文档、API 调试、API Mock、API 自动化测试!
<salla-Scopes> web component shows a list of scopes (Branches) owned by the store. It consists of Button component that enables the addition of a header component, and that can be customized using the properties' parameters.
| Property | Attribute | Description | Type | Default |
|---|---|---|---|---|
| Search Display Limit | search-display-limit | Determines when to show the search field | number | 6 |
| Selection | selection | Either optionally open the modal or enforce the pop-up to the viewer | `"mandatory" | "optional" | | optional |
methods allow for calling functions built by Salla to carry out certain actvities, such as show and/or hide the component.| Method | Description | Return Type |
|---|---|---|
close() | Closes the scope modal dialog. | Promise<HTMLElement> |
open(mode?: any, product_id?: number) | Opens the scope modal dialog. | Promise<any> |
handleSubmit() | Submits a form which modifies the existing scopes. | Promise<any> |
slots makes it customizable to modify certain labels, such as footer| Slot | Description |
|---|---|
footer | This slot utilizes the "handleSubmit" method to submit the form. The bottom section of the component, which is used for form action. |
扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升

扫码加入交流群