mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-10-04 15:11:41 +00:00
Adds a widget destroy method (#9097)
* feat: widget destroy method * fix: revert to original implementation * Invoke onDestroy method during widget destruction Add custom cleanup method call in destroy process * Update documentation for destroy method options * Fix formatting in widget.js comments * Refactor destroyChildren method for formatting * Fix indentation in findNextSiblingDomNode method * docs: added changenote * chore: lint * fix: remove deprecated utils method
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
change-category: internal
|
||||
change-type: enhancement
|
||||
created: 20260120153052332
|
||||
description: Adds a destroy method for widgets allowing for clean up of resources when a widget is removed.
|
||||
github-contributors: saqimtiaz
|
||||
github-links: https://github.com/TiddlyWiki/TiddlyWiki5/pull/9097
|
||||
modified: 20260125212701672
|
||||
release: 5.4.0
|
||||
tags: $:/tags/ChangeNote
|
||||
title: $:/changenotes/5.4.0/#9097
|
||||
type: text/vnd.tiddlywiki
|
||||
|
||||
Adds a destroy method for widgets allowing for clean up of resources when a widget is removed.
|
||||
Reference in New Issue
Block a user