How to use @nakedobjects/view-models - 5 common examples

To help you get started, we’ve selected a few @nakedobjects/view-models 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 NakedObjectsGroup / NakedObjectsFramework / Spa2 / nakedobjectsspa / gemini / src / view-property / view-property.component.ts View on Github external
copy(event: KeyboardEvent) {
        const prop = this.property;
        if (prop) {
            copy(event, prop, this.dragAndDrop);
        }
    }
github NakedObjectsGroup / NakedObjectsFramework / Spa2 / nakedobjectsspa / gemini / src / row / row.component.ts View on Github external
copy(event: KeyboardEvent, item: IDraggableViewModel) {
        copy(event, item, this.dragAndDrop);
    }
github NakedObjectsGroup / NakedObjectsFramework / Spa2 / nakedobjectsspa / gemini / src / object / object.component.ts View on Github external
copy(event: KeyboardEvent) {
        const obj = this.object;
        if (obj) {
            copy(event, obj, this.dragAndDrop);
        }
    }
github NakedObjectsGroup / NakedObjectsFramework / Spa2 / nakedobjectsspa / gemini / src / date-picker / date-picker.component.ts View on Github external
private validateDate(newValue: string) {
        return validateDate(newValue, this.validInputFormats);
    }
github NakedObjectsGroup / NakedObjectsFramework / Spa2 / nakedobjectsspa / src / app / app.module.ts View on Github external
import { LibModule as ViewModelModule } from '@nakedobjects/view-models';
import { RoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';

@NgModule({
    declarations: [
        AppComponent,
    ],
    imports: [
        BrowserModule,
        FormsModule,
        RoutingModule,
        ReactiveFormsModule,
        HttpClientModule,
        ServicesModule.forRoot(),
        ViewModelModule.forRoot(),
        CiceroModule.forRoot(),
        GeminiModule.forRoot(),
    ],
    providers: [
    ],
    bootstrap: [AppComponent]
})
export class AppModule { }

@nakedobjects/view-models

Single Page Application client for a Naked Objects application.

Apache-2.0
Latest version published 16 days ago

Package Health Score

69 / 100
Full package analysis