Register Builder
Functions
Link copied to clipboard
abstract fun component(value: KClass<out AbstractContentComponent<out AbstractContentComponentData>>): ContentComponentRepositoryApi.RegisterBuilder
指定该组件对应的UI组件类
Link copied to clipboard
abstract fun data(value: KClass<out AbstractContentComponentData>): ContentComponentRepositoryApi.RegisterBuilder
指定该组件对应的数据类
Link copied to clipboard
abstract fun serializer(value: ComponentDataJsonElementSerializer<out AbstractContentComponentData>): ContentComponentRepositoryApi.RegisterBuilder
指定该组件数据的JSON序列化器