Extract the value and unit of a unit string (e.g, '10px' into { value: 10, unit: 'px' }).
'10px'
{ value: 10, unit: 'px' }
Generated using TypeDoc
Extract the value and unit of a unit string (e.g,
'10px'
into{ value: 10, unit: 'px' }
).