docs(popover): update instructions for presenting a popover

This commit is contained in:
Thiery Laverdure
2016-08-17 10:22:09 -04:00
committed by Adam Bradley
parent 82852fb353
commit c11ae69b12

View File

@ -76,12 +76,11 @@ export class Popover extends ViewController {
* below for all available options.
*
* ### Presenting
* To present a popover, call the `present` method on the [NavController](../../nav/NavController).
* The first argument passed to the `present` should be the popover. In order
* to position the popover relative to the element clicked, the event needs to be
* passed as the second argument. If the event is not passed, the popover will be
* positioned in the center of the current view. See the [usage](#usage) section for
* an example of passing this event.
* To present a popover, call the `present` method on a [PopoverController](../../nav/PopoverConroller) instance.
* In order to position the popover relative to the element clicked, a click event
* needs to be passed into the options of the the `present method. If the event
* is not passed, the popover will be positioned in the center of the current
* view. See the [usage](#usage) section for an example of passing this event.
*
* ### Dismissing
* To dismiss the popover after creation, call the `dismiss()` method on the