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

Commit

Permalink
docs(dialog): added targetEvent to confirm and alert dialogs
Browse files Browse the repository at this point in the history
fixes #5219. closes #5875.
  • Loading branch information
EladBezalel authored and ThomasBurleson committed Nov 23, 2015
1 parent 8051e98 commit 29afb6d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/dialog/dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,9 @@ function MdDialogDirective($$rAF, $mdTheming, $mdDialog) {
* module to be loaded. HTML is not run through Angular's compiler.
* - $mdDialogPreset#ok(string) - Sets the alert "Okay" button text.
* - $mdDialogPreset#theme(string) - Sets the theme of the alert dialog.
* - $mdDialogPreset#targetEvent(DOMClickEvent=) - A click's event object. When passed in as an option,
* the location of the click will be used as the starting point for the opening animation
* of the the dialog.
*
*/

Expand All @@ -322,6 +325,9 @@ function MdDialogDirective($$rAF, $mdTheming, $mdDialog) {
* - $mdDialogPreset#ok(string) - Sets the confirm "Okay" button text.
* - $mdDialogPreset#cancel(string) - Sets the confirm "Cancel" button text.
* - $mdDialogPreset#theme(string) - Sets the theme of the confirm dialog.
* - $mdDialogPreset#targetEvent(DOMClickEvent=) - A click's event object. When passed in as an option,
* the location of the click will be used as the starting point for the opening animation
* of the the dialog.
*
*/

Expand Down

0 comments on commit 29afb6d

Please sign in to comment.