18 lines
412 B
JavaScript
Executable File
18 lines
412 B
JavaScript
Executable File
$(function () {
|
|
$('.demo1').colorpicker();
|
|
$('.demo2').colorpicker();
|
|
|
|
// Horizontal mode
|
|
$('#demo_forceformat').colorpicker({
|
|
format: 'rgba', // force this format
|
|
horizontal: true
|
|
});
|
|
// Horizontal mode
|
|
$('#demo_forceformat3').colorpicker({
|
|
format: 'rgba', // force this format
|
|
});
|
|
|
|
|
|
$('.demo-auto').colorpicker();
|
|
});
|