material icon indicating copy to clipboard operation
material copied to clipboard

simpleToast not displaying

Open hodeyp opened this issue 11 years ago • 1 comments

Hi,

I'm trying to get the toast service working but I simply cannot see the toast when it is called.

Code is simply...

$scope.showToast = function($event) {
    console.log('Show Toast!')
    $mdToast.show(
        $mdToast.simple('Hello!')
            .position('top right')
            .hideDelay(0)
    );
};  

I can see the 'Show Toast' in the console, but there is no evidence of the md-toast element in the dom tree.

Is there any known issues here?

hodeyp avatar Dec 27 '14 18:12 hodeyp

Hi,

I have the same issue. How did you solve it ?

kai23 avatar Mar 26 '15 15:03 kai23