Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@acpaas-ui/ngx-calendar
Advanced tools
A simple calendar component with a month, year and decennia view where you can easily navigate to a specific date.
A simple calendar component with a month, year and decennia view where you can easily navigate to a specific date.
import { CalendarModule } from '@acpaas-ui/ngx-calendar';
Visit our documentation site for full how-to docs and guidelines
Name | Default value | Description |
---|---|---|
@Input() selectedDate: Date; | - | The date the user selected. Will be used as a base for the different calendar views. |
@Input() range: DateRange; | - | A date range to decide which dates are available for selection. |
@Input() weekdayLabels: WeekdayLabelsConfig; | - | Override the default weekday labels. Can also be done in the forChild method. |
@Input() monthLabels: MonthLabelsConfig; | - | Override the default month labels. Can also be done in the forChild method. |
@Output() selectDate: EventEmitter<any> | - | Will emit the selected date and completion state (the date is complete when a day is picked). |
import { CalendarModule } from '@acpaas-ui/ngx-calendar;'
@NgModule({
imports: [
CalendarModule.forChild([
'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday',
], [
'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December',
])
]
});
export class AppModule {};
import { DateRange } from '@acpaas-ui/ngx-utils';
public clickedDate: Date = new Date();
public range: DateRange = [1, 6];
selectDate(event) {
if (event.complete) {
this.clickedDate = event.date;
}
}
<aui-calendar
[range]="range"
[selectedDate]="clickedDate"
(selectDate)="selectDate($event)">
</aui-calendar>
Visit our Contribution Guidelines for more information on how to contribute.
FAQs
A simple calendar component with a month, year and decennia view where you can easily navigate to a specific date.
The npm package @acpaas-ui/ngx-calendar receives a total of 2 weekly downloads. As such, @acpaas-ui/ngx-calendar popularity was classified as not popular.
We found that @acpaas-ui/ngx-calendar demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.