本文档由 Apifox 自动生成,推荐使用 Apifox - API 文档、API 调试、API Mock、API 自动化测试!
<salla-sheet>
component is the baseline for numerous components such as the Button component. It is a transformable layout, based on the position
property, that provides a basic foundation for other components to be set on.
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
Height | height | Sets the vertical height of the component | number | 300 |
Persistent | persistent | Whether or not the component is in a force view mode where it is not closable | boolean | false |
Position | position | Positions the component for different UI layout usecases, such as mobile view | "bottom" | "left" | "right" | "top" | 'bottom' |
Sheet Color | sheet-color | Customizable coloring of the component | string | "#ffffff" |
Width | width | Sets the horizontal height of the component | number | 600 |
methods
allow for calling functions built by Salla to carry out certain actvities, such as open
and close
which opens and closes the sheet layout.Method | Description | Return Type |
---|---|---|
open | Opens the sheet layout | Promise<void> |
close | Closes the sheet layout | Promise<void> |
扫码加入 Apifox 微信交流群
在这里,获得 Apifox 使用上的任何帮助,快速上手让你的研测效率得到大幅提升