From 462da4502133c891fffceacac941c09c89dd442e Mon Sep 17 00:00:00 2001 From: Ryan Schmukler Date: Mon, 23 Nov 2015 14:24:40 -0500 Subject: [PATCH] docs(toast): document string argument for #showSimple closes #2930 --- src/components/toast/toast.js | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/src/components/toast/toast.js b/src/components/toast/toast.js index 68fdf84de7f..07e32b178cf 100644 --- a/src/components/toast/toast.js +++ b/src/components/toast/toast.js @@ -61,16 +61,17 @@ function MdToastDirective($mdToast) { */ /** - * @ngdoc method - * @name $mdToast#showSimple - * - * @description - * Convenience method which builds and shows a simple toast. - * - * @returns {promise} A promise that can be resolved with `$mdToast.hide()` or - * rejected with `$mdToast.cancel()`. - * - */ + * @ngdoc method + * @name $mdToast#showSimple + * + * @param {string} message The message to display inside the toast + * @description + * Convenience method which builds and shows a simple toast. + * + * @returns {promise} A promise that can be resolved with `$mdToast.hide()` or + * rejected with `$mdToast.cancel()`. + * + */ /** * @ngdoc method