From 7fc4ae92fed0d9ca6777b23640ca49d8aad9f4e6 Mon Sep 17 00:00:00 2001
From: David Chanin writer.hideOutline(options = {})
Update the size of the writer instance
+
+ options
object containing additional configuration options. Full options include:
+
width:
number, optional, the new width in pxheight:
number, optional, the new height in pxpadding:
number, optional, the new padding in px颜色设置更新
diff --git a/docs.html b/docs.html index 0f83daa82..22965df8f 100644 --- a/docs.html +++ b/docs.html @@ -76,7 +76,7 @@
The simplest option is to load the Hanzi Writer JS directly from the jsdelivr CDN. Just put the following in the head of your webpage: {% highlight html %} - + {% endhighlight %}
@@ -958,6 +958,17 @@
duration:
number, optional. How long the hiding animation should take to complete. If not provided then strokeFadeDuration
is used. Passing 0 will make the operation instant.Update the size of the writer instance
+
+ options
object containing additional configuration options. Full options include:
+
width:
number, optional, the new width in pxheight:
number, optional, the new height in pxpadding:
number, optional, the new padding in pxUpdate a color setting.