removeShorthandPlaceItems static method

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

Implementation

static void removeShorthandPlaceItems(CSSStyleDeclaration style, [bool? isImportant]) {
  if (style.contains(ALIGN_ITEMS)) style.removeProperty(ALIGN_ITEMS, isImportant);
  if (style.contains(JUSTIFY_ITEMS)) style.removeProperty(JUSTIFY_ITEMS, isImportant);
}