Globalization in Angular Splitter component

21 Sep 20222 minutes to read


Specifies the direction of the Splitter component using the enableRtl property. For writing systems that require it like Arabic, Hebrew, etc., the direction can be switched to right-to-left.

The following code shows how to enable RTL behavior.

import { Component } from '@angular/core';

    selector: 'app-root',
    template: `
      <div id='container'>
         <ejs-splitter #plain height='200px' width='600' enableRtl='true'>
                <e-pane size='200px' content='<div class="content">Left pane</div>'>
                <e-pane size='200px' content='<div class="content">Middle pane</div>'>
                <e-pane size='200px' content='<div class="content">Right pane</div>'>
export class AppComponent {
    constructor() {
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { FormsModule } from '@angular/forms';
import { AppComponent } from './app.component';
import { SplitterModule } from '@syncfusion/ej2-angular-layouts';

 * Module
    imports: [
        BrowserModule, FormsModule, SplitterModule
    declarations: [AppComponent],
    bootstrap: [AppComponent]
export class AppModule {
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { enableProdMode } from '@angular/core';
import { AppModule } from './app.module';


See Also