-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
Is it possible to add an option to specify an amount of padding on the highlight? Currently the highlight uses the bounds of the element but I would like to add a small gap so the highlight is bigger than the element.
Something like this should do it?
var padding = step.backdropOptions.highlightPadding;
var offset = $(step.element).offset();
offset.top -= padding;
offset.left -= padding;
$(DOMID_HIGHLIGHT).width($(step.element).outerWidth() + (padding * 2)).height($(step.element).outerHeight() + (padding * 2)).offset(offset);
Thanks
Metadata
Metadata
Assignees
Labels
No labels