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

regClientScript async defer #14520

Open
ghoulru opened this issue Apr 2, 2019 · 0 comments
Open

regClientScript async defer #14520

ghoulru opened this issue Apr 2, 2019 · 0 comments
Labels
area-core proposal Proposal about improvement aka RFC. Need to be discussed before start implementation.

Comments

@ghoulru
Copy link

ghoulru commented Apr 2, 2019

Add new option can be useful:
void regClientScript (string $src, [boolean $plaintext = false][, $async=''])
where $async = async | defer
and in front looks like:

<script src="/path/to/script.js" async></script>

For asynchronous script loading.
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-core proposal Proposal about improvement aka RFC. Need to be discussed before start implementation.
Projects
None yet
Development

No branches or pull requests

3 participants