Answer the question
In order to leave comments, you need to log in
Plugin for angularjs fabiobiondi/fullscreen works only once. Why?
Hello. I use the plugin from fabiobiondi/fullscreen. The markup is as follows:
<button ng-click="goFullScreenViaWatcher()">fs</button>
<div id="fs3" fullscreen="isFullScreen" only-watched-property >
<!-- тут контент для растягивания на весь экран-->
</div>
$scope.isFullScreen = false;
$scope.goFullScreenViaWatcher = function() {
console.debug($scope.isFullScreen);
$scope.isFullScreen = !$scope.isFullScreen;
};
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question