ng-auto-position 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -2
- package/ng-auto-position-0.0.2.tgz +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -115,7 +115,11 @@ HTML
|
|
|
115
115
|
```html
|
|
116
116
|
<button id="actionsBtn">Actions</button>
|
|
117
117
|
|
|
118
|
-
<div
|
|
118
|
+
<div
|
|
119
|
+
autoPositionElement
|
|
120
|
+
referenceElementId="actionsBtn"
|
|
121
|
+
scrollableSelector=".menu-items"
|
|
122
|
+
class="dropdown">
|
|
119
123
|
<div class="menu-items"></div>
|
|
120
124
|
</div>
|
|
121
125
|
```
|
|
@@ -135,7 +139,13 @@ Prevents the user from scrolling the background while the popup is active.
|
|
|
135
139
|
HTML
|
|
136
140
|
|
|
137
141
|
```html
|
|
138
|
-
<div
|
|
142
|
+
<div
|
|
143
|
+
autoPositionElement
|
|
144
|
+
referenceElementId="menuBtn"
|
|
145
|
+
[hideScrollTargets]="['body', '.layout-container']"
|
|
146
|
+
class="dropdown">
|
|
147
|
+
Menu content
|
|
148
|
+
</div>
|
|
139
149
|
```
|
|
140
150
|
|
|
141
151
|
---
|
|
Binary file
|