MCPcopy Index your code
hub / github.com/select2/select2 / UserDefinedType

Function UserDefinedType

tests/data/array-tests.js:8–15  ·  view source on GitHub ↗
(id, text)

Source from the content-addressed store, hash-verified

6var Utils = require('select2/utils');
7
8var UserDefinedType = function (id, text) {
9 var self = this;
10
11 self.id = id;
12 self.text = text;
13
14 return self;
15};
16
17var arrayOptions = new Options({
18 data: [

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…