Lines Matching refs:tagAttributes
109 $tagAttributes = TagAttributes::createFromTagMatch($match, $defaultParameters, $knownTypes)
114 PluginUtility::ATTRIBUTES => $tagAttributes->toCallStackArray()
150 $tagAttributes = TagAttributes::createFromCallStackArray($data[PluginUtility::ATTRIBUTES])
153 $targetId = $tagAttributes->getValueAndRemoveIfPresent("target-id");
170 $type = $tagAttributes->getType();
172 $tagAttributes->addClassName("btn-$type");
180 $tagAttributes->addComponentAttributeValue("data-{$bootstrapNamespace}toggle", "collapse");
181 $tagAttributes->addComponentAttributeValue("data-{$bootstrapNamespace}target", $targetId);
186 $toggleState = $tagAttributes->getValueAndRemove(Toggle::TOGGLE_STATE, Toggle::TOGGLE_STATE_COLLAPSED);
189 $tagAttributes->addComponentAttributeValue("aria-expanded", true);
192 $tagAttributes->addComponentAttributeValue("aria-expanded", false);
193 $tagAttributes->addClassName("collapsed");
198 $targetLabel = $tagAttributes->getValueAndRemoveIfPresent("targetLabel");
202 $tagAttributes->addComponentAttributeValue("aria-label", $targetLabel);
203 $tagAttributes->addClassName("btn");
204 $renderer->doc .= $tagAttributes->toHtmlEnterTag("button");