403Webshell
Server IP : 203.96.225.131  /  Your IP : 216.73.216.19
Web Server : nginx/1.24.0
System : Linux iot1 6.8.0-151-generic #151-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 11 01:28:36 UTC 2026 x86_64
User : papel ( 1002)
PHP Version : 8.1.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /dma/project-211/project/mapbd/node_modules/require/node_modules/std/ui/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /dma/project-211/project/mapbd/node_modules/require/node_modules/std/ui/Select.js
var Class = require('../Class'),
	Component = require('./Component'),
	extend = require('../extend')

module.exports = Class(Component, function() {
	
	var defaults = {
		title: 'Select',
		values: []
	}

	this._init = function(opts) {
		opts = extend(opts, defaults)
		this._values = [opts.title].concat(opts.values)
	}

	this._createElement = function() {
		this.append(this._dom({ 'class':'label', html:this._title }))
		var dropDown = this.append(this._dom({ class:'dropDown' }))
		var arrowStyle = { border:'10px dotted #333', borderStyleBottom:'solid' }
		dropDown.appendChild(this._dom({ 'class':'arrow', style:arrowStyle }))
		this._menu = this._dom({ 'class':'values' })
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit