Lines Matching defs:tagAttributes
29 public static function renderEnterInlineNote(TagAttributes $tagAttributes): string
31 $tagAttributes->addClassName("badge");
35 $type = $tagAttributes->getValue(TagAttributes::TYPE_KEY);
53 $tagAttributes->addClassName("alert-" . $type);
55 $tagAttributes->addClassName("badge-" . $type);
58 if (!$tagAttributes->hasComponentAttribute("background-color")) {
59 $tagAttributes->addStyleDeclarationIfNotSet("background-color", "#fff79f"); // lum - 195
60 $tagAttributes->addClassName("text-dark");
63 $rounded = $tagAttributes->getValueAndRemove(NoteTag::ATTRIBUTE_ROUNDED);
65 $tagAttributes->addClassName("badge-pill");
68 return $tagAttributes->toHtmlEnterTag("span");