Select2 4.0.0 Bootstrap主题 [英] Select2 4.0.0 Bootstrap theme

查看:59
本文介绍了Select2 4.0.0 Bootstrap主题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在select2 4.0版本中,有一个主题选项.但是,在文档中,我找不到该选项的含义以及如何创建自定义主题( https://select2.github.io/examples.html )

In select2 4.0 version there is a theme option. However in the documentation I can't find what does the option mean and how can I create custom theme (https://select2.github.io/examples.html)

我发现select2的bootstrap 3主题,但似乎仅适用于3.5版本.

I've found bootstrap 3 theme for select2, but it seems to be working only for 3.5 version.

所以我可以为select2最新版本(4.0)创建自定义主题吗?基本上,我需要引导3样式,最好使用LESS文件

So I could I create custom theme for select2 latest version (4.0)? Basically I need bootstrap 3 styling preferably with LESS file

推荐答案

@fk 正在开发Bootstrap 3 Select2 4.0.0的主题.

@fk is working on a Bootstrap 3 theme for Select2 4.0.0.

https://github.com/select2/select2-bootstrap-theme

目前尚无任何有关为Select2 4.0.0创建主题的文档,但它可能有助于查看

There is not currently any documentation on creating themes for Select2 4.0.0, but it may help to look at the default theme's SCSS for the selectors.

这篇关于Select2 4.0.0 Bootstrap主题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆