Skip to content

Commit

Permalink
docs: update pages
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshenhai committed Mar 16, 2024
1 parent 062faca commit ea630de
Show file tree
Hide file tree
Showing 55 changed files with 55 additions and 55 deletions.
2 changes: 1 addition & 1 deletion docs/404.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/en-US/api/add-element.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> borderColor: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;#ff6032&#39;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> }</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">});</span></span></code></pre></div><h2 id="example" tabindex="-1">Example <a class="header-anchor" href="#example" aria-label="Permalink to &quot;Example&quot;"></a></h2><p><a href="https://idrawjs.com/playground/?demo=api-addElement" target="_blank" rel="noreferrer">More Demo &gt;&gt;</a></p><iframe class="idraw-playground-preview" src="https://idrawjs.com/playground/?demo=api-addElement&amp;header=false&amp;sider=false&amp;default-editor-split=50" width="1000" height="480" frameborder="no" border="0" style="border:1px solid #cecece;margin:0px auto;"></iframe></div></div></main><footer class="VPDocFooter" data-v-13d3b166 data-v-311e5358><!--[--><!--]--><!----><nav class="prev-next" data-v-311e5358><div class="pager" data-v-311e5358><a class="VPLink link pager-link prev" href="/docs/en-US/api/select-element.html" data-v-311e5358><!--[--><span class="desc" data-v-311e5358>Previous page</span><span class="title" data-v-311e5358>selectElement</span><!--]--></a></div><div class="pager" data-v-311e5358><a class="VPLink link pager-link next" href="/docs/en-US/api/update-element.html" data-v-311e5358><!--[--><span class="desc" data-v-311e5358>Next page</span><span class="title" data-v-311e5358>updateElement</span><!--]--></a></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><!----><!--[--><!--]--></div></div>
<script>window.__VP_HASH_MAP__=JSON.parse("{\"en-us_api_add-element.md\":\"CSft2v_9\",\"en-us_api_move-element.md\":\"erz1dvw_\",\"en-us_api_enable-disable.md\":\"Hq-2IrXy\",\"en-us_api_delete-element.md\":\"5FA1Myw8\",\"en-us_api_center-content.md\":\"HDti-yp1\",\"en-us_api_set-mode.md\":\"wBD5SPSr\",\"en-us_api_update-element.md\":\"-iahCtBO\",\"en-us_api_select-element.md\":\"M70Ah2tn\",\"en-us_api_resize.md\":\"Us45idBF\",\"en-us_element_circle.md\":\"9LkWREaD\",\"en-us_element_group.md\":\"yL0oQCBe\",\"en-us_element_html.md\":\"tsHVUPVh\",\"en-us_element_image.md\":\"EjC1u2Xj\",\"en-us_api_set-data.md\":\"ZwngY3kQ\",\"en-us_api_get-data.md\":\"zaCOgLDU\",\"en-us_element_info.md\":\"xj25PwHX\",\"en-us_element_path.md\":\"Hel0-4hv\",\"en-us_element_rect.md\":\"jl7sqBwM\",\"zh-cn_api_enable-disable.md\":\"LyJ2eIfM\",\"zh-cn_api_center-content.md\":\"6gCUd5A0\",\"en-us_index.md\":\"WN7UD5Qv\",\"zh-cn_api_update-element.md\":\"r7FOtd7Z\",\"zh-cn_element_circle.md\":\"TXgGQoDH\",\"en-us_guide_quickstart.md\":\"j-SOaCU1\",\"en-us_sponsor.md\":\"OjMNo1xz\",\"zh-cn_api_add-element.md\":\"cWrK0KKU\",\"zh-cn_element_info.md\":\"AultvWeM\",\"zh-cn_element_text.md\":\"Mlt5U0l-\",\"zh-cn_element_path.md\":\"J3z6LwN_\",\"zh-cn_element_rect.md\":\"IuhJ9ne4\",\"zh-cn_element_svg.md\":\"ga__SCBc\",\"en-us_guide_introduction.md\":\"oAtGMDCn\",\"zh-cn_api_move-element.md\":\"z-cVejVv\",\"index.md\":\"bWcwn8Hi\",\"zh-cn_api_set-mode.md\":\"UDWKcg3E\",\"zh-cn_api_delete-element.md\":\"j4QWtj8O\",\"zh-cn_api_resize.md\":\"aecMZXgm\",\"en-us_guide_class-idraw.md\":\"NV45iEKs\",\"en-us_element_svg.md\":\"yAlcGznY\",\"zh-cn_api_set-data.md\":\"j0eTmWAp\",\"zh-cn_api_get-data.md\":\"_9ZhWQCT\",\"en-us_element_text.md\":\"9k45uKEt\",\"en-us_guide_installation.md\":\"LCva9Prm\",\"zh-cn_element_group.md\":\"5flfEW0e\",\"zh-cn_element_image.md\":\"a7TjGV-j\",\"zh-cn_guide_class-idraw.md\":\"1BC1Vc1m\",\"zh-cn_element_html.md\":\"_O0oTlOn\",\"zh-cn_index.md\":\"wdqaL4HK\",\"zh-cn_api_select-element.md\":\"9SmQXMXH\",\"zh-cn_guide_quickstart.md\":\"JlXf8dNq\",\"zh-cn_guide_introduction.md\":\"L_K3kExR\",\"zh-cn_guide_installation.md\":\"Z0pJQFTS\",\"zh-cn_sponsor.md\":\"w_7AgKx0\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"iDraw.js\",\"description\":\"A simple JavaScript framework for Drawing on the web.\",\"base\":\"/docs/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"logo\":{\"src\":\"./assets/idraw.png\"},\"i18nRouting\":true,\"nav\":[{\"text\":\"Home\",\"link\":\"/\"},{\"text\":\"Sponsor\",\"link\":\"/en-US/sponsor\"},{\"text\":\"Playground\",\"link\":\"https://idrawjs.com/playground/\"}],\"sidebar\":[{\"text\":\"Guides\",\"items\":[{\"text\":\"introdcution\",\"link\":\"/en-US/guide/introduction\"},{\"text\":\"Qick Started\",\"link\":\"/en-US/guide/quickstart\"},{\"text\":\"Installation\",\"link\":\"/en-US/guide/installation\"},{\"text\":\"Class iDraw\",\"link\":\"/en-US/guide/class-idraw\"}]},{\"text\":\"Element\",\"items\":[{\"text\":\"Basic\",\"link\":\"/en-US/element/info\"},{\"text\":\"Text\",\"link\":\"/en-US/element/text\"},{\"text\":\"Rect\",\"link\":\"/en-US/element/rect\"},{\"text\":\"Circle\",\"link\":\"/en-US/element/circle\"},{\"text\":\"Image\",\"link\":\"/en-US/element/image\"},{\"text\":\"SVG\",\"link\":\"/en-US/element/svg\"},{\"text\":\"HTML\",\"link\":\"/en-US/element/html\"},{\"text\":\"Path\",\"link\":\"/en-US/element/path\"},{\"text\":\"Group\",\"link\":\"/en-US/element/group\"}]},{\"text\":\"API\",\"items\":[{\"text\":\"setData\",\"link\":\"/en-US/api/set-data\"},{\"text\":\"getData\",\"link\":\"/en-US/api/get-data\"},{\"text\":\"setMode\",\"link\":\"/en-US/api/set-mode\"},{\"text\":\"selectElement\",\"link\":\"/en-US/api/select-element\"},{\"text\":\"addElement\",\"link\":\"/en-US/api/add-element\"},{\"text\":\"updateElement\",\"link\":\"/en-US/api/update-element\"},{\"text\":\"deleteElement\",\"link\":\"/en-US/api/delete-element\"},{\"text\":\"moveElement\",\"link\":\"/en-US/api/move-element\"},{\"text\":\"resize\",\"link\":\"/en-US/api/resize\"},{\"text\":\"centerContent\",\"link\":\"/en-US/api/center-content\"},{\"text\":\"enable/disable\",\"link\":\"/en-US/api/enable-disable\"}]}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/idrawjs/idraw\"}]},\"locales\":{\"en-US\":{\"label\":\"English\",\"lang\":\"en-US\",\"link\":\"/en-US/\"},\"zh-CN\":{\"label\":\"中文\",\"lang\":\"zh-CN\",\"link\":\"/zh-CN/\",\"themeConfig\":{\"logo\":{\"src\":\"./assets/idraw.png\"},\"nav\":[{\"text\":\"主页\",\"link\":\"/zh-CN/\"},{\"text\":\"捐赠\",\"link\":\"/zh-CN/sponsor\"},{\"text\":\"演示\",\"link\":\"https://idrawjs.com/playground/\"}],\"sidebar\":[{\"text\":\"基础\",\"items\":[{\"text\":\"介绍\",\"link\":\"/zh-CN/guide/introduction\"},{\"text\":\"快速开始\",\"link\":\"/zh-CN/guide/quickstart\"},{\"text\":\"安装\",\"link\":\"/zh-CN/guide/installation\"},{\"text\":\"iDraw\",\"link\":\"/zh-CN/guide/class-idraw\"}]},{\"text\":\"元素\",\"items\":[{\"text\":\"Basic\",\"link\":\"/zh-CN/element/info\"},{\"text\":\"Text\",\"link\":\"/zh-CN/element/text\"},{\"text\":\"Rect\",\"link\":\"/zh-CN/element/rect\"},{\"text\":\"Circle\",\"link\":\"/zh-CN/element/circle\"},{\"text\":\"Image\",\"link\":\"/zh-CN/element/image\"},{\"text\":\"SVG\",\"link\":\"/zh-CN/element/svg\"},{\"text\":\"HTML\",\"link\":\"/zh-CN/element/html\"},{\"text\":\"Path\",\"link\":\"/zh-CN/element/path\"},{\"text\":\"Group\",\"link\":\"/zh-CN/element/group\"}]},{\"text\":\"API\",\"items\":[{\"text\":\"setData\",\"link\":\"/zh-CN/api/set-data\"},{\"text\":\"getData\",\"link\":\"/zh-CN/api/get-data\"},{\"text\":\"setMode\",\"link\":\"/zh-CN/api/set-mode\"},{\"text\":\"selectElement\",\"link\":\"/zh-CN/api/select-element\"},{\"text\":\"addElement\",\"link\":\"/zh-CN/api/add-element\"},{\"text\":\"updateElement\",\"link\":\"/zh-CN/api/update-element\"},{\"text\":\"deleteElement\",\"link\":\"/zh-CN/api/delete-element\"},{\"text\":\"moveElement\",\"link\":\"/zh-CN/api/move-element\"},{\"text\":\"resize\",\"link\":\"/zh-CN/api/resize\"},{\"text\":\"centerContent\",\"link\":\"/zh-CN/api/center-content\"},{\"text\":\"enable/disable\",\"link\":\"/zh-CN/api/enable-disable\"}]}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/idrawjs/idraw\"}]}}},\"scrollOffset\":134,\"cleanUrls\":false}");</script>
<script>window.__VP_HASH_MAP__=JSON.parse("{\"en-us_api_center-content.md\":\"HDti-yp1\",\"en-us_api_enable-disable.md\":\"Hq-2IrXy\",\"en-us_api_delete-element.md\":\"5FA1Myw8\",\"en-us_api_get-data.md\":\"zaCOgLDU\",\"en-us_api_add-element.md\":\"CSft2v_9\",\"en-us_api_resize.md\":\"Us45idBF\",\"en-us_api_select-element.md\":\"M70Ah2tn\",\"en-us_api_move-element.md\":\"erz1dvw_\",\"en-us_api_set-data.md\":\"ZwngY3kQ\",\"en-us_api_set-mode.md\":\"wBD5SPSr\",\"en-us_api_update-element.md\":\"-iahCtBO\",\"en-us_element_circle.md\":\"9LkWREaD\",\"en-us_element_group.md\":\"yL0oQCBe\",\"en-us_element_html.md\":\"tsHVUPVh\",\"en-us_element_image.md\":\"EjC1u2Xj\",\"en-us_element_info.md\":\"xj25PwHX\",\"en-us_element_rect.md\":\"jl7sqBwM\",\"en-us_element_svg.md\":\"yAlcGznY\",\"en-us_element_path.md\":\"Hel0-4hv\",\"en-us_element_text.md\":\"9k45uKEt\",\"en-us_guide_class-idraw.md\":\"NV45iEKs\",\"en-us_guide_installation.md\":\"LCva9Prm\",\"en-us_sponsor.md\":\"OjMNo1xz\",\"en-us_guide_quickstart.md\":\"j-SOaCU1\",\"en-us_index.md\":\"WN7UD5Qv\",\"index.md\":\"bWcwn8Hi\",\"en-us_guide_introduction.md\":\"oAtGMDCn\",\"zh-cn_api_add-element.md\":\"cWrK0KKU\",\"zh-cn_api_center-content.md\":\"6gCUd5A0\",\"zh-cn_api_enable-disable.md\":\"LyJ2eIfM\",\"zh-cn_api_delete-element.md\":\"j4QWtj8O\",\"zh-cn_api_get-data.md\":\"_9ZhWQCT\",\"zh-cn_api_move-element.md\":\"z-cVejVv\",\"zh-cn_api_resize.md\":\"aecMZXgm\",\"zh-cn_api_select-element.md\":\"9SmQXMXH\",\"zh-cn_api_set-data.md\":\"j0eTmWAp\",\"zh-cn_api_set-mode.md\":\"UDWKcg3E\",\"zh-cn_api_update-element.md\":\"r7FOtd7Z\",\"zh-cn_element_group.md\":\"5flfEW0e\",\"zh-cn_element_circle.md\":\"TXgGQoDH\",\"zh-cn_element_image.md\":\"a7TjGV-j\",\"zh-cn_element_html.md\":\"_O0oTlOn\",\"zh-cn_element_info.md\":\"AultvWeM\",\"zh-cn_element_svg.md\":\"ga__SCBc\",\"zh-cn_element_path.md\":\"J3z6LwN_\",\"zh-cn_element_rect.md\":\"IuhJ9ne4\",\"zh-cn_guide_introduction.md\":\"L_K3kExR\",\"zh-cn_index.md\":\"wdqaL4HK\",\"zh-cn_guide_quickstart.md\":\"JlXf8dNq\",\"zh-cn_guide_class-idraw.md\":\"1BC1Vc1m\",\"zh-cn_guide_installation.md\":\"Z0pJQFTS\",\"zh-cn_element_text.md\":\"Mlt5U0l-\",\"zh-cn_sponsor.md\":\"w_7AgKx0\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"iDraw.js\",\"description\":\"A simple JavaScript framework for Drawing on the web.\",\"base\":\"/docs/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"logo\":{\"src\":\"./assets/idraw.png\"},\"i18nRouting\":true,\"nav\":[{\"text\":\"Home\",\"link\":\"/\"},{\"text\":\"Sponsor\",\"link\":\"/en-US/sponsor\"},{\"text\":\"Playground\",\"link\":\"https://idrawjs.com/playground/\"}],\"sidebar\":[{\"text\":\"Guides\",\"items\":[{\"text\":\"introdcution\",\"link\":\"/en-US/guide/introduction\"},{\"text\":\"Qick Started\",\"link\":\"/en-US/guide/quickstart\"},{\"text\":\"Installation\",\"link\":\"/en-US/guide/installation\"},{\"text\":\"Class iDraw\",\"link\":\"/en-US/guide/class-idraw\"}]},{\"text\":\"Element\",\"items\":[{\"text\":\"Basic\",\"link\":\"/en-US/element/info\"},{\"text\":\"Text\",\"link\":\"/en-US/element/text\"},{\"text\":\"Rect\",\"link\":\"/en-US/element/rect\"},{\"text\":\"Circle\",\"link\":\"/en-US/element/circle\"},{\"text\":\"Image\",\"link\":\"/en-US/element/image\"},{\"text\":\"SVG\",\"link\":\"/en-US/element/svg\"},{\"text\":\"HTML\",\"link\":\"/en-US/element/html\"},{\"text\":\"Path\",\"link\":\"/en-US/element/path\"},{\"text\":\"Group\",\"link\":\"/en-US/element/group\"}]},{\"text\":\"API\",\"items\":[{\"text\":\"setData\",\"link\":\"/en-US/api/set-data\"},{\"text\":\"getData\",\"link\":\"/en-US/api/get-data\"},{\"text\":\"setMode\",\"link\":\"/en-US/api/set-mode\"},{\"text\":\"selectElement\",\"link\":\"/en-US/api/select-element\"},{\"text\":\"addElement\",\"link\":\"/en-US/api/add-element\"},{\"text\":\"updateElement\",\"link\":\"/en-US/api/update-element\"},{\"text\":\"deleteElement\",\"link\":\"/en-US/api/delete-element\"},{\"text\":\"moveElement\",\"link\":\"/en-US/api/move-element\"},{\"text\":\"resize\",\"link\":\"/en-US/api/resize\"},{\"text\":\"centerContent\",\"link\":\"/en-US/api/center-content\"},{\"text\":\"enable/disable\",\"link\":\"/en-US/api/enable-disable\"}]}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/idrawjs/idraw\"}]},\"locales\":{\"en-US\":{\"label\":\"English\",\"lang\":\"en-US\",\"link\":\"/en-US/\"},\"zh-CN\":{\"label\":\"中文\",\"lang\":\"zh-CN\",\"link\":\"/zh-CN/\",\"themeConfig\":{\"logo\":{\"src\":\"./assets/idraw.png\"},\"nav\":[{\"text\":\"主页\",\"link\":\"/zh-CN/\"},{\"text\":\"捐赠\",\"link\":\"/zh-CN/sponsor\"},{\"text\":\"演示\",\"link\":\"https://idrawjs.com/playground/\"}],\"sidebar\":[{\"text\":\"基础\",\"items\":[{\"text\":\"介绍\",\"link\":\"/zh-CN/guide/introduction\"},{\"text\":\"快速开始\",\"link\":\"/zh-CN/guide/quickstart\"},{\"text\":\"安装\",\"link\":\"/zh-CN/guide/installation\"},{\"text\":\"iDraw\",\"link\":\"/zh-CN/guide/class-idraw\"}]},{\"text\":\"元素\",\"items\":[{\"text\":\"Basic\",\"link\":\"/zh-CN/element/info\"},{\"text\":\"Text\",\"link\":\"/zh-CN/element/text\"},{\"text\":\"Rect\",\"link\":\"/zh-CN/element/rect\"},{\"text\":\"Circle\",\"link\":\"/zh-CN/element/circle\"},{\"text\":\"Image\",\"link\":\"/zh-CN/element/image\"},{\"text\":\"SVG\",\"link\":\"/zh-CN/element/svg\"},{\"text\":\"HTML\",\"link\":\"/zh-CN/element/html\"},{\"text\":\"Path\",\"link\":\"/zh-CN/element/path\"},{\"text\":\"Group\",\"link\":\"/zh-CN/element/group\"}]},{\"text\":\"API\",\"items\":[{\"text\":\"setData\",\"link\":\"/zh-CN/api/set-data\"},{\"text\":\"getData\",\"link\":\"/zh-CN/api/get-data\"},{\"text\":\"setMode\",\"link\":\"/zh-CN/api/set-mode\"},{\"text\":\"selectElement\",\"link\":\"/zh-CN/api/select-element\"},{\"text\":\"addElement\",\"link\":\"/zh-CN/api/add-element\"},{\"text\":\"updateElement\",\"link\":\"/zh-CN/api/update-element\"},{\"text\":\"deleteElement\",\"link\":\"/zh-CN/api/delete-element\"},{\"text\":\"moveElement\",\"link\":\"/zh-CN/api/move-element\"},{\"text\":\"resize\",\"link\":\"/zh-CN/api/resize\"},{\"text\":\"centerContent\",\"link\":\"/zh-CN/api/center-content\"},{\"text\":\"enable/disable\",\"link\":\"/zh-CN/api/enable-disable\"}]}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/idrawjs/idraw\"}]}}},\"scrollOffset\":134,\"cleanUrls\":false}");</script>

</body>
</html>
Loading

0 comments on commit ea630de

Please sign in to comment.