UNPKG

@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

14 lines (13 loc) 451 B
import Input from './Input.js'; export default class NumberInput extends Input { /** * Initializes a new instance of the NumberInput class. * * This class extends the Input class and initializes a new instance as an input[type="number"] element. * * @throws {Error} If the element parameter is not a string or is not one of the valid values. */ constructor() { super('input', { type: 'number' }); } }