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 CssWrapper

Properties

NameTypeDescription
type "css"-
cssClasses ?DynamicTextCSS classes to apply to the wrapper

Examples

const wrapper: CssWrapper = {
  type: 'css',
  cssClasses: 'my-css-class another-class',
};