1
0
Fork 0
forked from 0x2620/oxjs

rename Ox.UI source files, remove Ox. prefix

This commit is contained in:
j 2012-05-28 19:44:12 +00:00
commit 91e1065aab
101 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,44 @@
'use strict';
/*@
Ox.PlaceInput <f:Ox.FormElementGroup> PlaceInput Object
([options[, self]]) -> <f> PlaceInput Object
options <o> Options object
id <s> element id
value <s|United States> default value of place input
self <o> shared private variable
@*/
Ox.PlaceInput = function(options, self) {
var that;
self = Ox.extend(self || {}, {
options: Ox.extend({
id: '',
value: 'United States'
}, options)
});
that = Ox.FormElementGroup({
id: self.options.id,
elements: [
Ox.Input({
id: 'input',
value: self.options.value
}),
Ox.PlacePicker({
id: 'picker',
overlap: 'left',
value: self.options.value
})
],
float: 'right'
}, self)
.bindEvent('change', change);
function change() {
}
return that;
};