How do I add module theme elements to drupalSettings
I created an Element within the parent module. This element includes code to add the data and options to drupalSettings. It also determines which libraries are needed and includes them.