PageSourceSearch

https://traton.com/.resources/vw-tab-website-light-module/webresou…/v3/js/modules/DropdownSelect-042ec50a.js

js traton.com collected 2026-10-02 05:21:52 UTC 1,103 bytes, 1 lines download raw bytes

1import{$ as e}from"./vendor-34b46c5c.js";import{c as a}from"../index-2c20db78.js";import{r}from"./ResizeHandler-443f1dd8.js";function n(t){this.$target=e(t),this.$mainInputToggle=this.$target.find("input[name='label']"),this.$mainLabel=this.$target.find(".dropdown-label span"),this.$optionLabel=this.$target.find(".option"),this.$selectList=this.$target.find(".select-list"),this.autosize=this.$target.attr("data-auto-size")==="true",this.inputFields=this.$target.find('input[type="radio"]')}n.prototype.init=function(){var t=this,i=this.$selectList.find('input[type="radio"]:checked');i.length>0&&this.$mainLabel.text(e(i).parent().find("label").text()),this.$optionLabel.on("click",(function(s){t.$mainInputToggle.prop("checked",!1),this.$mainLabel.text(e(s.currentTarget).parent().find("label").text())}).bind(this))};n.prototype.resizeDropdown=function(){var t=r.getDeviceState()===a.DEVICE_SMALL?this.$selectList.width()+15+"px":this.$selectList.width()+15+"px";this.$target.css("minWidth",t),this.$selectList.css("width",t)};function p(t){const i=new n(t);return i.init(),i}export{p as Factory};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.