Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc(device-detector): fix vue live examples for doc portal #1260

Merged
merged 1 commit into from
Aug 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading