Takes a new width and passes it through the min/max clamp and then checks it doesn't exceed the parent width.
name | type | arguments | Default | description |
---|---|---|---|---|
value | number |
The value to clamp and check. |
||
checkParent | boolean | <optional> | true |
Check the given value against the parent, if set. |
The modified width value.