Tuesday, 28 August 2018

k-options with Kendo for Angular

In older versions of Kendo with Angular, I was able to use a k-options attribute so that my controls could be configured in code as much as possible

<input kendo-date-picker k-options="monthPickerConfig">

Is something similar possible when using Kendo UI for Angular? I'm not seeing anything in the samples or documentation, but have to believe that something similar exists?

In any application beyond just a small scope, it would seem to be much easier to do this

<kendo-slider [someProperty]="sliderConfig" />

Than to do this

<kendo-slider
  [fixedTickWidth]="10"
  [min]="min"
  [max]="max"
  [smallStep]="smallStep"
  [(ngModel)] = "valueHorizontal">
</kendo-slider>



from k-options with Kendo for Angular

No comments:

Post a Comment