fix camera upload folder

This commit is contained in:
Luke Pulverenti 2015-11-02 23:34:47 -05:00
parent 81d876b3cd
commit cb8119840a
28 changed files with 520 additions and 105 deletions

View file

@ -105,6 +105,10 @@ Custom property | Description | Default
@apply(--paper-tabs);
}
:host-context([dir=rtl]) {
@apply(--layout-horizontal-reverse);
}
#tabsContainer {
position: relative;
height: 100%;
@ -212,11 +216,14 @@ Custom property | Description | Default
properties: {
/**
* If true, ink ripple effect is disabled.
* If true, ink ripple effect is disabled. When this property is changed,
* all descendant `<paper-tab>` elements have their `noink` property
* changed to the new value as well.
*/
noink: {
type: Boolean,
value: false
value: false,
observer: '_noinkChanged'
},
/**
@ -315,10 +322,27 @@ Custom property | Description | Default
'iron-deselect': '_onIronDeselect'
},
created: function() {
this._holdJob = null;
},
ready: function() {
this.setScrollDirection('y', this.$.tabsContainer);
},
_noinkChanged: function(noink) {
var childTabs = Polymer.dom(this).querySelectorAll('paper-tab');
childTabs.forEach(noink ? this._setNoinkAttribute : this._removeNoinkAttribute);
},
_setNoinkAttribute: function(element) {
element.setAttribute('noink', '');
},
_removeNoinkAttribute: function(element) {
element.removeAttribute('noink');
},
_computeScrollButtonClass: function(hideThisButton, scrollable, hideScrollButtons) {
if (!scrollable || hideScrollButtons) {
return 'hidden';