canvas白板插件实现手写画板白板效果
代码语言:html
所属分类:其他
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>BFW NEW PAGE</title> <script id="bfwone" type="text/javascript" src="http://repo.bfw.wiki/bfwrepo/js/bfwone.js"></script> <script type="text/javascript"> bready(function() { use(["canvas-designer-widget"], function() { var designer = new CanvasDesigner(); // both links are mandatory // widget.html will internally use widget.js designer.widgetHtmlURL = 'http://repo.bfw.wiki/bfwrepo/html/widget.html'; // you can place this file anywhere designer.widgetJsURL = 'http://repo.bfw.wiki/bfwrepo/js/widget.js'; // you can place this file anywhere designer.setSelected('pencil'); designer.setTools({ pencil: true, text: true, .........完整代码请登录后点击上方下载按钮下载查看
网友评论0