Remove V8 plugin
[platform/core/uifw/dali-toolkit.git] / docs / content / programming-guide / text-field.md
@@ -25,16 +25,6 @@ field.SetProperty( TextField::Property::PLACEHOLDER_TEXT_FOCUSED, "Enter Name."
 Stage::GetCurrent().Add( field );
 ~~~
 
-~~~{.js}
-// JavaScript
-
-var field = new dali.TextField();
-field.placeholderText = "Unnamed Name";
-field.placeholderTextFocused = "Enter Name.";
-
-dali.stage.add( field );
-~~~
-
 When the TextField is tapped, it will automatically gain the keyboard focus. Key events will then result in text being inserted, and the placeholder text will be removed.
 After text has been entered, it can be retrieved from the TEXT property.
 
@@ -45,12 +35,6 @@ Property::Value fieldText = field.GetProperty( TextField::Property::TEXT );
 std::cout << "Received text: " << fieldText.Get< std::string >() << std::endl;
 ~~~
 
-~~~{.js}
-// JavaScript
-
-console.log( field.text );
-~~~
-
 ### Font Selection
 
 By default TextField will automatically select a suitable font from the platform. However, a different font could be selected. See the [Font Selection](@ref font-selection) section for more details.
@@ -74,12 +58,6 @@ If there is enough room, then the text can be aligned horizontally to the beginn
 field.SetProperty( TextField::Property::HORIZONTAL_ALIGNMENT, "BEGIN" ); // "CENTER" or "END"
 ~~~
 
-~~~{.js}
-// JavaScript
-
-field.HorizontalAlignment = "BEGIN"; // "CENTER" or "END"
-~~~
-
 ### Copy and Paste  (Selection)
 
 Text can be selected by a long press or double tapping it. See the [Copy and Paste](@ref copy-n-paste) section for more details.
@@ -98,16 +76,9 @@ field.SetProperty( TextField::Property::TEXT_COLOR, Color::CYAN );
 field.SetProperty( TextField::Property::PLACEHOLDER_TEXT_COLOR, Color::BLACK );
 ~~~
 
-~~~{.js}
-// JavaScript
-
-field.textColor = dali.COLOR_CYAN;
-field.placeholderTextColor = dali.COLOR_BLACK;
-~~~
-
 ### Text Field Properties
 
- Name (JavaScript)                 |  Name (C++)                          |  Type        | Writable     | Animatable
+ Name (JSON)                       |  Name (C++)                          |  Type        | Writable     | Animatable
 -----------------------------------|--------------------------------------|--------------|--------------|-----------
  renderingBackend                  | RENDERING_BACKEND                    |  INTEGER     | O            | X
  text                              | TEXT                                 |  STRING      | O            | X
@@ -155,6 +126,4 @@ field.placeholderTextColor = dali.COLOR_BLACK;
  outline                           | OUTLINE                              |  STRING      | O            | X
  inputOutline                      | INPUT_OUTLINE                        |  STRING      | O            | X
 
-@class TextField
-
 */