Skip to content

Commit

Permalink
Revert "docs upd: Correct 404 markdown links (#2079)" (#2081)
Browse files Browse the repository at this point in the history
This reverts commit ac7eaf6.
  • Loading branch information
dimsemenov authored Dec 4, 2023
1 parent ac7eaf6 commit 1938a36
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ btn.onclick = () => {

You can access the PhotoSwipe core instance only after the lightbox is opened (for example, within the `beforeOpen` event).

Alternatively, you may use PhotoSwipe core without Lightbox, see example on [Data Sources page](data-sources#without-lightbox-module).
Alternatively, you may use PhotoSwipe core without Lightbox, see example on [Data Sources page](/data-sources#without-lightbox-module).

```js
const lightbox = new PhotoSwipeLightbox({
Expand Down Expand Up @@ -252,8 +252,8 @@ button.pswp__button--test-button {

</PswpCodePreview>

Alternatively, you may omit `dataSource` option entirely and use filters to supply data and number of items, example on the [Data Sources page](data-sources#dynamically-generated-data).
Alternatively, you may omit `dataSource` option entirely and use filters to supply data and number of items, example on the [Data Sources page](/data-sources#dynamically-generated-data).

## UI

Refer to [Styling](styling) page on how to adjust the UI (add buttons, modify icons, etc).
Refer to [Styling](/styling) page on how to adjust the UI (add buttons, modify icons, etc).

0 comments on commit 1938a36

Please sign in to comment.