PTViewer updates
parent
335c6d862d
commit
274b9b43a0
|
@ -42,12 +42,12 @@ export default {
|
||||||
if (this.hoveredElements.length === 0) this.hoveredElements = find(document.querySelector('body'), selector); //TODO:
|
if (this.hoveredElements.length === 0) this.hoveredElements = find(document.querySelector('body'), selector); //TODO:
|
||||||
|
|
||||||
this.hoveredElements?.forEach((el) => {
|
this.hoveredElements?.forEach((el) => {
|
||||||
addClass(el, '!ring !ring-red-500');
|
addClass(el, '!ring !ring-red-500 !z-10');
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
leaveSection() {
|
leaveSection() {
|
||||||
this.hoveredElements.forEach((el) => {
|
this.hoveredElements.forEach((el) => {
|
||||||
removeClass(el, '!ring !ring-red-500');
|
removeClass(el, '!ring !ring-red-500 !z-10');
|
||||||
});
|
});
|
||||||
|
|
||||||
this.hoveredElements = [];
|
this.hoveredElements = [];
|
||||||
|
|
|
@ -75,9 +75,13 @@ export interface FieldsetPassThroughOptions {
|
||||||
*/
|
*/
|
||||||
legend?: FieldsetPassThroughOptionType;
|
legend?: FieldsetPassThroughOptionType;
|
||||||
/**
|
/**
|
||||||
* Used to pass attributes to the legend label's DOM element.
|
* Used to pass attributes to the toggle button's DOM element.
|
||||||
*/
|
*/
|
||||||
toggleButton?: FieldsetPassThroughOptionType;
|
toggleButton?: FieldsetPassThroughOptionType;
|
||||||
|
/**
|
||||||
|
* Used to pass attributes to the toggle icon's DOM element.
|
||||||
|
*/
|
||||||
|
toggleIcon?: FieldsetPassThroughOptionType;
|
||||||
/**
|
/**
|
||||||
* Used to pass attributes to the legend label's DOM element.
|
* Used to pass attributes to the legend label's DOM element.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue