@liturgical-calendar/components-js
Version:
Liturgical calendar components for javascript: an html select populated with liturgical calendars supported by the Liturgical Calendar API; form controls for parameters that are supported by the Liturgical Calendar API; a webcalendar; and liturgy of the d
22 lines • 723 B
TypeScript
export default class MonthInput extends SelectInput {
/**
* Constructor for MonthInput class.
*
* Creates a select element with options for each month (1-12),
* using localized month names based on the provided locale.
*
* @param {Intl.Locale} locale - The locale to use for month names.
* @throws {Error} If the locale is not an instance of Intl.Locale.
* @memberof MonthInput
*/
constructor(locale: Intl.Locale);
/**
* Gets the currently selected month value (1-12).
*
* @returns {number} The selected month number.
*/
get value(): number;
#private;
}
import SelectInput from "./SelectInput.js";
//# sourceMappingURL=MonthInput.d.ts.map