Skip to content

Commit

Permalink
Add missing syntax highlighting in View (#4449)
Browse files Browse the repository at this point in the history
  • Loading branch information
woxtu authored Jan 20, 2025
1 parent 23742fe commit 652c925
Show file tree
Hide file tree
Showing 8 changed files with 48 additions and 48 deletions.
12 changes: 6 additions & 6 deletions docs/view.md
Original file line number Diff line number Diff line change
Expand Up @@ -674,23 +674,23 @@ Controls whether the `View` can be the target of touch events.
- `'none'`: The View is never the target of touch events.
- `'box-none'`: The View is never the target of touch events but its subviews can be. It behaves like if the view had the following classes in CSS:

```
```css
.box-none {
pointer-events: none;
pointer-events: none;
}
.box-none * {
pointer-events: auto;
pointer-events: auto;
}
```

- `'box-only'`: The view can be the target of touch events but its subviews cannot be. It behaves like if the view had the following classes in CSS:

```
```css
.box-only {
pointer-events: auto;
pointer-events: auto;
}
.box-only * {
pointer-events: none;
pointer-events: none;
}
```

Expand Down
12 changes: 6 additions & 6 deletions website/versioned_docs/version-0.70/view.md
Original file line number Diff line number Diff line change
Expand Up @@ -539,23 +539,23 @@ Controls whether the `View` can be the target of touch events.
- `'none'`: The View is never the target of touch events.
- `'box-none'`: The View is never the target of touch events but its subviews can be. It behaves like if the view had the following classes in CSS:

```
```css
.box-none {
pointer-events: none;
pointer-events: none;
}
.box-none * {
pointer-events: auto;
pointer-events: auto;
}
```

- `'box-only'`: The view can be the target of touch events but its subviews cannot be. It behaves like if the view had the following classes in CSS:

```
```css
.box-only {
pointer-events: auto;
pointer-events: auto;
}
.box-only * {
pointer-events: none;
pointer-events: none;
}
```

Expand Down
12 changes: 6 additions & 6 deletions website/versioned_docs/version-0.71/view.md
Original file line number Diff line number Diff line change
Expand Up @@ -701,23 +701,23 @@ Controls whether the `View` can be the target of touch events.
- `'none'`: The View is never the target of touch events.
- `'box-none'`: The View is never the target of touch events but its subviews can be. It behaves like if the view had the following classes in CSS:

```
```css
.box-none {
pointer-events: none;
pointer-events: none;
}
.box-none * {
pointer-events: auto;
pointer-events: auto;
}
```

- `'box-only'`: The view can be the target of touch events but its subviews cannot be. It behaves like if the view had the following classes in CSS:

```
```css
.box-only {
pointer-events: auto;
pointer-events: auto;
}
.box-only * {
pointer-events: none;
pointer-events: none;
}
```

Expand Down
12 changes: 6 additions & 6 deletions website/versioned_docs/version-0.72/view.md
Original file line number Diff line number Diff line change
Expand Up @@ -666,23 +666,23 @@ Controls whether the `View` can be the target of touch events.
- `'none'`: The View is never the target of touch events.
- `'box-none'`: The View is never the target of touch events but its subviews can be. It behaves like if the view had the following classes in CSS:

```
```css
.box-none {
pointer-events: none;
pointer-events: none;
}
.box-none * {
pointer-events: auto;
pointer-events: auto;
}
```

- `'box-only'`: The view can be the target of touch events but its subviews cannot be. It behaves like if the view had the following classes in CSS:

```
```css
.box-only {
pointer-events: auto;
pointer-events: auto;
}
.box-only * {
pointer-events: none;
pointer-events: none;
}
```

Expand Down
12 changes: 6 additions & 6 deletions website/versioned_docs/version-0.73/view.md
Original file line number Diff line number Diff line change
Expand Up @@ -666,23 +666,23 @@ Controls whether the `View` can be the target of touch events.
- `'none'`: The View is never the target of touch events.
- `'box-none'`: The View is never the target of touch events but its subviews can be. It behaves like if the view had the following classes in CSS:

```
```css
.box-none {
pointer-events: none;
pointer-events: none;
}
.box-none * {
pointer-events: auto;
pointer-events: auto;
}
```

- `'box-only'`: The view can be the target of touch events but its subviews cannot be. It behaves like if the view had the following classes in CSS:

```
```css
.box-only {
pointer-events: auto;
pointer-events: auto;
}
.box-only * {
pointer-events: none;
pointer-events: none;
}
```

Expand Down
12 changes: 6 additions & 6 deletions website/versioned_docs/version-0.74/view.md
Original file line number Diff line number Diff line change
Expand Up @@ -666,23 +666,23 @@ Controls whether the `View` can be the target of touch events.
- `'none'`: The View is never the target of touch events.
- `'box-none'`: The View is never the target of touch events but its subviews can be. It behaves like if the view had the following classes in CSS:

```
```css
.box-none {
pointer-events: none;
pointer-events: none;
}
.box-none * {
pointer-events: auto;
pointer-events: auto;
}
```

- `'box-only'`: The view can be the target of touch events but its subviews cannot be. It behaves like if the view had the following classes in CSS:

```
```css
.box-only {
pointer-events: auto;
pointer-events: auto;
}
.box-only * {
pointer-events: none;
pointer-events: none;
}
```

Expand Down
12 changes: 6 additions & 6 deletions website/versioned_docs/version-0.75/view.md
Original file line number Diff line number Diff line change
Expand Up @@ -666,23 +666,23 @@ Controls whether the `View` can be the target of touch events.
- `'none'`: The View is never the target of touch events.
- `'box-none'`: The View is never the target of touch events but its subviews can be. It behaves like if the view had the following classes in CSS:

```
```css
.box-none {
pointer-events: none;
pointer-events: none;
}
.box-none * {
pointer-events: auto;
pointer-events: auto;
}
```

- `'box-only'`: The view can be the target of touch events but its subviews cannot be. It behaves like if the view had the following classes in CSS:

```
```css
.box-only {
pointer-events: auto;
pointer-events: auto;
}
.box-only * {
pointer-events: none;
pointer-events: none;
}
```

Expand Down
12 changes: 6 additions & 6 deletions website/versioned_docs/version-0.76/view.md
Original file line number Diff line number Diff line change
Expand Up @@ -674,23 +674,23 @@ Controls whether the `View` can be the target of touch events.
- `'none'`: The View is never the target of touch events.
- `'box-none'`: The View is never the target of touch events but its subviews can be. It behaves like if the view had the following classes in CSS:

```
```css
.box-none {
pointer-events: none;
pointer-events: none;
}
.box-none * {
pointer-events: auto;
pointer-events: auto;
}
```

- `'box-only'`: The view can be the target of touch events but its subviews cannot be. It behaves like if the view had the following classes in CSS:

```
```css
.box-only {
pointer-events: auto;
pointer-events: auto;
}
.box-only * {
pointer-events: none;
pointer-events: none;
}
```

Expand Down

0 comments on commit 652c925

Please sign in to comment.