New to Kendo UI for Angular? Start a free 30-day trial
LabelModule
The exported package module.
The package exports:
LabelDirective
—The Label directive class.LabelComponent
—The Label component classFLoatingLabel
—The FloatingLabel component class.
ts
// Import the Label module
import { LabelModule } from '@progress/kendo-angular-label';
// The browser platform with a compiler
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { NgModule } from '@angular/core';
// Import the app component
import { AppComponent } from './app.component';
// Define the app module
@NgModule({
declarations: [AppComponent], // declare app component
imports: [BrowserModule, LabelModule], // import Label module
bootstrap: [AppComponent]
})
export class AppModule {}
// Compile and launch the module
platformBrowserDynamic().bootstrapModule(AppModule);