Releases: chanind/hanzi-writer
Releases · chanind/hanzi-writer
v0.4.0
- Adds a
loopCharacterAnimation()
method which makes it easy to animate a character over and over. - Returns a promise from
animateCharacter()
,hideCharacter()
,showCharacter()
,hideOutline()
, andshowOutline()
which resolves when the action completes, instead of needing to pass anonComplete
callback (but passingonComplete
will still work). - If no width or height is provided, they will be inferred from the size of the parent element
- Adds
stroke-linecap: round
andstroke-linejoin: round
to the user-stroke drawn during quizzing which makes it look slightly nicer. - Adds a comment to the compiled JS with the current version number and a link to the website
v0.3.3
v0.3.2
v0.3.1
v0.3.0
Removing babel-polyfill
from HanziWriter
. This reduces minified filesize by half from 184kb to 97kb. This polyfill should no longer be necessary anyway as all current browsers support all JS features used in HanziWriter
. If users need to still support very old versions of IE they should include a polyfill themselves.