-
Issue #3495112 by phenaproxima, chrisfromredfin, iamdroid: Export a coherent set of information about a particular Project Browser instance in drupalSettings
Issue #3495112 by phenaproxima, chrisfromredfin, iamdroid: Export a coherent set of information about a particular Project Browser instance in drupalSettings
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
main.js 349 B
import App from './App.svelte';
const element = document.querySelector('[data-project-browser-instance-id]');
const app = new App({
// The #project-browser markup is returned by the project_browser.browse Drupal route.
target: element,
props: {
id: element.getAttribute('data-project-browser-instance-id'),
},
});
export default app;