Skip to content

Commit

Permalink
Merge pull request #866 from davitykale/master
Browse files Browse the repository at this point in the history
Add missing types to properties
  • Loading branch information
tomivirkki authored Apr 26, 2017
2 parents 451c8a9 + 62a6f5b commit a588ec2
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vaadin-grid-data-provider-behavior.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
*
*/
dataProvider: {
type: Object,
notify: true,
observer: '_dataProviderChanged'
},
Expand All @@ -96,12 +97,14 @@
_loading: Boolean,

_cache: {
type: Object,
value: function() {
return {};
}
},

_pendingRequests: {
type: Object,
value: function() {
return {};
}
Expand Down
1 change: 1 addition & 0 deletions vaadin-grid-filter-behavior.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
properties: {

_filters: {
type: Array,
value: function() {
return [];
}
Expand Down
1 change: 1 addition & 0 deletions vaadin-grid-row-details-behavior.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
* An array containing references to expanded items.
*/
expandedItems: {
type: Array,
value: function() {
return [];
}
Expand Down
2 changes: 2 additions & 0 deletions vaadin-grid-table-outer-scroller.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,12 @@

properties: {
scrollTarget: {
type: Object,
observer: '_scrollTargetChanged'
},

passthrough: {
type: Boolean,
reflectToAttribute: true,
value: true
}
Expand Down
2 changes: 2 additions & 0 deletions vaadin-grid-table-scroll-behavior.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,12 @@
properties: {

_vidxOffset: {
type: Number,
value: 0
},

ios: {
type: Boolean,
value: navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/),
reflectToAttribute: true
},
Expand Down
2 changes: 2 additions & 0 deletions vaadin-grid-table.html
Original file line number Diff line number Diff line change
Expand Up @@ -349,10 +349,12 @@
},

safari: {
type: Boolean,
value: /^((?!chrome|android).)*safari/i.test(navigator.userAgent)
},

scrollbarWidth: {
type: Number,
value: function() {
// Create the measurement node
var scrollDiv = document.createElement('div');
Expand Down
1 change: 1 addition & 0 deletions vaadin-grid.html
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@
_rowDetailsTemplate: Object,

_bindData: {
type: Object,
value: function() {
return this._getItem.bind(this);
}
Expand Down

0 comments on commit a588ec2

Please sign in to comment.