append

infix fun Component.append(content: String): @NotNull Component

Appends a text component with the given content to this component.

Return

The component with the appended content

Parameters

content

The string content to append


infix fun <C : BuildableComponent<C, B>, B : ComponentBuilder<C, B>> ComponentBuilder<C, B>.append(content: String): @NotNull B

Appends a text component with the given content to this component builder.

Return

The component builder with the appended content

Parameters

content

The string content to append