showIfFullscreen
directive in module angularScreenfull

Description

Shows or hides the element (using ng-hide) if the closest parent that has the ngsf-fullscreen directive is in fullscreen mode.

By default the element shows itself if its fullscreen or hides otherwise, but you can change this behaviour by passing false to the directive

Usage

as attribute
<ANY show-if-fullscreen="{boolean}">
   ...
</ANY>

Parameters

ParamTypeDetails
showIfFullscreen
(optional)
boolean

If false it inverts the show/hide behaviour. Defaults to true.