vue-tour icon indicating copy to clipboard operation
vue-tour copied to clipboard

add: feature to target groups

Open june07 opened this issue 3 years ago • 2 comments

Element groups can now be targeted using class selectors.

/**
 * Given a target class selector, wrap the elements identified by the selector, and
 * insert the wrapped elements at the beginning of the parent. Additionally set the
 * id attribute on the wrapper element.
 * Note: This will likely be ugly if the target elements aren't next to each other.
 */

june07 avatar Dec 31 '21 00:12 june07

Just some background on why this was needed...

Rendering form elements in a loop make it difficult and very ugly (code mess) to group (grouping per vue-tour) select elements from all elements in the loop. This makes it a simple case of adding a class to the items I need to group and now vue-tour will treat the individual form elements as a group!

Hopefully that was clear...

june07 avatar Dec 31 '21 00:12 june07

Any feedback on this one?

june07 avatar May 11 '22 00:05 june07