Having trouble getting help?
Contact Support
Contact Support
Right to left in Angular Check box component
27 Apr 20241 minute to read
CheckBox component has RTL support. This can be achieved by setting enableRtl
as true
.
The following example illustrates how to enable right-to-left support in CheckBox component.
import { NgModule } from '@angular/core'
import { BrowserModule } from '@angular/platform-browser'
import { CheckBoxModule } from '@syncfusion/ej2-angular-buttons'
import { Component } from '@angular/core';
@Component({
imports: [
CheckBoxModule
],
standalone: true,
selector: 'app-root',
template: `<div class="e-section-control">
<ejs-checkbox label="Default" [enableRtl]="true"></ejs-checkbox></div>`
})
export class AppComponent { }
import { bootstrapApplication } from '@angular/platform-browser';
import { AppComponent } from './app.component';
import 'zone.js';
bootstrapApplication(AppComponent).catch((err) => console.error(err));