smart-view
v0.2.0
Published
Moq (mobile quality assessment) is a tool used to measure an online ad viewability
Downloads
13
Readme
How to use this project
Environment Setup
- Global Dependencies
- Project Dependencies
Install Node modules
$ npm install
Build file
- Build JavaScript file
Run build command will creat smartview.js file under dist folder
$ npm run build
- Build min JavaScript file
Run build command will creat smartview.min.js file under dist folder
$ npm run build:min
How to use this
- Link in :
#!javascript
<script type="text/javascript" src="../dist/smartview.js"></script>
let viewAbility = new SmartView(element).getMethod();
viewAbility.isView();
- or copy folder under src to your project then import SmartView
#!javascript
import { SmartView } from './viewability/SmartView';
let viewAbility = new SmartView(element).getMethod();
viewAbility.isView();
- A great resource to search for issues not explicitly covered by documentation