attributes

fun <T : Node> attributes(vararg clazz: KClass<T>, block: CustomAttributes.() -> Unit)

Add a custom attribute provider for the given node type(s).


inline fun <T : Node> attributes(crossinline block: CustomAttributes.() -> Unit)

Add a custom attribute provider for the given node type.