diff options
| author | Neylor Ohmaly | 2014-02-10 00:25:53 -0200 | 
|---|---|---|
| committer | Neylor Ohmaly | 2014-02-10 00:25:53 -0200 | 
| commit | f62db567d999f50a09947a0d6478a205f60ba03c (patch) | |
| tree | 5a2039d3bca58c403e9c61a4b52196b280b13ba9 /README.md | |
| parent | 20c5741f5f3b2e4ad3f579082e78725f4ea26c85 (diff) | |
| download | nsPopover-f62db567d999f50a09947a0d6478a205f60ba03c.tar.bz2 | |
Fix error on the right|bottom and left|bottom alignment0.5.5
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 32 | 
1 files changed, 31 insertions, 1 deletions
| @@ -84,7 +84,37 @@ DOM element can trigger, default: ``click``.  ### ``ns-popover-placement {String}`` -Specifies how to position the popover relative to the triggering element - top | bottom | left | right. +Specifies how to position the popover relative to the triggering element. The placement attribute has the given +syntax: [position] [alignment]. The [position] parameter specifies the position - top, left, right, position - of +the popover, and the alignment defines the alignment of the popover - center, left, right. The list above shows +the possible combinations of [position] and [alignment]. + + * top|center - The popover will be positioned above the triggering element and its horizontal center will be aligned +                with the horizontal center of the triggering element. + * top|left - The popover will be positioned above the triggering element and its left side will be aligned with +               the left side of the triggering element. + * top|right - The popover will be positioned above the triggering element and its right side will be aligned with +               the right side of the triggering element. + * bottom|center - The popover will be positioned on the below the triggering element and its horizontal center +                   will be aligned with the horizontal center of the triggering element. + * bottom|left - The popover will be positioned below the triggering element and its left side will be aligned with +                 the left side of the triggering element. + * bottom|right - The popover will be positioned below the triggering element and its right side will be aligned with +                 the right side of the triggering element. + * left|center - The popover will be positioned on the left side of the triggering element and its vertical +                 center will be aligned with vertical center of the triggering element. + * left|top - The popover will be positioned on the left side of the triggering element and its top will be aligned +              with the top of the triggering element. + * left|bottom - The popover will be positioned on the left side of the triggering element and its bottom will be +                 aligned with the bottom of the triggering element. + * right|center - The popover will be positioned on the right side of the triggering element and its vertical +                 center will be aligned with vertical center of the triggering element. + * right|top - The popover will be positioned on the right side of the triggering element and its top will be aligned +              with the top of the triggering element. + * right|bottom - The popover will be positioned on the right side of the triggering element and its bottom will be +                 aligned with the bottom of the triggering element. + +  ### Themes | 
