asp_compact_width
The final width of the compact box, before it opens.
WPD.Hooks.applyFilters('asp_compact_width', width, searchId, searchInstanceId);
Example
window.addEventListener("load", () => {
WPD.Hooks.addFilter('asp_compact_width', function(width){
return '300px';
}, 10);
});
Last updated