Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用BootStrap Datepicker。我想在字段顶部加载/定位日历。我怎样才能做到这一点 ?
目前它正在像这样加载 -
要使日历显示在输入上方而不是下方,请将“drops”设置更改为“up”。
$(element).daterangepicker({ drops: 'up' });
如果有人将它与角度一起使用:
[bsConfig]="{ adaptivePosition: true }"