TYPO3 v15 dev-main snapshot ()
This commit is contained in:
+44
@@ -0,0 +1,44 @@
|
||||
.. include:: /Includes.rst.txt
|
||||
|
||||
.. _deprecation-78410:
|
||||
|
||||
===============================================================================
|
||||
Deprecation: #78410 - Deprecate popover member instance in TYPO3 global object.
|
||||
===============================================================================
|
||||
|
||||
See :issue:`78410`
|
||||
|
||||
Description
|
||||
===========
|
||||
|
||||
The member instance :js:`TYPO3.Popover` has been marked as deprecated.
|
||||
|
||||
|
||||
Impact
|
||||
======
|
||||
|
||||
Using the global instance will not throw any deprecation message.
|
||||
|
||||
|
||||
Affected Installations
|
||||
======================
|
||||
|
||||
Any backend JavaScript or TypeScript using :js:`TYPO3.Popover`.
|
||||
|
||||
|
||||
Migration
|
||||
=========
|
||||
|
||||
Usage in TypeScript:
|
||||
|
||||
.. code-block:: typescript
|
||||
|
||||
import Popover = require('TYPO3/CMS/Backend/Popover');
|
||||
|
||||
To use popovers in an amd module, add it as a dependency and a corresponding argument to the anonymous function:
|
||||
|
||||
.. code-block:: javascript
|
||||
|
||||
define('TYPO3\CMS\Extension\Module', ['jquery', 'TYPO3\CMS\Backend\Popover', 'bootstrap'], function($, Popover) {});
|
||||
|
||||
.. index:: Backend, JavaScript, NotScanned
|
||||
Reference in New Issue
Block a user