Skip to content

Commit

Permalink
docs: OffCanvas correct transition time details
Browse files Browse the repository at this point in the history
Because `transitionTime` is passed directly to the element CSS, the
value should include the appropriate units
  • Loading branch information
noahheck committed Jan 27, 2019
1 parent 145cd37 commit 5cd58f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/foundation.offcanvas.js
Original file line number Diff line number Diff line change
Expand Up @@ -493,9 +493,9 @@ OffCanvas.defaults = {
contentScroll: true,

/**
* Amount of time in ms the open and close transition requires. If none selected, pulls from body style.
* Amount of time the open and close transition requires, including the appropriate milliseconds (`ms`) or seconds (`s) unit (e.g. `500ms`, `.75s`) If none selected, pulls from body style.
* @option
* @type {number}
* @type {string}
* @default null
*/
transitionTime: null,
Expand Down

0 comments on commit 5cd58f6

Please sign in to comment.