Skip to content
Snippets Groups Projects
Commit 4230d9fb authored by Lina Wolf's avatar Lina Wolf Committed by Christian Kuhn
Browse files

[DOCS] Make JavaScript example lint

Releases: main
Resolves: #100875
Change-Id: Icf4f3bb92f3ab59de6a1790d3cd0925af42b5463
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/79028


Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 17937d23
Branches
Tags
No related merge requests found
......@@ -26,14 +26,14 @@ Example:
.. code-block:: js
import {default as Modal} from './modal';
import Modal from '@typo3/backend/modal';
Modal.advanced(
Modal.advanced({
title: 'Hello',
content: 'This modal is not closable via clicking the backdrop.',
size: Modal.sizes.small,
staticBackdrop: true
);
});
Templates using the HTML class :html:`.t3js-modal-trigger` to initialize
a modal dialog can also use the new option by adding the
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment