docs($ionicModal): clearly note that .modal wrapper is required

Closes #1384.

Just to avoid mistakes/questions like this http://forum.ionicframework.com/t/ionic-modal-not-animating/4196
This commit is contained in:
Felquis Gimenes
2014-05-14 11:43:17 -03:00
committed by Andrew Joslin
parent 30a9da191a
commit 67ea34ae1d
2 changed files with 2 additions and 3 deletions

View File

@@ -165,8 +165,6 @@ function($scope, scrollViewOptions, $timeout, $window, $$scrollValueCache, $loca
}
};
/**
* @private
*/

View File

@@ -4,7 +4,8 @@
* @module ionic
* @description
* The Modal is a content pane that can go over the user's main view
* temporarily. Usually used for making a choice or editing an item.
* temporarily. Usually used for making a choice or editing an item.
* Note that you need to put the content of the modal inside a div with the class `modal`.
*
* @usage
* ```html