本文档由 Apifox 自动生成,推荐使用 Apifox - API 文档、API 调试、API Mock、API 自动化测试!
<salla-rating-modal>
web component is used to display the rating scale for a store, product, or shipping company. It consists of a Modal activated by the Button component, and that can be customized using the properties' parameters available.
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
Order ID | order-id | The Order ID as an input for rating | number | 'salla.config.get('page.id')' |
methods
allow for calling functions built by Salla to carry out certain actvities, such as open
and/or close
the Rating Component.Method | Description | Return Type |
---|---|---|
close() | Closes the rating component | Promise<HTMLElement> |
open() | Opens the rating component | Promise<NodeJS.Timeout> |
open
the component via the event:
close
the component via the event:
扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升