Skip to content

Attributes for script element #22

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

Open
vishalraj82 opened this issue Oct 11, 2017 · 2 comments
Open

Attributes for script element #22

vishalraj82 opened this issue Oct 11, 2017 · 2 comments

Comments

@vishalraj82
Copy link

Some of the third party social libraries require locale attribute to be set which would then set the locale for the widget. Can we have a provision to add attributes to the scripts before it is added to the DOM.

@leozdgao
Copy link
Owner

leozdgao commented Nov 2, 2017

@vishalraj82 Not very familiar with that, any example please?

@vishalraj82
Copy link
Author

My use case is including the javascript libraries to include the social media icons on my page. You can have a look at the documentation links below:

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

No branches or pull requests

2 participants