Deprecation: #103230 - Deprecate @typo3/backend/wizard.js
See forge#103230
Description
The TYPO3 backend module @typo3/
that offers simple
wizards has been marked as deprecated in favor of the richer
@typo3/
module.
Impact
Using the deprecated module will trigger a browser console warning.
Affected installations
All installations using @typo3/
are affected.
Migration
Migrate to the module @typo3/
. There are two
major differences:
- The class name changes to
Multi
.Step Wizard - The method
add
receives an additional argument for the step title in the progress bar.Slide ()
Example
-import Wizard from '@typo3/backend/wizard.js';
+import MultiStepWizard from '@typo3/backend/multi-step-wizard.js';
-Wizard.addSlide(
+MultiStepWizard.addSlide(
'my-slide-identifier',
'Slide title',
'Content of my slide',
SeverityEnum.notice,
+ 'My step',
function () {
// callback executed after displaying the slide
}
);
Copied!