zoukankan      html  css  js  c++  java
  • Bootstrap Timepicker

    Bootstrap Timepicker:一个简单的时间选择插件

    GitHub地址:https://github.com/jdewit/bootstrap-timepicker

    配置参数

    NameOptions / DefaultsDescription
    template 'dropdown' (default)
    'modal'
    false
    Show picker in a dropdown
    Show picker in a modal
    Don't show a widget
    maxHours 24 Specify a maximum number of hours the TimePicker can handle. showMeridian must be set to false
    snapToStep false If true, setting the time will snap it to the closest "step", either minute or second, depending on which unit is currently highlighted. If the number would otherwise snap to 60 higher, the unit "overflows" to 0.
    minuteStep 15 Specify a step for the minute field.
    showSeconds false Show the seconds field.
    secondStep 15 Specify a step for the second field.
    defaultTime 'current' (default)
    '11:45 AM'
    false
    Set to the current time.
    Set to a specific time.
    Do not set a default time
    showMeridian true (default)
    false
    12hr mode
    24hr mode
    showInputs true (default)
    false
    Shows the text inputs in the widget.
    Hide the text inputs in the widget
    disableFocus false Disables the input from focusing. This is useful for touch screen devices that display a keyboard on input focus.
    disableMousewheel false Disables the input from changing on mousewheel events
    modalBackdrop false Show modal backdrop.
    appendWidgetTo body Allow for custom placing of the widget
    explicitMode false When true, user can type "123" to set time to "1:23" or "12345" to set time to "1:23:45".
    icons
    
    {
        up: 'glyphicon glyphicon-chevron-up',
        down: 'glyphicon glyphicon-chevron-down'
    }
    
    An object with keys 'up' and 'down' representing CSS class names to be used for the widget's icon classes.
  • 相关阅读:
    谷歌火狐浏览器限制的端口
    Web Api 内部数据思考 和 利用http缓存优化 Api
    Web Api 端点设计 与 Oauth
    FI-FBV0
    Others-SAP hybris 介绍
    ABAP-表修改日志存储
    TR-银行通信相关文档
    ABAP-Eclipse ADT中创建ABAP CDS视图
    TR-业务流程图
    FPM-OVP增强实例-银行账户
  • 原文地址:https://www.cnblogs.com/imguoc/p/5857589.html
Copyright © 2011-2022 走看看