We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6e1f50d + a8cc18c commit eeb5331Copy full SHA for eeb5331
1 file changed
README.md
@@ -164,7 +164,8 @@ Using the module in a `ListItemTemplate` is a bit difference because custom modu
164
where `AvImageview` is a variable declared in `alloy.js` like as follows:
165
```javascript
166
const AvImageview = require("av.imageview");
167
-
+ global.AvImageview = AvImageview;
168
+
169
//and to use contentmodes constants via alloy
170
Alloy.Globals.CONTENT_MODE_FIT = AvImageview.CONTENT_MODE_ASPECT_FIT;
171
Alloy.Globals.CONTENT_MODE_FILL = AvImageview.CONTENT_MODE_ASPECT_FILL;
0 commit comments