plus

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

Operator function to append a string to this component builder using the + operator.

Return

The component builder with the appended content

Parameters

content

The string content to append


operator fun <C : BuildableComponent<C, B>, B : ComponentBuilder<C, B>> ComponentBuilder<C, B>.plus(component: Component): @NotNull B

Operator function to append a component to this component builder using the + operator.

Return

The component builder with the appended component

Parameters

component

The component to append