《前端》 JS组件 之 BootstrapTable(入门篇)--2020年6月9日

本文介绍了前端组件BootstrapTable的入门使用,首先讲解了如何引入Bootstrap和BootstrapTable的依赖包,强调了需要从官方资源获取。接着提到了后续的内容会进行代码解析,但目前这部分内容缺失。最后给出了相关博客链接作为进一步学习的资源。
摘要由CSDN通过智能技术生成

一、BootstrapTable引入

Bootstrap Table是Bootstrap的一个组件,它是依赖于 Bootstrap ,所以首先需要添加Bootstrap的引用。Bootstrap的包可以在 http://v3.bootcss.com/ 里面可以找到。然后引入Bootstrap Table的包,源码可以在https://github.com/wenzhixin/bootstrap-table里面git中下载。然后把这两个包分别加入到项目

中。

(应该不全,后期补充。)

<link href="https://unpkg.com/bootstrap-table@1.16.0/dist/bootstrap-table.min.css" rel="stylesheet">

<script src="https://unpkg.com/tableexport.jquery.plugin/tableExport.min.js"></script>
<script src="https://unpkg.com/bootstrap-table@1.16.0/dist/bootstrap-table.min.js"></script>
<script src="https://unpkg.com/bootstrap-table@1.16.0/dist/bootstrap-table-locale-all.min.js"></script>
<script src="https://unpkg.com/bootstrap-table@1.16.0/dist/extensions/export/bootstrap-table-export.min.js"></script>

二、代码解析

后面有点看不懂了。迷迷糊糊看不下去了。回头看吧

JS组件系列——表格组件神器:bootstrap table - 懒得安分 - 博客园  https://www.cnblogs.com/landeanfen/p/4976838.html

 

案例:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值