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.
Unfortunately, activation email could not send to your email. Please try again.

Angular directive for properties

Thread ID:





119787 Jul 31,2015 03:57 AM Aug 4,2015 09:01 AM JavaScript 1
Tags: ejSplitter
Asked On July 31, 2015 03:57 AM

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 09:01 AM

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.

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.