Lines Matching defs:tagAttributes

66      * @param $tagAttributes
69 public static function openNavigationalTabsElement(TagAttributes $tagAttributes): string
75 $tagAttributes->removeComponentAttributeIfPresent(self::KEY_PANEL_ATTRIBUTES);
80 $type = self::getComponentType($tagAttributes);
106 if (!$tagAttributes->hasAttribute(Spacing::SPACING_ATTRIBUTE)) {
107 $tagAttributes->addComponentAttributeValue(Spacing::SPACING_ATTRIBUTE, "mb-3");
109 $tagAttributes->addClassName("nav")
111 $tagAttributes->addOutputAttributeValue('role', 'tablist');
112 $html = $tagAttributes->toHtmlEnterTag("ul");
119 $tagAttributes->addClassName("card");
120 $html = $tagAttributes->toHtmlEnterTag("div") .
197 * @param TagAttributes $tagAttributes
200 public static function openTabPanelsElement(TagAttributes $tagAttributes): string
203 $tagAttributes->addClassName("tab-content");
209 if ($ACT === "preview" && $tagAttributes->hasComponentAttribute(self::SELECTED_ATTRIBUTE)) {
210 $tagAttributes->removeComponentAttribute(self::SELECTED_ATTRIBUTE);
213 $html = $tagAttributes->toHtmlEnterTag("div");
214 $type = self::getComponentType($tagAttributes);
225 public static function getComponentType(TagAttributes $tagAttributes)
228 $skin = $tagAttributes->getValueAndRemoveIfPresent("skin");
233 $type = $tagAttributes->getType();
240 public static function closeTabPanelsElement(TagAttributes $tagAttributes): string
243 $type = self::getComponentType($tagAttributes);
370 public static function renderEnterXhtml(TagAttributes $tagAttributes, array $data): string
378 return TabsTag::openTabPanelsElement($tagAttributes);
387 return TabsTag::openNavigationalTabsElement($tagAttributes);
395 public static function renderExitXhtml(TagAttributes $tagAttributes, array $data): string
403 return TabsTag::closeTabPanelsElement($tagAttributes);
412 $tagAttributes = TagAttributes::createFromCallStackArray($data[PluginUtility::ATTRIBUTES]);
413 $type = TabsTag::getComponentType($tagAttributes);