Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DorfModule

Library module with all the default components.

This module exports FormsModule and ReactiveFormsModule and all the predefined DORF components.

It may be imported by forRoot method and then there is a possibility to define custom fields and CSS classes.

example

 //
 DorfModule.forRoot({
   css: {
     general: {
       form: "pure-form pure-form-aligned",
       group: "pure-control-group",
       error: "error-message"
     }
   },
   dorfFields: [{
     tag: StarRatingDefinition.TAG,
     definition: StarRatingDefinition,
     metadata: StarRatingMetadata
   }]
 })],
stable

Hierarchy

  • DorfModule

Index

Methods

Methods

Static forRoot

Generated using TypeDoc