Skip to content

Add animation duration support#52

Open
webevasion wants to merge 1 commit intopaper-leaf:masterfrom
webevasion:patch-1
Open

Add animation duration support#52
webevasion wants to merge 1 commit intopaper-leaf:masterfrom
webevasion:patch-1

Conversation

@webevasion
Copy link
Copy Markdown

@webevasion webevasion commented Oct 12, 2018

Add animationDuration to default config variables and replace the animation duration by the variable.
It can be used in the init function.

$(document).alton({
	fullSlideContainer: 'full', // Tell Alton the full height container
	singleSlideClass: 'slide', // Tell Alton the full height slide class
	useSlideNumbers: true, // Set to false if you don't want to use pagination
	slideNumbersBorderColor: '#fff', // Set the outside color of the pagination items (also used for active)
	slideNumbersColor: 'transparent', // Set the inner color of the pagination items (not active)
	bodyContainer: 'pageWrapper', // Tell Alton the body class,
	animationDuration: 375, //Animation duration (in ms).
});

Add animationDuration to default config variables and replace the animation duration by the variable.
It can be used in the init function.
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