Skip to content
This repository was archived by the owner on Jun 24, 2024. It is now read-only.

Added method to refresh the placeholder of an affix#28

Open
leonex-cs1 wants to merge 2 commits intomg:masterfrom
leonex-cs1:master
Open

Added method to refresh the placeholder of an affix#28
leonex-cs1 wants to merge 2 commits intomg:masterfrom
leonex-cs1:master

Conversation

@leonex-cs1
Copy link
Contributor

It may happen that the affixed element is changed. The placeholder may need an update for example that the new element has another height or width.

This can be achieved by calling $affixedElement.prop('ngScrollSpy').refreshPlaceholder() if this PR is applied.

P.S. I know that this repo is not maintained anymore. But I wanted to create the PR anyway ;-) maybe it helps someone.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant