Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49183

Buttons out of place (POPUP)!

$
0
0

@ceciliassis wrote:

My buttons inside the popup are out of place, does anyone know why?

Here's the code

$scope.playVideo = function(src, sinal) {
      var video = '<video width="100%" height="100%" src="' + src +
                             '" loop autoplay="autoplay" ></video>';
      popup.popup = $ionicPopup.show({
        template: video,
        cssClass: 'no-title',
        scope: $scope,
        buttons: [{
          text: 'fechar',
          type: 'button-assertive'
        }, {
          text: 'responder',
          type: 'button-positive',
          onTap: function(e) {
            popup.sinal = sinal;
          }
        }]
      })

And thats how it looks like:

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49183

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>