Skip to content

Commit

Permalink
doc(device-detector): fix vue live examples for doc portal (#1260)
Browse files Browse the repository at this point in the history
  • Loading branch information
herrardo authored Aug 21, 2023
1 parent 19ffb07 commit 546f74e
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
type MaxWidth = number;
/**
* This component helps detecting or setting a device, that can be used later to create
* This component helps to detect or setting a device, that can be used later to create
* different layouts optimized for different devices. This detected device is available under
* the {@link XComponentAliasAPI.device} property.
*
Expand Down Expand Up @@ -154,7 +154,7 @@ name given an object containing all the possible breakpoints.

_Try resizing the browser window!_

```vue
```vue live
<template>
<div>
<DeviceDetector :breakpoints="breakpoints" />
Expand Down Expand Up @@ -190,7 +190,7 @@ matter what the window width is.

_Try resizing the window to check that it never changes_

```vue
```vue live
<template>
<div>
<DeviceDetector force="mobile" :breakpoints="breakpoints" />
Expand Down Expand Up @@ -226,7 +226,7 @@ payload. This device is stored in a data variable and then displayed.

_Try resizing the browser window!_

```vue
```vue live
<template>
<div>
<DeviceDetector :breakpoints="breakpoints" @DeviceProvided="storeDevice" />
Expand Down

0 comments on commit 546f74e

Please sign in to comment.