ɵclassAction
constɵclassAction:object
Defined in: projects/view-core/convert/action/class.ts:83
Type Declaration
Section titled “Type Declaration”asyncBottom
Section titled “asyncBottom”asyncBottom: <
T>(fn) =>RawConfigAction<"viewRawConfig",T,AnyCoreSchemaHandle> =patchAsyncClass
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”AsyncCallback<string>
Returns
Section titled “Returns”RawConfigAction<"viewRawConfig", T, AnyCoreSchemaHandle>
asyncComponent
Section titled “asyncComponent”asyncComponent: <
T>(fn) =>RawConfigAction<"viewRawConfig",T,AnyCoreSchemaHandle> =patchAsyncClass
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”AsyncCallback<string>
Returns
Section titled “Returns”RawConfigAction<"viewRawConfig", T, AnyCoreSchemaHandle>
asyncTop
Section titled “asyncTop”asyncTop: <
T>(classNameFn) =>RawConfigAction<"viewRawConfig",T,AnyCoreSchemaHandle> =asyncTopClass
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”classNameFn
Section titled “classNameFn”AsyncCallback<ClassValue>
Returns
Section titled “Returns”RawConfigAction<"viewRawConfig", T, AnyCoreSchemaHandle>
bottom
Section titled “bottom”bottom: <
T>(className,merge?) =>RawConfigAction<"viewRawConfig",T,AnyCoreSchemaHandle> =bottomClass
仅设置在组件上
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”className
Section titled “className”ClassValue
merge?
Section titled “merge?”boolean
Returns
Section titled “Returns”RawConfigAction<"viewRawConfig", T, AnyCoreSchemaHandle>
component
Section titled “component”component: <
T>(className,merge?) =>RawConfigAction<"viewRawConfig",T,AnyCoreSchemaHandle> =componentClass
仅设置在组件上
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”className
Section titled “className”ClassValue
merge?
Section titled “merge?”boolean
Returns
Section titled “Returns”RawConfigAction<"viewRawConfig", T, AnyCoreSchemaHandle>
top: <
T>(className,merge?) =>RawConfigAction<"viewRawConfig",T,AnyCoreSchemaHandle> =topClass
必须防止到所有wrappers操作后面,防止设置错误 设置到顶层,可能是wrapper,也可能是component
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”className
Section titled “className”ClassValue
merge?
Section titled “merge?”boolean
Returns
Section titled “Returns”RawConfigAction<"viewRawConfig", T, AnyCoreSchemaHandle>