shared
utils
string
object
is
extension
js
tracking
string
dom
when
selection
position
iframe
event
scroll
console
node
string
project
fs
console
isScrollable
Type:Function
Status:stable
Since:1.0.0
Platform:js
@blackbyte.sugar.js.is
Check if the passed element is scrollable or not
Params
- $elm*-HTMLElement
The element to check
Return
- -Boolean
true if is scrollable, false if not
Example
import { isScrollable } from '@blackbyte/sugar/is'
if (isScrollable($myElement)) {
// do something
}Todo
- testsnormal
Author
- Olivier Bosselolivier.bossel@gmail.comhttps://blackbyte.space