Skip to content

afeiship/position-value

Repository files navigation

position-value

Get position value by shorty..

version license size download

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.