How to use the @ng-dynamic-forms/core.DynamicRatingModel function in @ng-dynamic-forms/core

To help you get started, we’ve selected a few @ng-dynamic-forms/core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github udos86 / ng-dynamic-forms / projects / ng-dynamic-forms / ui-bootstrap / src / lib / rating / dynamic-bootstrap-rating.component.spec.ts View on Github external
describe("DynamicBootstrapRatingComponent test suite", () => {

    let testModel = new DynamicRatingModel({id: "rating"}),
        formModel = [testModel],
        formGroup: FormGroup,
        fixture: ComponentFixture,
        component: DynamicBootstrapRatingComponent,
        debugElement: DebugElement,
        testElement: DebugElement;

    beforeEach(async(() => {

        TestBed.configureTestingModule({

            imports: [
                ReactiveFormsModule,
                NoopAnimationsModule,
                TextMaskModule,
                RatingModule.forRoot(),
github udos86 / ng-dynamic-forms / packages / ui-primeng / src / rating / dynamic-primeng-rating.component.spec.ts View on Github external
describe("DynamicPrimeNGRatingComponent test suite", () => {

    let testModel = new DynamicRatingModel({id: "rating"}),
        formModel = [testModel],
        formGroup: FormGroup,
        fixture: ComponentFixture,
        component: DynamicPrimeNGRatingComponent,
        debugElement: DebugElement,
        testElement: DebugElement;

    beforeEach(async(() => {

        TestBed.configureTestingModule({

            imports: [
                ReactiveFormsModule,
                NoopAnimationsModule,
                TextMaskModule,
                RatingModule,
github udos86 / ng-dynamic-forms / packages / ui-ng-bootstrap / src / rating / dynamic-ng-bootstrap-rating.component.spec.ts View on Github external
describe("DynamicNGBootstrapRatingComponent test suite", () => {

    let testModel = new DynamicRatingModel({id: "rating"}),
        formModel = [testModel],
        formGroup: FormGroup,
        fixture: ComponentFixture,
        component: DynamicNGBootstrapRatingComponent,
        debugElement: DebugElement,
        testElement: DebugElement;

    beforeEach(async(() => {

        TestBed.configureTestingModule({

            imports: [
                ReactiveFormsModule,
                NoopAnimationsModule,
                TextMaskModule,
                NgbRatingModule,