FwBook

Properties

Property

Type

Default

Description

styleForPageMain

Object

{}

Styles for main page

styleForPageIndex

Object

{}

Styles for index page

data

Array

required

Page data

turnPageByHand

Boolean

true

Whether to allow manual page turning

initPage

Number

1

Initial page

autoNextPage

Boolean

false

Whether to turn pages automatically

autoNextPageDelayTime

Number

3000

Residence time per page

loop

Boolean

false

Enable loop

duration

Number

1000

Page turning animation time

showPageIndex

Boolean

true

Show page number

startPageIndex

Number

0

Page number start index

endPageIndex

Number

9999

End of page index

Slots

Slot Name

Data

Description

page

{page, index}

For rendering custom content for page object

Events

Event

Arguments

Description

next

  1. Current page

  2. Page index

  3. Page data

Emitted when flipping to next page

prev

  1. Current page

  2. Page index

  3. Page data

Emitted when flipping to next page

indexPageChange

  1. Page index

Emitted when page index changes

Last updated