-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Feat:For codes,a copy icon should be provided for better user experience. #4350
Comments
Yes @Sakshi2727 this will be a good feature, |
Fixes nightwatchjs#4350 Add a copy icon to code usage examples for better user experience. * Modify `api/README.md` to include a copy icon for each code example box. * Add a JavaScript function in `api/README.md` to handle the copy action. * Add a CSS class in `api/README.md` for the copy icon styling. * Modify `examples/test-app/index.html` to include a copy icon for each code example box. * Add a JavaScript function in `examples/test-app/index.html` to handle the copy action. * Add a CSS class in `examples/test-app/index.html` for the copy icon styling.
Hey @webermayank i can work on this , kindly assign it me..... |
Hey @utkarshahu |
@utkarshahu Feel free to work on this. The changes will go in the |
Description
For the codes usage example given on every method,it would be more convenient if there would be a copy icon so that there is no need of ctrl+c keys for user and user can directly click on that cop icon and the whole code gets automatically copied.
So as shown in image,example box should have a copy icon on top right most side.
Suggested solution
Simple a copy icon like this would be beneficial!
Alternatives / Workarounds
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: