Documentation
¶
Overview ¶
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
templ: version: v0.3.1020
Index ¶
- func FlipDrawerSlot(c echo.Context, book *model.Book) templ.Component
- func FlipModeHandler(c echo.Context) error
- func FlipPage(c echo.Context, book *model.Book) templ.Component
- func ImageXData(Url string) string
- func InsertData(bookData any, stateData any) templ.Component
- func MainArea(book *model.Book) templ.Component
- func StepsRangeArea() templ.Component
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FlipModeHandler ¶ added in v1.1.0
FlipModeHandler 阅读界面(翻页阅读)
func ImageXData ¶
ImageXData 在Go函数里面计算图片的x-data属性。渲染结果例: x-data="{ isDoublePage: false, imageUrl: '/api/get-file?id=asxScIDD&filename=1.jpg' + ($store.global.autoCrop ? "&auto_crop=1" : ”) }"
func StepsRangeArea ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.