Interface
CssWrapper
@ng-forge/dynamic-forms
Configuration for the built-in 'css' wrapper type.
The CSS wrapper applies CSS classes around wrapped content via a DynamicText input that resolves to space-separated class names.
Signature
interface CssWrapperProperties
| Name | Type | Description |
|---|---|---|
type | "css" | - |
cssClasses ? | DynamicText | CSS classes to apply to the wrapper |
Examples
const wrapper: CssWrapper = {
type: 'css',
cssClasses: 'my-css-class another-class',
};packages/dynamic-forms/src/lib/wrappers/css/css-wrapper.type.ts:17