Class

ForAngularModule

ForAngularModule()

Constructor

# new ForAngularModule()

The ForAngularModule provides the core functionality for integrating Decaf with Angular applications. It imports and exports common Angular and Ionic components and modules needed for Decaf applications, including form handling, translation support, and Ionic UI components. This module can be imported directly or via the forRoot() method for proper initialization in the application's root module.

Main Angular module for the Decaf framework

View Source lib/for-angular.module.ts, line 35

Example
```typescript
// In your app module:

Classes

FieldsetComponent

This component provides a sophisticated fieldset container that automatically adapts its behavior based on CRUD operations. It integrates seamlessly with Ionic's accordion components to create expandable/collapsible sections for organizing form content and related information. The component intelligently determines its initial state based on the operation type, opening automatically for READ and DELETE operations while remaining closed for CREATE and UPDATE operations.

FilterComponent

This component provides a comprehensive filtering interface that allows users to build complex search criteria using a three-step approach: select index → select condition → enter value. It supports filtering by multiple field indexes, comparison conditions, and values, displaying selected filters as removable chips. The component is responsive and includes auto-suggestions with keyboard navigation support.

Methods

# static forRoot() → {ModuleWithProviders.<ForAngularModule>}

This static method provides the proper way to import the ForAngularModule in the application's root module. It returns a ModuleWithProviders object that includes the ForAngularModule itself. Using forRoot() ensures that the module and its providers are properly initialized and only instantiated once in the application.

Creates a module with providers for root module import

View Source lib/for-angular.module.ts, line 103

The module with its providers

ModuleWithProviders.<ForAngularModule>