Lines Matching refs:attributes
82 public static function processEnter(TagAttributes $attributes, $handler, $match)
123 * $attributes->addClassName("no-gutters");
155 $attributes->setType(self::TYPE_ROW_TAG);
162 if (!$attributes->hasComponentAttribute($key)) {
163 $attributes->addComponentAttributeValue($key, $value);
171 $aligns = $attributes->getValues(Align::ALIGN_ATTRIBUTE, []);
179 $attributes->addComponentAttributeValue(Align::ALIGN_ATTRIBUTE, $value);
190 $type = $attributes->getType();
193 $attributes->removeType();
197 $attributes->setType(self::TYPE_ROW_TAG);
202 $attributes->addComponentAttributeValue(self::HTML_TAG_ATT, "div");
461 public static function renderEnterXhtml(TagAttributes $attributes): string
467 $type = $attributes->getType();
470 $attributes->addClassName("d-flex");
474 $attributes->addClassName("row");
479 $gutterAttributeValue = $attributes->getValueAndRemoveIfPresent(GridTag::GUTTER);
482 $attributes->addClassName("g$gutter");
490 $htmlElement = $attributes->getValueAndRemove(GridTag::HTML_TAG_ATT, "div");
491 return $attributes->toHtmlEnterTag($htmlElement);