Skip to content

Commit

Permalink
Forgot to add the best part to the module…
Browse files Browse the repository at this point in the history
  • Loading branch information
brianpkelley committed Jan 19, 2017
1 parent 6ff793c commit d935d24
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 12 deletions.
10 changes: 1 addition & 9 deletions demo/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,7 @@
$mdColorPickerConfig.notations.order = ['rgb', 'hsl', 'text', 'hex'];


$mdColorPickerConfig.tabs.add({
name: 'wheel',
icon: 'wheel.svg',
template: [
'<div md-color-picker-wheel></div>',
'<div md-color-picker-value ng-class="{\'md-color-picker-wide\': false && !mdColorAlphaChannel}"></div>',
'<div md-color-picker-alpha class="md-color-picker-checkered-bg" ng-if="true || mdColorAlphaChannel"></div>'
].join('\n')
}, 'push');



}])
Expand Down
11 changes: 10 additions & 1 deletion dist/mdColorPicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ var dateClick;
* @member $mdColorPickerConfig#tabs#order
* @default [ 'spectrum',]
*/
order: [ 'spectrum', 'colorSliders' ] // [ 'spectrum', 'wheel', 'rgbSliders', 'palette', 'material', 'history' ];
order: [ 'spectrum', 'wheel', 'colorSliders', 'material', 'history' ] // [ 'spectrum', 'wheel', 'rgbSliders', 'palette', 'material', 'history' ];
};


Expand All @@ -779,6 +779,15 @@ var dateClick;
}
});

$mdColorPickerConfig.tabs.add({
name: 'wheel',
icon: 'wheel.svg',
template: [
'<div md-color-picker-wheel></div>',
'<div md-color-picker-value ng-class="{\'md-color-picker-wide\': false && !mdColorAlphaChannel}"></div>',
'<div md-color-picker-alpha class="md-color-picker-checkered-bg" ng-if="true || mdColorAlphaChannel"></div>'
].join('\n')
}, 'push');


this.defaults = {
Expand Down
11 changes: 10 additions & 1 deletion dist/mdColorPicker.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ var dateClick;
* @member $mdColorPickerConfig#tabs#order
* @default [ 'spectrum',]
*/
order: [ 'spectrum', 'colorSliders' ] // [ 'spectrum', 'wheel', 'rgbSliders', 'palette', 'material', 'history' ];
order: [ 'spectrum', 'wheel', 'colorSliders', 'material', 'history' ] // [ 'spectrum', 'wheel', 'rgbSliders', 'palette', 'material', 'history' ];
};


Expand All @@ -785,6 +785,15 @@ var dateClick;
}
});

$mdColorPickerConfig.tabs.add({
name: 'wheel',
icon: 'wheel.svg',
template: [
'<div md-color-picker-wheel></div>',
'<div md-color-picker-value ng-class="{\'md-color-picker-wide\': false && !mdColorAlphaChannel}"></div>',
'<div md-color-picker-alpha class="md-color-picker-checkered-bg" ng-if="true || mdColorAlphaChannel"></div>'
].join('\n')
}, 'push');


this.defaults = {
Expand Down
11 changes: 10 additions & 1 deletion src/js/mdColorPickerConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@
* @member $mdColorPickerConfig#tabs#order
* @default [ 'spectrum',]
*/
order: [ 'spectrum', 'colorSliders' ] // [ 'spectrum', 'wheel', 'rgbSliders', 'palette', 'material', 'history' ];
order: [ 'spectrum', 'wheel', 'colorSliders', 'material', 'history' ] // [ 'spectrum', 'wheel', 'rgbSliders', 'palette', 'material', 'history' ];
};


Expand All @@ -257,6 +257,15 @@
}
});

$mdColorPickerConfig.tabs.add({
name: 'wheel',
icon: 'wheel.svg',
template: [
'<div md-color-picker-wheel></div>',
'<div md-color-picker-value ng-class="{\'md-color-picker-wide\': false && !mdColorAlphaChannel}"></div>',
'<div md-color-picker-alpha class="md-color-picker-checkered-bg" ng-if="true || mdColorAlphaChannel"></div>'
].join('\n')
}, 'push');


this.defaults = {
Expand Down

0 comments on commit d935d24

Please sign in to comment.