Skip to content
This repository was archived by the owner on Jul 15, 2019. It is now read-only.

Add custom height script prop#8

Open
nathanielram wants to merge 2 commits intoarchriss:masterfrom
Osedea:feature/custom-height-script
Open

Add custom height script prop#8
nathanielram wants to merge 2 commits intoarchriss:masterfrom
Osedea:feature/custom-height-script

Conversation

@nathanielram
Copy link

@nathanielram nathanielram commented Jan 12, 2018

Adds a customHeightScript prop so that the script to determine the height can be customized. It is not currently possible to make the default height smaller, this would allow for that possibility.

An alternative solution would be to just change the default heightScript to use Math.min, but a custom function definitely allows for more flexibility.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants