function formatState(e){return e.id?$('<span><img src="assets/images/flags/select2/'+e.element.value.toLowerCase()+'.png" class="img-flag rounded" height="18" /> '+e.text+"</span>"):e.text}function formatState(e){var t;return e.id?((t=$('<span><img class="img-flag rounded" height="18" /> <span></span></span>')).find("span").text(e.text),t.find("img").attr("src","assets/images/flags/select2/"+e.element.value.toLowerCase()+".png"),t):e.text}$(document).ready(function(){$(".js-example-basic-single").select2(),$(".js-example-basic-multiple").select2();$(".js-example-data-array").select2({data:[{id:0,text:"enhancement"},{id:1,text:"bug"},{id:2,text:"duplicate"},{id:3,text:"invalid"},{id:4,text:"wontfix"}]})}),$(".js-example-templating").select2({templateResult:formatState}),$(".select-flag-templating").select2({templateSelection:formatState}),$(".js-example-disabled").select2(),$(".js-example-disabled-multi").select2(),$(".js-programmatic-enable").on("click",function(){$(".js-example-disabled").prop("disabled",!1),$(".js-example-disabled-multi").prop("disabled",!1)}),$(".js-programmatic-disable").on("click",function(){$(".js-example-disabled").prop("disabled",!0),$(".js-example-disabled-multi").prop("disabled",!0)});
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
custom | Folder | 0755 |
|
|
image_upload | Folder | 0755 |
|
|
loader | Folder | 0755 |
|
|
pages | Folder | 0755 |
|
|
snackbar | Folder | 0755 |
|
|
toastr | Folder | 0755 |
|
|
app.js | File | 58.28 KB | 0644 |
|
jquery.js | File | 147.41 KB | 0644 |
|
layout.js | File | 1.21 KB | 0644 |
|
plugins.js | File | 248 B | 0644 |
|
pricing.init.js | File | 1001 B | 0644 |
|
profile-setting.init.js | File | 4.12 KB | 0644 |
|
profile.init.js | File | 275 B | 0644 |
|
project-create.init.js | File | 669 B | 0644 |
|
project-list.init.js | File | 542 B | 0644 |
|
project-overview.init.js | File | 226 B | 0644 |
|
range-sliders.init.js | File | 5.73 KB | 0644 |
|
rating.init.js | File | 1.71 KB | 0644 |
|
remix-icons-listing.js | File | 54.79 KB | 0644 |
|
search-result.init.js | File | 693 B | 0644 |
|
select2.init.js | File | 1.2 KB | 0644 |
|
select2.min.js | File | 71.45 KB | 0644 |
|
seller-details.init.js | File | 5.75 KB | 0644 |
|
sellers.init.js | File | 5.24 KB | 0644 |
|
sweetalert.min.js | File | 39.85 KB | 0644 |
|
sweetalerts.init.js | File | 12.83 KB | 0644 |
|
swiper.init.js | File | 2.87 KB | 0644 |
|
tasks-kanban.init.js | File | 4.21 KB | 0644 |
|
tasks-list.init.js | File | 14.65 KB | 0644 |
|
team.init.js | File | 10.72 KB | 0644 |
|