Closed SimonStnn closed 3 weeks ago
importStylesheet should add the stylesheets to the balloonContainer, not the document head.
importStylesheet
https://github.com/SimonStnn/pop-a-loon/blob/285998fd9b228182f83e6fb4a2dd81fb0347d391/src/utils.ts#L117
You can get the balloonContainer with:
import { getBalloonContainer } from '@/utils'; getBalloonContainer() // This returns the instance of the balloon container loaded in the webpage
importStylesheet
should add the stylesheets to the balloonContainer, not the document head.https://github.com/SimonStnn/pop-a-loon/blob/285998fd9b228182f83e6fb4a2dd81fb0347d391/src/utils.ts#L117
You can get the balloonContainer with: