Skip to content

Commit 9196784

Browse files
chore(docs): Use correct headline level for sw.window.getId (#1076)
1 parent 42eda89 commit 9196784

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

docs/admin-sdk/api-reference/window.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,24 +66,24 @@ No parameters required.
6666
#### Return value:
6767
Returns a promise without data.
6868

69-
### Get an unique identifier for the window
69+
### Get a unique identifier for the window
7070

7171
> Available since Shopware v6.7.1.0
7272
7373
When it comes to session handling it can be useful to have a unique identifier for your window.
7474

75-
### Usage:
75+
#### Usage:
7676
```ts
7777
sw.window.getId()
7878
```
7979

80-
### Parameters
80+
#### Parameters:
8181
No parameters required
8282

83-
### Return value:
83+
#### Return value:
8484
A `string` representing an unique identifier for the current window
8585

86-
### Example
86+
#### Example:
8787
In this example we check if the `sessionStorage` contains data from a former window. This can happen if a user uses the *Duplicate Tab* feature of some browsers.
8888

8989
```ts

0 commit comments

Comments
 (0)