@c8y/apps
Version:
Cumulocity IoT applications
37 lines (35 loc) • 771 B
text/typescript
import { NgModule } from '@angular/core';
import { InputExampleComponent } from './input-example.component';
import {
CoreModule,
HOOK_NAVIGATOR_NODES,
HOOK_ROUTE,
NavigatorNode,
} from '@c8y/ngx-components';
@NgModule({
declarations: [InputExampleComponent],
imports: [CoreModule],
exports: [],
entryComponents: [InputExampleComponent],
providers: [
{
provide: HOOK_ROUTE,
useValue: {
path: 'input',
component: InputExampleComponent,
},
multi: true,
},
{
provide: HOOK_NAVIGATOR_NODES,
useValue: {
priority: 20,
path: '/input',
icon: 'form',
label: 'Input examples',
} as NavigatorNode,
multi: true,
},
],
})
export class InputModule {}