Deprecation: #78410 - Deprecate popover member instance in TYPO3 global object.¶
See forge#78410
Description¶
The member instance TYPO3.
has been marked as deprecated.
Impact¶
Using the global instance will not throw any deprecation message.
Affected Installations¶
Any backend JavaScript or TypeScript using TYPO3.
.
Migration¶
Usage in TypeScript:
import Popover = require('TYPO3/CMS/Backend/Popover');
Copied!
To use popovers in an amd module, add it as a dependency and a corresponding argument to the anonymous function:
define('TYPO3\CMS\Extension\Module', ['jquery', 'TYPO3\CMS\Backend\Popover', 'bootstrap'], function($, Popover) {});
Copied!