Recently, I integrated the amazing bootstrap-select
Successfully imported bootstrap-select
into my project with the following:
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.12.4/css/bootstrap-select.min.css">
<!-- Latest compiled and minified JavaScript -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.12.4/js/bootstrap-select.min.js"></script>
<!-- (Optional) Latest compiled and minified JavaScript translation files -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.12.4/js/i18n/defaults-*.min.js"></script>
placed within the document <head>
tag. Now, looking to customize the checkmarks in multiple select boxes, I decided to experiment with
$('.selectpicker').selectpicker('deselectAll');
Method detailed here. However, running this code snippet results in an error:
TS2339: Property 'selectpicker' does not exist on type 'JQuery<HTMLElement>'.
Even attempted installing types definition through
npm install --save-dev @types/bootstrap-select
No resolution yet. Operating within Visual Studio SPA template powered by ASP.NET Core template, Vue.js, and Webpack.