resolveOverflowType static method
Implementation
static CSSOverflowType resolveOverflowType(String definition) {
switch (definition) {
case HIDDEN:
return CSSOverflowType.hidden;
case SCROLL:
return CSSOverflowType.scroll;
case AUTO:
return CSSOverflowType.auto;
case CLIP:
return CSSOverflowType.clip;
case VISIBLE:
default:
return CSSOverflowType.visible;
}
}