Aqua Basis
These constants encapsulate default configuration objects reusable behaviors, ensuring consistency and reducing boilerplate when implementing interactive UI elements.
Is a default configuration object of type IPopover
used for popover default configuration.
It defines the expected behavior, positioning, and style for any floating element instance using the Aqua popover system.
{
trigger: 'click',
placement: 'right',
maxWidth: 'none',
theme: 'aqua',
arrow: false,
appendTo: document.body,
customMount: instance => {
console.log('My own mount function', instance);
},
};
Is a default configuration object of type IPopover
used for popover default configuration.
It defines the expected behavior, positioning, and style for any floating element instance using the Aqua popover system.
{
placement: 'top',
trigger: 'mouseenter',
animation: 'shift-away',
theme: 'material',
hideOnClickOutside: true,
appendTo: document.body,
}
On this page
✨ Design together. Build together. Speak the same language. ✨