This is a migrated thread and some comments may be shown as answers.

AngularJS Directives documentation

2 Answers 58 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
improwise
Top achievements
Rank 1
Iron
Iron
improwise asked on 21 Dec 2015, 11:26 PM

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 Answers, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 23 Dec 2015, 03:15 PM
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!
 
0
Simon
Top achievements
Rank 1
answered on 11 Jan 2016, 04:06 PM

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 }"

Tags
General Discussions
Asked by
improwise
Top achievements
Rank 1
Iron
Iron
Answers by
Alexander Valchev
Telerik team
Simon
Top achievements
Rank 1
Share this question
or