Files
breadcrumb-the-shire/web/js/components/app-standard-detail-page.js

18 lines
452 B
JavaScript
Raw Normal View History

/**
* Wires up the standard detail page factory with titlebar and form state.
*/
2026-03-04 15:56:58 +01:00
import { autoInitStandardDetailPages } from '../core/app-detail-page-factory.js';
export function initStandardDetailPages(root = document) {
const apis = autoInitStandardDetailPages(root);
return {
destroy: () => {
apis.forEach((api) => {
if (api && typeof api.destroy === 'function') {
api.destroy();
}
});
},
};
2026-03-04 15:56:58 +01:00
}