Skip to content

Replace library globals with configurable props#45

Open
andryak wants to merge 1 commit into
mochixuan:masterfrom
welldsagl:feature/globals-as-props
Open

Replace library globals with configurable props#45
andryak wants to merge 1 commit into
mochixuan:masterfrom
welldsagl:feature/globals-as-props

Conversation

@andryak
Copy link
Copy Markdown

@andryak andryak commented Nov 4, 2019

Make maxScale, minOpacity, scaleDuration and slideDuration configurable props.

Setting maxScale to 1 effectively disabled item scaling, which is particularly useful when dealing with fixed-width items which would otherwise scale out of the screen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant