
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
nativescript-nbmaterial-calendar
Advanced tools
A nativescript implementation of calendar view/picker. For iOS and Android
The module implement Material calendar on both platforms iOS and Android. The calendar implements slide transition effects. The pager lets you change months using a swipe.
export function selectDate(e) {
console.log("DATE SELECTED ", e.date, e.selected);
}
<Page xmlns="http://schemas.nativescript.org/tns.xsd" xmlns:cal="nativescript-nbmaterial-calendar">
<cal:CalendarMonthLayout dayTapped="selectDate" multiple="true" >
<cal:CalendarAction action="previous" text="chevron_left"/>
<cal:CalendarTitle/>
<cal:CalendarAction action="next" text="chevron_right"/>
</cal:CalendarMonthLayout>
</Page>
}
multiple parameter lets you pick multiple date in the calendar. CalendarTitle, CalendarAction extends labels. So you can use font library like font awesome.
The calendarmonthlayout has this interface:
export declare class CalendarMonthLayout extends Layout {
public static dayTappedEvent: string = "dayTapped";
public static monthChangedEvent: string = "monthChanged";
date: Date;
multiple: boolean;
selected: Date | Date[];
next();
previous();
}
export interface DayTappedEvent extends EventData {
readonly tapped: Date;
selected: Date | Date[];
view: CalendarDay;
}
FAQs
A nativescript implementation of calendar view/picker. For iOS and Android
We found that nativescript-nbmaterial-calendar demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.