Browse Source

更新 colorpicker 组件示例

pull/1108/head
贤心 2 years ago
parent
commit
a10722721a
  1. 6
      examples/colorpicker.html

6
examples/colorpicker.html

@ -66,6 +66,12 @@ body{padding:20px;}
layui.$('#LAY-test1').val(color);
document.body.style.backgroundColor = color;
}
,cancel: function(color){
console.log('cancel', color);
}
,close: function(color){
console.log('close', color);
}
});
colorpicker.render({

Loading…
Cancel
Save