update tutorial

This commit is contained in:
当耐特 2019-07-31 14:52:50 +08:00 committed by GitHub
parent 6ee4526ac5
commit 06477c2915
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ define('my-ele', class extends WeElement {
## 传递 false 给自定义元素
HTML 有个设计缺陷,当该 attr 默认值是 true 的时候,你无法传递 false 给 attr 该元素。比如:
HTML 有个设计缺陷,当该 attr 默认值是 true 的时候,你无法传递 false 设置元素 attr 为 false。比如:
```js
define('my-element', class extends WeElement {