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.

Changing the way to set label to increase customizability

See original GitHub issue

Problem

The library doesn’t have capability to customize label using angular directive.

Solution

Exposing variables that store label strings on the template’s scope, rather than setting with $.html() Here’s the quick simple code change.

and here’s the jsfiddle.

i roughly looked through the code, and noticed i still need to fix the following things, in addition to the change above.

  1. the logic to recalcute the dimension
  2. use css display:hide rather than opacity:0 to hide combo label or model/high label as they switch, in case for example there’s ng-click attached on either of the element (written here)
  3. leaving the backward compatibility (but probably we don’t need translate option in the future if we’re doing this)

Question

what do you guys think of this idea and the solution?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:31 (23 by maintainers)

github_iconTop GitHub Comments

1reaction
ValentinHcommented, Jul 9, 2016

PR has been merged. I’m away from computer this weekend so I’ll bump a new version on Monday. 😉

1reaction
ValentinHcommented, Jul 8, 2016

Yes but first you need the PR to be merged on master and released.

@Liooo Do you think you can finish it soon?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Option Set , change labels if Customizable set to false
You have to Set the Managed Properties --> Can be customized--> to True to modify the labels. Otherwise, you must create a new...
Read more >
Civil3D Alignment Label Customization - YouTube
Civil3D Alignment Label CustomizationAutodesk Civil3D 2018/ 2019 Autodesk, civil3d, tutorialCivil3D Fundamentals Tutorial - Getting ...
Read more >
Customizing labels - IBM
This procedure describes how to replace the customizable labels or text and where to place the customized file so that it can be...
Read more >
Create, use, and manage labels - Google Ads Help
Labels allow you to organize your campaigns, ad groups, ads, and keywords into groups. Labels are customizable, and you can change them around...
Read more >
Changing a Label on Choice field considered a cust...
I would like to change a label of a state choice field in demands from rejected to canceled and I am wondering if...
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