mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Fix typo in popover docs
This commit is contained in:
4
js/angular/service/popover.js
vendored
4
js/angular/service/popover.js
vendored
@@ -188,7 +188,7 @@ function($ionicModal, $ionicPosition, $document, $window) {
|
||||
* content.
|
||||
* @param {object} options Options to be passed to the initialize method.
|
||||
* @returns {object} An instance of an {@link ionic.controller:ionicPopover}
|
||||
* controller ($ionicPopover is built on top of $ionicPopover).
|
||||
* controller (ionicPopover is built on top of $ionicPopover).
|
||||
*/
|
||||
fromTemplate: function(templateString, options) {
|
||||
return $ionicModal.fromTemplate(templateString, ionic.Utils.extend(options || {}, POPOVER_OPTIONS) );
|
||||
@@ -199,7 +199,7 @@ function($ionicModal, $ionicPosition, $document, $window) {
|
||||
* @param {string} templateUrl The url to load the template from.
|
||||
* @param {object} options Options to be passed to the initialize method.
|
||||
* @returns {promise} A promise that will be resolved with an instance of
|
||||
* an {@link ionic.controller:ionicPopover} controller ($ionicPopover is built on top of $ionicPopover).
|
||||
* an {@link ionic.controller:ionicPopover} controller (ionicPopover is built on top of $ionicPopover).
|
||||
*/
|
||||
fromTemplateUrl: function(url, options, _) {
|
||||
return $ionicModal.fromTemplateUrl(url, options, ionic.Utils.extend(options || {}, POPOVER_OPTIONS) );
|
||||
|
||||
Reference in New Issue
Block a user