本文档由 Apifox 自动生成,推荐使用 Apifox - API 文档、API 调试、API Mock、API 自动化测试!
<salla-product-size-guide>
web component is used to enable the merchant to add product measurements of height, weight, depth and other metrics for the customer to visualize the actual product size in real life. The pre-defined methods
allow for calling functions built by Salla to carry out certain actvities, such as open
and close
the Product Size Guide component.
methods
allow for calling functions built by Salla to carry out certain actvities, such as close
which hides the size-guide pop-up modal window.Method | Description | Return Type |
---|---|---|
close() | Hides the size-guide pop-up modal window | Promise<HTMLElement> |
open(product_id: number) | Show the size-guide pop-up modal window | Promise<any> |
slots
makes it customizable to modify certain labels, such as footer
.Slot | Description |
---|---|
footer | The bottom section of the component. Value is "empty" by default |
header | The upper section of the component. Value is "empty" by default |
扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升