Jquery mobile jQuery mobile datebox:有API文档吗?

Jquery mobile jQuery mobile datebox:有API文档吗?,jquery-mobile,datebox,daterangepicker,Jquery Mobile,Datebox,Daterangepicker,我正在尝试使用jquery.mobile datebox作为我的jquery移动应用程序的日期选择器。。。 我发现要找到一个包含完整API规范的页面有些困难。。。 例如,我不完全理解“useInlineHideInput”选项,但我找不到任何关于它的文档。。。 是否有jQuery mobile datebox API文档可用?您可以找到最新版本jQM datebox 2的完整选项列表 您可以找到有关useInlineHideInput选项的信息。这个选项似乎在jQM日期框1中可用。在版本2中,您

我正在尝试使用jquery.mobile datebox作为我的jquery移动应用程序的日期选择器。。。 我发现要找到一个包含完整API规范的页面有些困难。。。 例如,我不完全理解“useInlineHideInput”选项,但我找不到任何关于它的文档。。。 是否有jQuery mobile datebox API文档可用?

您可以找到最新版本jQM datebox 2的完整选项列表

您可以找到有关useInlineHideInput选项的信息。这个选项似乎在jQM日期框1中可用。在版本2中,您可以强制DateBox内联显示,并将“useInline”和“hideInput”设置为“true”

要了解特定选项的功能,请将以下HTML放入文件中,并将选项值从true更改为false

<html> 
    <head> 
        <title></title> 
        <meta name="viewport" content="width=device-width, initial-scale=1"> 
        <link rel="stylesheet" type="text/css" href="http://code.jquery.com/mobile/latest/jquery.mobile.min.css" />
        <link rel="stylesheet" type="text/css" href="http://dev.jtsage.com/cdn/datebox/latest/jqm-datebox.min.css" /> 
        <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.1.min.js"></script> 
        <script type="text/javascript" src="http://code.jquery.com/mobile/latest/jquery.mobile.min.js"></script>
       <script type="text/javascript" src="http://dev.jtsage.com/cdn/datebox/latest/jquery.mobile.datebox.min.js"></script>
    </head> 
    <body> 
        <div data-role="page">
            <label for="mydate">Some Date</label>
            <input name="mydate" id="mydate" type="date" data-role="datebox" data-options='{"useInline": true, "useInlineHideInput": true}'>
        </div>
    </body>
</html>​

某个日期
​
我希望这会有所帮助。

您可以找到最新版本jQM Datebox 2的完整选项列表

您可以找到有关useInlineHideInput选项的信息。这个选项似乎在jQM日期框1中可用。在版本2中,您可以强制DateBox内联显示,并将“useInline”和“hideInput”设置为“true”

要了解特定选项的功能,请将以下HTML放入文件中,并将选项值从true更改为false

<html> 
    <head> 
        <title></title> 
        <meta name="viewport" content="width=device-width, initial-scale=1"> 
        <link rel="stylesheet" type="text/css" href="http://code.jquery.com/mobile/latest/jquery.mobile.min.css" />
        <link rel="stylesheet" type="text/css" href="http://dev.jtsage.com/cdn/datebox/latest/jqm-datebox.min.css" /> 
        <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.1.min.js"></script> 
        <script type="text/javascript" src="http://code.jquery.com/mobile/latest/jquery.mobile.min.js"></script>
       <script type="text/javascript" src="http://dev.jtsage.com/cdn/datebox/latest/jquery.mobile.datebox.min.js"></script>
    </head> 
    <body> 
        <div data-role="page">
            <label for="mydate">Some Date</label>
            <input name="mydate" id="mydate" type="date" data-role="datebox" data-options='{"useInline": true, "useInlineHideInput": true}'>
        </div>
    </body>
</html>​

某个日期
​

我希望这能有所帮助。

fwiw,这是DateBox1,它在某种程度上被取代了,它并没有完全废弃,只是可能看不到任何更新。fwiw,这是DateBox1-它被取代了一些-它并没有完全放弃,只是可能看不到任何更新。