removeShorthandFlexFlow static method

void removeShorthandFlexFlow(
  1. CSSStyleDeclaration style, [
  2. bool? isImportant
])

Implementation

static void removeShorthandFlexFlow(CSSStyleDeclaration style, [bool? isImportant]) {
  if (style.contains(FLEX_DIRECTION)) style.removeProperty(FLEX_DIRECTION, isImportant);
  if (style.contains(FLEX_WRAP)) style.removeProperty(FLEX_WRAP, isImportant);
}