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.

Spotlight: highlight multiple elements

See original GitHub issue

Description multiple spotlight on multiple elements (or group of elements) different triggered once by, for example, a commandbutton

Describe the solution you would like

<p:commandButton value="Highlight" 
   onclick="PF('elem1').show();PF('elem2').show()"  <-- maybe like this?
/>

The above results only elem2 spotlighted

Maybe it is possible to have both elements spotlighted? Am not sure what to change here https://github.com/primefaces/primefaces/blob/master/src/main/resources/META-INF/resources/primefaces/spotlight/spotlight.js

array of target? accumulative offset?

Appreciate any inputs

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
mdkbdgcommented, Jun 2, 2020

@melloware thanks for the support these past few weeks. I will leave it as it is now, maybe for future reference.

0reactions
mellowarecommented, Jun 1, 2020

@mdkbdg Did you make any progress on this? if not for now I will close this ticket as its not how Spotlight was designed to work. If you figure it out and want to provide a fix I can reopen the ticket.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Multiple POV Selections in SpotlightXL and Spotlight for Direct ...
Open a view (Analyze > Data > Select the View). · Select the drop-down for a page filter. · Select all dimension members...
Read more >
Spotlight Effect in Premiere - YouTube
Highlight specific parts of the frame by using this really simple spotlight effect right inside of Adobe Premiere Pro. The music in this ......
Read more >
Select items on your Mac screen - Apple Support
Select multiple items : Press and hold the Command key, then click the items (they don't need to be next to each other)....
Read more >
Use spotlight to highlight - Power BI - Microsoft Learn
Open a report in the Power BI service. · Decide which visual you'd like to highlight on the report page. Select the More...
Read more >
selecting multiple objects - spotlight - Vectorworks Forum
Every once in a while, I can't select multiple objects. I have select tool, the "rectangle" mode - can't click and drag to...
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