Skip to content
This repository has been archived by the owner on Dec 24, 2023. It is now read-only.

Feat/add hide remove #11

Merged
merged 5 commits into from Apr 27, 2019
Merged

Feat/add hide remove #11

merged 5 commits into from Apr 27, 2019

Conversation

wswebcreation
Copy link
Owner

This PR will add 2 new methods for the users that can be added to the methods :

  • hideElements: this can be an array of elements that will add the property visibility:hidden to the elements so they will be hidden in the UI
  • removeElements: this can be an array of elements that will add the property display:none to the elements so they will be removed from the UI

Both methods are based on #4

Secondly this will add the method hideAfterFirstScroll for saveFullPageScreen and checkFullPageScreen and will basically hide 1 or multiple elements from the UI after the first scroll. This will hide for example sticky headers from a large screenshot. See for example this, the left side was the old way, the right side it the new way

new-feature

Copy link

@MortenGregersen MortenGregersen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! 👍

@wswebcreation wswebcreation merged commit 7a6b076 into master Apr 27, 2019
@wswebcreation wswebcreation deleted the feat/add-hide-remove branch April 27, 2019 13:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants