phore/theme-bootstrap

使用流畅HTML的Bootstrap 4主题

v0.2.2 2020-06-18 22:25 UTC

This package is auto-updated.

Last update: 2024-09-19 08:15:00 UTC


README

库作为资源包含

安装

composer require phore/theme-bootstrap

示例

查看示例页面

示例/测试包含在内。运行 kickstart.sh 以启动并打开浏览器中的 http://localhost

功能

Daterangepicker

主页

在主题中激活

$themeConfig->frameworkds["daterangepicker"] = true;

示例

$('#demo').daterangepicker({
    "startDate": "06/12/2020",
    "endDate": "06/18/2020"
}, function(start, end, label) {
  console.log('New date range selected: ' + start.format('YYYY-MM-DD') + ' to ' + end.format('YYYY-MM-DD') + ' (predefined range: ' + label + ')');
});

Select2

主页

$themeConfig->frameworkds["select2"] = true;

MomentJS

主页