@jswork/position-value
v1.0.4
Published
Get position value by shorty.
Downloads
3
Readme
position-value
Get position value by shorty..
installation
npm install @jswork/position-value
usage
import positionValue from '@jswork/position-value';
positionValue({ rel: true }) // 'relative'
positionValue({ abs: true }) // 'absolute'
positionValue({ fixed: true }) // 'fixed'
positionValue({ xxx: true }) // null
license
Code released under the MIT license.