-
Notifications
You must be signed in to change notification settings - Fork 9
Updated to use cf-core and new docs template and adds dynamic animation duration based on content height #29
Conversation
…x and overlfow hidden.
@@ -1,6 +1,6 @@ | |||
{ | |||
"name": "cf-expandables", | |||
"version": "0.3.5", | |||
"version": "1.4.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1.4?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The update adds a new feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it break back-compat, though?
Given a version number MAJOR.MINOR.PATCH, increment the:
- MAJOR version when you make incompatible API changes,
- MINOR version when you add functionality in a backwards-compatible manner, and
- PATCH version when you make backwards-compatible bug fixes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So we should just go to 0.4.0 for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haaa sorry, didn't realize I changed the major part... Whoops!
Fixed! |
}; | ||
|
||
$.fn.expandable.calculateExpandDuration = function( height ) { | ||
return height * 4; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we put a max on these? Expandables can potentially be quite tall. At 500px tall, we're waiting 2 full seconds.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed!
name: Recommended expandable pattern | ||
family: cf-expandables | ||
notes: | ||
- "Expandables can be built by combing the basic barebones structure |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
combining?
Alrighty! Need to revisit some of the classing at some point (see #30), but this is good for now. |
Updated to use cf-core and new docs template and adds dynamic animation duration based on content height
No description provided.