Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
docs(toast): document string argument for #showSimple
Browse files Browse the repository at this point in the history
closes #2930
  • Loading branch information
rschmukler committed Nov 23, 2015
1 parent b8d3519 commit 462da45
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions src/components/toast/toast.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 462da45

Please sign in to comment.