PTViewer updates

pull/6416/head
tugcekucukoglu 2024-09-16 16:01:32 +03:00
parent 335c6d862d
commit 274b9b43a0
2 changed files with 7 additions and 3 deletions

View File

@ -42,12 +42,12 @@ export default {
if (this.hoveredElements.length === 0) this.hoveredElements = find(document.querySelector('body'), selector); //TODO:
this.hoveredElements?.forEach((el) => {
addClass(el, '!ring !ring-red-500');
addClass(el, '!ring !ring-red-500 !z-10');
});
},
leaveSection() {
this.hoveredElements.forEach((el) => {
removeClass(el, '!ring !ring-red-500');
removeClass(el, '!ring !ring-red-500 !z-10');
});
this.hoveredElements = [];

View File

@ -75,9 +75,13 @@ export interface FieldsetPassThroughOptions {
*/
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;
/**
* Used to pass attributes to the toggle icon's DOM element.
*/
toggleIcon?: FieldsetPassThroughOptionType;
/**
* Used to pass attributes to the legend label's DOM element.
*/