The unit value.
Namespace: MindFusion.Common
File: Unit.js
JavaScript Copy Code |
---|
get value() {} |
Number. The value.
The following code checks the value of the minWidth of a Window and increases it, if necessary.
JavaScript Copy Code |
---|
if(window.minWidth.value < 30 ) { window.minWidth = ui.Unit.percent(50); } |