AngularJS Directives documentation

3 posts, 0 answers
  1. Patrik Johansson
    Patrik Johansson avatar
    270 posts
    Member since:
    May 2010

    Posted 21 Dec 2015 Link to this post

    Not sure if it is me who can't find it but where can I find some complete documentation about what AngularJS directives/attributes that are?  So that we don't have to guess based on what they are named for jQuery? 

    Like this:

     

        <div kendo-grid="grid"
             k-sortable="true"
             k-pageable="true"
             k-filterable="true"
             k-editable="'popup'"
             k-selectable="true"
             k-columns='[
                            { field: "Name", title: "Name"},
                            {command: [ "edit" , "destroy"], width: 180 }]'
             k-data-source="vm.accommodationTypesDataSource"
             k-toolbar='["create", "excel", "pdf"]'>
        </div>

  2. Alexander Valchev
    Admin
    Alexander Valchev avatar
    2877 posts

    Posted 23 Dec 2015 Link to this post

    Hello Patrik,

    The AngularJS documentation can be found here. Attribute names are formed from JavaScript configuration properties using this convention.

    Regards,
    Alexander Valchev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
  4. Benjamin
    Benjamin avatar
    21 posts
    Member since:
    Apr 2015

    Posted 11 Jan Link to this post

    Hi,

     I have to agree that it's often a bit confusing to find the right syntax for the attributes. The last thing I had trouble with was this line, which is not trivial to get on:

     k-virtual="{ itemHeight: 52, valueMapper: vm.mapper }"

Back to Top