mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
feat(popup): cssClass option
This commit is contained in:
@@ -55,7 +55,7 @@ describe('$ionicPopup service', function() {
|
||||
it('should set the specified custom CSS class to popup container', function() {
|
||||
var popup = TestUtil.unwrapPromise($ionicPopup._createPopup({
|
||||
template: 'Hello, friend!',
|
||||
class: 'mycustomclass'
|
||||
cssClass: 'mycustomclass'
|
||||
}));
|
||||
expect(popup.element.hasClass('mycustomclass')).toBe(true);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user