Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
📝 Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Nov 6, 2019
1 parent 4273730 commit 0322d92
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 5 additions & 1 deletion @antv/gatsby-theme-antv/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,12 @@ module.exports = {
navs: [], // 用于定义顶部菜单
docs: [], // 用于定义文档页面的二级分类菜单
examples: [], // 用于定义演示页面的二级菜单,属性见下方
exampleContainer: '<canvas id="container" />', // 定义演示的渲染节点,默认 <div id="container" />
showLanguageSwitcher: true, // 用于定义是否展示语言切换
playpround: {
container: '<canvas id="container" />', // 定义演示的渲染节点,默认 <div id="container" />
playgroundDidMount: 'console.log("playgroundDidMount");',
playgroundWillUnmount: 'console.log("playgroundWillUnmount");',
},
},
};
```
Expand Down
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,8 @@ module.exports = {
showLanguageSwitcher: true, // 用于定义是否展示语言切换
playpround: {
container: '<canvas id="container" />', // 定义演示的渲染节点,默认 <div id="container" />
playgroundDidMount: function() {
console.log('beforeEach');
},
playgroundWillUnmount: function() {
console.log('afterEach');
},
playgroundDidMount: 'console.log("playgroundDidMount");',
playgroundWillUnmount: 'console.log("playgroundWillUnmount");',
},
},
};
Expand Down

0 comments on commit 0322d92

Please sign in to comment.