Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for css file styles injection #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

GJordao
Copy link

@GJordao GJordao commented Feb 22, 2019

Change create method to receive an options object with a property cssFile that should point to the css file location in the server, this will inject a tag inside the shadow dom

- Update create method to receive a config object with the properties `useShadowDom` and `cssFile`
- Add conditional insertion of link tag to inject a css file to the web component shadow dom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant