question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add additional JS options

See original GitHub issue

A feature request is to allow to define some custom options.

One in particular is this setCopyBtnText('Copy again'); would be nice to allow user to set the text value. In my current usage this new text breaks my layout as it makes my button wider

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jasondaviscommented, Mar 9, 2017

+I can push what I did when I get time if you want to look at it and decide if u wanna pull it in

0reactions
ryanpcmcquencommented, Apr 18, 2017

@jasondavis thanks for the issue and PR, 1.1.0 incorporates changes that allow easily editing the text, you’ve been given much deserved kudos in the commits and release!

https://github.com/ryanpcmcquen/cheval/releases

Read more comments on GitHub >

github_iconTop Results From Across the Web

Adding options to select with javascript - html - Stack Overflow
var firstSelect = document.getElementById('first select elements id'), secondSelect = document.getElementById('second select elements id'), ...
Read more >
How to Add / Remove Options of a Selection Box Dynamically
1) Using the Option constructor and add() method ... The add() method accepts two arguments. The first argument is the new option and...
Read more >
Option() - Web APIs - MDN Web Docs - Mozilla
The Option() constructor creates a new HTMLOptionElement. ... new Option(element, s.options.length, true, false); // Will add the "selected" ...
Read more >
How to Add Custom JavaScript to WordPress (3 Methods)
Are you looking to add WordPress custom JavaScript to your website? We'll walk you through the best methods you can use to do...
Read more >
JavaScript | WebStorm Documentation - JetBrains
To automatically add ES6 import statements on code completion, open the Settings/Preferences dialog ( Ctrl+Alt+S ), go to Editor | General | ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found