MCPcopy Create free account
hub / github.com/dcloudio/mui / init

Function init

examples/hello-mui/js/mui.pullToRefresh.material.js:334–343  ·  view source on GitHub ↗
(canvas, options)

Source from the content-addressed store, hash-verified

332 rAF && cancelAnimationFrame(rAF);
333 }
334 var init = function(canvas, options) {
335 canvasObj = canvas;
336 ctx = canvasObj.getContext('2d');
337 var options = $.extend(true, {}, options);
338 colors = options.colors;
339 duration = options.duration;
340 tail_duration = options.tail_duration;
341 size = options.size;
342 lineWidth = options.lineWidth;
343 };
344 return {
345 init: init,
346 drawArcedArrow: drawArcedArrow,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected