removeShorthandGrid static method
Implementation
static void removeShorthandGrid(CSSStyleDeclaration style, [bool? isImportant]) {
if (style.contains(GRID_TEMPLATE_ROWS)) style.removeProperty(GRID_TEMPLATE_ROWS, isImportant);
if (style.contains(GRID_TEMPLATE_COLUMNS)) style.removeProperty(GRID_TEMPLATE_COLUMNS, isImportant);
if (style.contains(GRID_TEMPLATE_AREAS)) style.removeProperty(GRID_TEMPLATE_AREAS, isImportant);
if (style.contains(GRID_AUTO_ROWS)) style.removeProperty(GRID_AUTO_ROWS, isImportant);
if (style.contains(GRID_AUTO_COLUMNS)) style.removeProperty(GRID_AUTO_COLUMNS, isImportant);
if (style.contains(GRID_AUTO_FLOW)) style.removeProperty(GRID_AUTO_FLOW, isImportant);
}