flip

package
v1.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

templ: version: v0.3.1020

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FlipDrawerSlot

func FlipDrawerSlot(c echo.Context, book *model.Book) templ.Component

func FlipModeHandler added in v1.1.0

func FlipModeHandler(c echo.Context) error

FlipModeHandler 阅读界面(翻页阅读)

func FlipPage

func FlipPage(c echo.Context, book *model.Book) templ.Component

FlipPage 定义 BodyHTML

func ImageXData

func ImageXData(Url string) string

ImageXData 在Go函数里面计算图片的x-data属性。渲染结果例: x-data="{ isDoublePage: false, imageUrl: '/api/get-file?id=asxScIDD&filename=1.jpg' + ($store.global.autoCrop ? "&auto_crop=1" : ”) }"

func InsertData

func InsertData(bookData any, stateData any) templ.Component

func MainArea

func MainArea(book *model.Book) templ.Component

func StepsRangeArea

func StepsRangeArea() templ.Component

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL