MDL-78203 lib: document new components

This commit is contained in:
Ferran Recio 2023-08-11 17:18:46 +02:00
parent cb541081bd
commit fc37e6ca92
2 changed files with 7 additions and 0 deletions

View File

@ -14,6 +14,8 @@ Some considerations about the activitybadge feature:
- Optionally, any other extra HTML attributes to the badge element (for example, data attributes).
* Protected function `core_courseformat\output\local\content\section\availability::availability_info()` has been deprecated,
`core_courseformat\output\local\content\section\availability::get_availability_data()` should be used instead.
* New course format output classes:
- core_courseformat\output\local\content\cm\groupmode output class to display the groupmode icon in the activity card.
=== 4.2 ===
* New core_courseformat\base::get_context() to get the course context directly from the format instance.

View File

@ -71,6 +71,11 @@ information provided here is intended especially for developers.
* The moodle-core-notification-confirm module, found under the M.core.confirm namespace, has been deprecated.
Any code using it should be rewritten as an ESM and use the core/notification module instead.
See MDL-77174 for further information.
* New set of output generic components. Check the component library for more information:
- core\output\local\action_menu\subpanel to add subpanels to action menus.
- core\output\local\dropdown\dialog to display HTML inside a dropdown element.
- core\output\local\dropdown\status to render a user choice into a dropdown.
- core\output\choicelist class to render a list of user choices. It combines with dropdown status and action menu subpanels.
=== 4.2 ===