Skip to content

Commit

Permalink
added : read me illustration
Browse files Browse the repository at this point in the history
  • Loading branch information
Cam O'Connell committed Jan 30, 2019
1 parent 17bca50 commit e341760
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 4 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ A Modern JS library for SVG path animation
<br><br>

# Getting Started


![Lazy Line Painter](http://lazylinepainter.info/drag_drop.jpg)
*Lazy Line Painter can be setup with minimal effort as per the Quick Start instructions. <br><br>
However if a GUI is more your thing, be sure to use the [Lazy Line Composer](http://lazylinepainter.info/#composer). <br>
A free Online Editor developed specifically for SVG path animation.*
Expand Down
10 changes: 10 additions & 0 deletions lib/lazy-line-painter-1.9.4.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/lazy-line-painter-1.9.4.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/lazy-line-painter-1.9.4.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/lazy-line-painter-1.9.4.min.js.map

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,13 +228,20 @@ class LazyLinePainter {
case 'ease':
this._setEase(value);
break;
case 'repeat':
this._setRepeat(value);
break;
default:
if (this.config.log) {
console.log('property ' + prop + ' can not be set');
}
}
}

_setRepeat(repeat) {
this.config.repeat = repeat;
}

_setEase(ease) {
this.config.ease = ease;
}
Expand Down

0 comments on commit e341760

Please sign in to comment.