private static void close(HTMLElement item) { item.remove(); }
private static void close(HTMLElement item) { item.remove(); }
public BlockHeader invert() { if (nonNull(descriptionElement)) { descriptionElement.remove(); element.insertBefore(descriptionElement, headerElement); } return this; }
public BlockHeader invert() { if (nonNull(descriptionElement)) { descriptionElement.remove(); element.insertBefore(descriptionElement, headerElement); } return this; }
public DropdownButton hideCaret() { if (isCaretAdded()) caret.remove(); return this; }
public DropdownButton hideCaret() { if (isCaretAdded()) caret.remove(); return this; }
@Editor.Ignore public T remove() { asElement().remove(); return element; }
@Editor.Ignore public T remove() { asElement().remove(); return element; }
public TabsPanel setContentContainer(HTMLElement contentContainer) { if (element.contains(tabsContent)) { tabsContent.remove(); } Style.of(contentContainer).add("tab-content"); this.tabsContent = contentContainer; return this; }
public TabsPanel setContentContainer(HTMLElement contentContainer) { if (element.contains(tabsContent)) { tabsContent.remove(); } Style.of(contentContainer).add("tab-content"); this.tabsContent = contentContainer; return this; }
public VerticalTabsPanel setContentContainer(HTMLElement contentContainer) { if (element.contains(tabsContent)) { tabsContent.remove(); } Style.of(contentContainer).add("tab-content"); this.tabsContent = contentContainer; return this; }
public VerticalTabsPanel setContentContainer(HTMLElement contentContainer) { if (element.contains(tabsContent)) { tabsContent.remove(); } Style.of(contentContainer).add("tab-content"); this.tabsContent = contentContainer; return this; }
public BreadcrumbItem activate() { if (!active) { element.style().add(BreadcrumbStyles.ACTIVE); textElement.remove(); anchorElement.remove(); if (nonNull(icon)) { icon.asElement().remove(); element.appendChild(icon); } element.appendChild(textElement); this.active = true; } return this; }
public BreadcrumbItem activate() { if (!active) { element.style().add(BreadcrumbStyles.ACTIVE); textElement.remove(); anchorElement.remove(); if (nonNull(icon)) { icon.asElement().remove(); element.appendChild(icon); } element.appendChild(textElement); this.active = true; } return this; }