This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
_inweb.hideAfterSubmission = true; | |
</script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
_inweb.throttleForDays = 30; | |
</script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
_inweb.cookieId="my-cookie-name"; | |
</script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
document.addEventListener('cc-inweb-response', function ($event) { | |
if($event.target.attributes.id === 'widget-usability'){ | |
<!-- react to response submission --> | |
} | |
}) | |
</script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cc-inweb id="widget-usability" question="How are you today?" token="PC-56874" question-id='5c272306c3d98742b0f7d577'> | |
</cc-inweb> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="module" src='node_modules/inweb-survey/dist/inweb/inweb.esm.js'></script> | |
<script nomodule src="node_modules/inweb-survey/dist/inweb/inweb.js"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="module" src='https://unpkg.com/inweb-survey/dist/inweb/inweb.esm.js'></script>` | |
<script nomodule src='https://unpkg.com/inweb-survey/dist/inweb/inweb.js'></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"presets": [ | |
["env", { | |
"targets": { | |
"browsers": ["cover 99.5%", "ie 8-11"] | |
} | |
}] | |
], | |
"plugins": ["transform-es2017-object-entries", "transform-array-find"] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Portal, TemplatePortal } from '@angular/cdk/portal'; | |
// [redacted] | |
showPopUp() { | |
if ( !this._overlayOpened) { | |
this._startAnimation(); | |
this.input.setValue( '', { emitEvent: true } ); | |
this._overlayOpened = true; | |
this._createOverlay().attach( this._portal ); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<mat-form-field color="primary" class="search-box" [floatLabel]="floatPlaceholder"> | |
<mat-icon class="input-icon" matPrefix fontSet="fa" fontIcon="fa-search"></mat-icon> | |
<input matInput [formControl]="input" [disabled]="disabled" autocomplete="off" (focus)="showPopUp()" [placeholder]="placeholder" | |
/> | |
</mat-form-field> | |
<ng-template #multiSelectFor> | |
<!-- Place where your options will go --> | |
</ng-template> |
NewerOlder