-
Notifications
You must be signed in to change notification settings - Fork 455
docs(aws): add AWS docs bootstrap JavaScript #7472
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
Conversation
|
Can I have your review here @phipag ? Thanks |
|
|
LGTM |
| function copyToClipboard(e) { | ||
| e.preventDefault() | ||
| navigator.clipboard.writeText(e.target.textContent) | ||
| alert$.next("Copied to clipboard") | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the late comment, I just noticed this while making the same change on TS.
This function, as well as L52-57, L59-62, L64, L74-75, and L91 should have been kept as I think they provide the copy to clipboard feature in the layers docs.
See aws-powertools/powertools-lambda-typescript#4614 for how the file looks like, if you want to copy it.



Issue number: closes #7471
Summary
Changes
Add JS scripts to support AWS docs.
User experience
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.