https://github.com/donejs/survey-ad
Control that advertises the DoneJS survey across CanJS.com, StealJS.com, etc.
https://github.com/donejs/survey-ad
Last synced: 3 months ago
JSON representation
Control that advertises the DoneJS survey across CanJS.com, StealJS.com, etc.
- Host: GitHub
- URL: https://github.com/donejs/survey-ad
- Owner: donejs
- License: mit
- Created: 2017-09-24T22:47:40.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-06-20T16:56:02.000Z (almost 7 years ago)
- Last Synced: 2025-02-01T14:16:29.182Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/donejs-survey-ad
- Size: 194 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# donejs-survey-ad
[](https://travis-ci.org/donejs/survey-ad)
Control that advertises the DoneJS survey across CanJS.com, StealJS.com, etc.
## Usage
### ES6 use
With StealJS, you can import this module directly in a template that is autorendered:
```js
import plugin from 'donejs-survey-ad';
```
### CommonJS use
Use `require` to load `donejs-survey-ad` and everything else
needed to create a template that uses `donejs-survey-ad`:
```js
var plugin = require("donejs-survey-ad");
```
### Standalone use
Load the `global` version of the plugin:
```html
```