We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Angular directive for properties

Thread ID:





119787 Jul 31,2015 07:57 AM UTC Aug 4,2015 01:01 PM UTC JavaScript 1
Tags: ejSplitter
Asked On July 31, 2015 07:57 AM UTC

Hello, can i use angular directive for setting properties (paneSize, maxSize, minSize) in my html?

Best regards

Gobalakrishnan S [Syncfusion]
Replied On August 4, 2015 01:01 PM UTC

Hi Desfero,

Thanks for using Syncfusion products.

We need to define the mentioned properties as object in the angular scope and assign that variable as the value of the “e-properties” API of the splitter control. Please refer the below code snippet.

<div id="outterSpliter" ej-splitter e-height="Height" e-width="Width" e-properties="prop">


                           <div class="cont"> Pane 1 </div>                        



                            <div class="cont"> Pane 2 </div>



angular.module('splitterApp', ['ejangular']).controller('SplitCtrl', function ($scope) {

            $scope.Width = "401";

            $scope.Height = "250";

            $scope.prop = [{ paneSize: 80,minSize:50,maxSize:150 }]


For your convenience we have prepared an example sample using JS playglound, please check with it.


Please let us know if you have further queries.


Gobalakrishnan S


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon