[fix] pointerEvents CSS

Fix #513
This commit is contained in:
Nicolas Gallagher
2017-06-11 14:04:30 -07:00
parent 6ae68e948f
commit d13f78622b
6 changed files with 82 additions and 63 deletions
+4 -4
View File
@@ -132,15 +132,15 @@ Controls whether the View can be the target of touch events. The enhanced
`box-none` is the equivalent of:
```css
.box-none { pointer-events: none }
.box-none * { pointer-events: auto }
.box-none { pointer-events: none !important; }
.box-none > * { pointer-events: auto; }
```
`box-only` is the equivalent of:
```css
.box-only { pointer-events: auto }
.box-only * { pointer-events: none }
.box-only { pointer-events: auto !important; }
.box-only > * { pointer-events: none; }
```
**style**: ?style