Right to left in Vue Button component

8 Aug 20231 minute to read

Button component has RTL support. This can be achieved by setting enableRtl as

The following example illustrates how to enable right-to-left support in Button component.

    <ejs-button iconCss='e-icons e-setting-icon' enableRtl=true>Settings</ejs-button>

import Vue from 'vue';
import { ButtonPlugin } from '@syncfusion/ej2-vue-buttons';
import { enableRipple } from '@syncfusion/ej2-base';


export default {}

@import '../node_modules/@syncfusion/ej2-base/styles/material.css';
@import '../node_modules/@syncfusion/ej2-buttons/styles/material.css';

.e-setting-icon::before {
  content: '\e434';

button {
  margin: 25px 5px 20px 20px;