Gathering detailed insights and metrics for ngx-bootstrap-feedback
Gathering detailed insights and metrics for ngx-bootstrap-feedback
Gathering detailed insights and metrics for ngx-bootstrap-feedback
Gathering detailed insights and metrics for ngx-bootstrap-feedback
ngx-alert-message
Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.
@wizpanda/ngx-bootstrap-validation
A simple Angular 7+ library to display validation feedback messages on normal forms with Bootstrap 4
@benevideschissanga/ngx-bootstrap-alert-notification
**Every feedback is welcome!**
Module that provides a modal popup (powered by bootstrap) for collecting user feedback.
npm install ngx-bootstrap-feedback
Typescript
Module System
Node Version
NPM Version
Version 1.1.5 released!
Updated on Nov 14, 2017
Version 1.1.4 released!
Updated on Jun 19, 2017
Version 1.1.3 released!
Updated on Jun 15, 2017
Version 1.1.2 released!
Updated on Jun 14, 2017
Version 1.1.1 released!
Updated on Jun 14, 2017
Version 1.1.0 released!
Updated on Jun 13, 2017
TypeScript (81.32%)
HTML (16.97%)
JavaScript (1.28%)
CSS (0.43%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
5 Stars
26 Commits
1 Forks
2 Watchers
1 Branches
1 Contributors
Updated on Oct 13, 2018
Latest Version
1.1.5
Package Id
ngx-bootstrap-feedback@1.1.5
Size
32.06 kB
NPM Version
3.10.8
Node Version
6.9.1
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
This module provides a modal popup (powered by bootstrap) for collecting user feedback.
Heavily inspired by angular-bootstrap-feedback.
"bootstrap": "^3.3.7",`
"@angular/core": "^2.4.0 || ^4.0.0",
"@herbis/ngx-modal": "^0.1.0", // Modal Functionality
"rxjs": "^5.0.1",
"html2canvas": "0.5.0-beta4" // Optional*
You will also need have the following scripts added in your application (.angular-cli.json example):
{
...
"apps": [
{
...
"styles": [
"../../../node_modules/bootstrap/dist/css/bootstrap.min.css",
"../../../node_modules/ngx-bootstrap-feedback/dist/css/feedback-take-screenshot.min.css" // Optional*
],
"scripts": [
"../../../node_modules/bootstrap/dist/js/bootstrap.min.js",
"../../../node_modules/html2canvas/dist/html2canvas.min.js" // Optional*
],
...
}
]
...
}
- Optionals are only required for 'Take Screenshot' feature.
npm install ngx-bootstrap-feedback --save
import {FeedbackModule} from "ngx-bootstrap-feedback/feedback.module";
import {ModalModule} from "@herbis/ngx-modal";
@NgModule({
...
imports: [
...
FeedbackModule,
ModalModule,
...
],
...
})
...
See below for available configuration options.
...
this.feedbackConfiguration = {
onCancel: () => this.clearFeedbackFields(),
onSubmit: (feedback: FeedbackModel) => this.onSubmitFeedback(feedback),
screenshotOnlyHighlighted: true
};
...
...
<ngx-bootstrap-feedback [configuration]="feedbackConfiguration">
<!-- Your customizations. -->
...
<!-- Screenshot field (Optional). -->
<ngx-bootstrap-feedback-screenshot [configuration]="feedbackConfiguration"></ngx-bootstrap-feedback-screenshot>
...
</ngx-bootstrap-feedback>
...
<ngx-bootstrap-feedback [configuration]="feedbackConfiguration">
<!-- Your customizations. -->
<div class="row">
<!-- Input fields. -->
<div class="col-md-6">
<!-- Subject field. -->
<div class="row">
<div class="col-xs-12">
<div class="form-group form-group-sm">
<label class="control-label" for="subject-input">Subject</label>
<input type="text" class="form-control" id="subject-input" required [(ngModel)]="feedbackSubject">
</div>
</div>
</div>
<!-- Description field. -->
<div class="row">
<div class="col-md-12">
<div class=" form-group form-group-sm">
<label for="description-input">Description:</label>
<textarea id="description-input" class="form-control width-locked" rows="5" required [(ngModel)]="feedbackDescription"></textarea>
</div>
</div>
</div>
<!-- Contact field. -->
<div class="row">
<div class="col-xs-12">
<div class="form-group form-group-sm">
<label class="control-label" for="contact-input">Contact</label>
<input type="text" class="form-control" id="contact-input" [(ngModel)]="feedbackContact">
</div>
</div>
</div>
</div>
<!-- Screenshot field (Optional). -->
<div class="col-md-6">
<ngx-bootstrap-feedback-screenshot [configuration]="feedbackConfiguration"></ngx-bootstrap-feedback-screenshot>
</div>
</div>
</ngx-bootstrap-feedback>
Event | Description | Emits |
---|---|---|
onCancel | Fired when the feedback is canceled from the modal. | - |
onCancelScreenshot | Fired when canceling from the screenshot mode. | - |
onEnterTakeScreenshot | Fired when entering screenshot mode. | - |
onHighlightDrawn | Fired when a highlight is drawn in the screenshot mode. | highlight: HTMLDivElement |
onOpen | Fired when the feedback modal is opened. | - |
onScreenshotTaken | Fired when a screenshot is taken by the user. | screenshot: string (base64 data url) |
onSubmit | Fired when the user submits feedback from the modal if onSubmitValidation is successful or not defined. | feedbackSubmission: FeedbackModel |
onSubmitValidation | Fired when the user submits feedback but before onSubmit. Expects boolean as return value. onSubmit will not be called if validation fails. | feedbackSubmission: FeedbackModel |
onTakeScreenshot | Fired when the user presses button to take a screenshot but before it is actually taken. This can be used to cleanup view to make sure something is included / excluded from the screenshot. | - |
Property | Description | Default |
---|---|---|
cancelFeedbackButtonText | The cancel button text of the modal. | Cancel |
cancelScreenshotButtonText | The cancel button text in screenshot mode. | Cancel |
enterScreenshotModeButtonText | The enter screenshot mode button text. | Take Screenshot |
feedbackButtonText | The feedback button text. | Send Feedback |
feedbackModalTitle | The title of the modal. | Send Feedback |
fileSizeTooLargeErrorMessage | Error message shown when uploading a single file that's too large. {size} - file size, {maxsize} - max size. | File size too large. Max allowed - {maxsize}. |
fileTypeNotAllowedErrorMessage | Error message shown when uploading unsupported file type. {type} - file MIME type. | File type {type} not allowed. |
maxImageCountReachedErrorMessageText | Error message shown when max image count has been reached. | Image limit reached. Please remove some to add more. |
submitFeedbackButtonText | The submit button text of the modal. | Submit |
takeScreenshotButtonText | The capture screenshot button text in screenshot mode. | Take Screenshot |
uploadButtonText | The upload screenshot button text. | Upload |
Property | Description | Default |
---|---|---|
cancelFeedbackButtonClass | The class applied to the cancel button in feedback modal. | btn btn-default |
cancelScreenshotButtonClass | The class applied to the cancel button in screenshot mode. | btn btn-default btn-block |
enterScreenshotModeButtonClass | The class applied to the enter screenshot mode in feedback modal. | btn btn-info btn-block |
feedbackButtonClass | The class applied to the feedback button. | btn send-feedback-button |
feedbackModalClass | The class applied to the feedback modal. | modal-md |
maxImageCountReachedErrorMessageClass | The class applied to the max image count reached error message. | text-warning |
screenshotEmbedClass | The class applied to embedded captured screenshot. | feedback-screenshot |
screenshotEmbedRemoveButtonClass | The class applied to embedded captured screenshot remove button. | close |
submitFeedbackButtonClass | The class applied to the submit button in feedback modal. | btn btn-primary |
takeScreenshotButtonClass | The class applied to the capture button in screenshot mode. | btn btn-primary btn-block |
uploadButtonClass | The class applied to the upload button in feedback modal. | btn btn-primary btn-block |
uploadErrorMessageClass | The class applied to the upload error message in feedback modal. | text-danger |
Property | Description | Default |
---|---|---|
allowedImageTypes | Allowed image types for uploading (separated by spaces). | image/png image/gif image/jpeg |
enableLoadingIconClass | Apply loading-icon class to capture screenshot button when capturing. | false |
disableScreenshotMode | Disable capture screenshot mode. | false |
disableUpload | Disable ability to upload a screenshot. | false |
maxImageCount | Max image count allowed for submission. | 5 |
maxSingleFileSize | Max single file size (in KB) allowed. | 2048 |
screenshotOnlyHighlighted | Capture screenshot only of the highlighted area. | false |
Pull requests and issues are welcome.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 0/26 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
Project has not signed or included provenance with any releases.
Details
Score
Last Scanned on 2025-07-14
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More