How to use the eonasdan-bootstrap-datetimepicker.DayOfWeek function in eonasdan-bootstrap-datetimepicker

To help you get started, we’ve selected a few eonasdan-bootstrap-datetimepicker examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github DefinitelyTyped / DefinitelyTyped / types / eonasdan-bootstrap-datetimepicker / eonasdan-bootstrap-datetimepicker-tests.ts View on Github external
time: "fa fa-clock-o",
        date: "fa fa-calendar",
        up: "fa fa-arrow-up",
        down: "fa fa-arrow-down"
    }
});

// Min View Mode
$("#datetimepicker10").datetimepicker({
    viewMode: "years",
    format: "MM/YYYY"
});

// Disabled Days of the Week
$("#datetimepicker11").datetimepicker({
    daysOfWeekDisabled: [0, 6, EonasdanBootstrapDatetimepicker.DayOfWeek.Thursday]
});

// Inline
$("#datetimepicker12").datetimepicker({
    inline: true,
    sideBySide: true
});

// Functions
$("#dtpFrom").datetimepicker({
    useCurrent: true,
    format: "DD/MM/YYYY",
    showTodayButton: true,
    showClear: true,
    showClose: true,
    maxDate: new Date(),

eonasdan-bootstrap-datetimepicker

A date/time picker component designed to work with Bootstrap 3 and Momentjs. For usage, installation and demos see Project Site on GitHub

MIT
Latest version published 4 years ago

Package Health Score

66 / 100
Full package analysis

Popular eonasdan-bootstrap-datetimepicker functions