forked from react-bootstrap/react-bootstrap.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path5020.05356503.js
1 lines (1 loc) · 3.53 KB
/
5020.05356503.js
1
"use strict";(self.webpackChunkreact_bootstrap_website=self.webpackChunkreact_bootstrap_website||[]).push([[5020],{95020:e=>{e.exports=JSON.parse('{"description":"","props":{"in":{"type":{"name":"bool"},"required":false,"description":"Show the component; triggers the expand or collapse animation","defaultValue":{"value":"false","computed":false},"doclets":{}},"mountOnEnter":{"type":{"name":"bool"},"required":false,"description":"Wait until the first \\"enter\\" transition to mount the component (add it to the DOM)","defaultValue":{"value":"false","computed":false},"doclets":{}},"unmountOnExit":{"type":{"name":"bool"},"required":false,"description":"Unmount the component (remove it from the DOM) when it is collapsed","defaultValue":{"value":"false","computed":false},"doclets":{}},"appear":{"type":{"name":"bool"},"required":false,"description":"Run the expand animation when the component mounts, if it is initially\\nshown","defaultValue":{"value":"false","computed":false},"doclets":{}},"timeout":{"type":{"name":"number"},"required":false,"description":"Duration of the collapse animation in milliseconds, to ensure that\\nfinishing callbacks are fired even if the original browser transition end\\nevents are canceled","defaultValue":{"value":"300","computed":false},"doclets":{}},"onEnter":{"type":{"name":"func"},"required":false,"description":"Callback fired before the component expands","doclets":{}},"onEntering":{"type":{"name":"func"},"required":false,"description":"Callback fired after the component starts to expand","doclets":{}},"onEntered":{"type":{"name":"func"},"required":false,"description":"Callback fired after the component has expanded","doclets":{}},"onExit":{"type":{"name":"func"},"required":false,"description":"Callback fired before the component collapses","doclets":{}},"onExiting":{"type":{"name":"func"},"required":false,"description":"Callback fired after the component starts to collapse","doclets":{}},"onExited":{"type":{"name":"func"},"required":false,"description":"Callback fired after the component has collapsed","doclets":{}},"dimension":{"type":{"name":"union","value":[{"name":"enum","value":[{"value":"\'height\'","computed":false},{"value":"\'width\'","computed":false}]},{"name":"func"}]},"required":false,"description":"The dimension used when collapsing, or a function that returns the\\ndimension","defaultValue":{"value":"\'height\'","computed":false},"doclets":{}},"getDimensionValue":{"type":{"name":"func"},"required":false,"description":"Function that returns the height or width of the animating DOM node\\n\\nAllows for providing some custom logic for how much the Collapse component\\nshould animate in its specified dimension. Called with the current\\ndimension prop value and the DOM node.","defaultValue":{"value":"function getDefaultDimensionValue(\\n dimension: Dimension,\\n elem: HTMLElement,\\n): number {\\n const offset = `offset${dimension[0].toUpperCase()}${dimension.slice(1)}`;\\n const value = elem[offset];\\n const margins = MARGINS[dimension];\\n\\n return (\\n value +\\n // @ts-ignore\\n parseInt(css(elem, margins[0]), 10) +\\n // @ts-ignore\\n parseInt(css(elem, margins[1]), 10)\\n );\\n}","computed":false},"doclets":{"default":"element.offsetWidth | element.offsetHeight"}},"role":{"type":{"name":"string"},"required":false,"description":"ARIA role of collapsible element","doclets":{}},"children":{"type":{"name":"element"},"required":true,"description":"You must provide a single JSX child element to this component and that element cannot be a \\\\<React.Fragment\\\\>","doclets":{}}}}')}}]);