SandBox: Difference between revisions

Jump to navigation Jump to search
Fahad AlKhalfan (talk | contribs)
No edit summary
Fahad AlKhalfan (talk | contribs)
No edit summary
Line 7: Line 7:
##I guess I am
##I guess I am
###I am pretty sure I am right
###I am pretty sure I am right
// Creating a TextInputWidget. Specify a default value with the 'value' config.
// A single-line TextInput (the default)
var textInput = new OO.ui.TextInputWidget( {
  value: 'Text input'
} );
$( 'body' ).append( textInput.$element );

Revision as of 13:37, 13 October 2017

Hey how are
you?

I am doing fine

  1. is this right?
    1. I guess so
    2. I guess I am
      1. I am pretty sure I am right


// Creating a TextInputWidget. Specify a default value with the 'value' config. // A single-line TextInput (the default) var textInput = new OO.ui.TextInputWidget( {

 value: 'Text input'

} ); $( 'body' ).append( textInput.$element );