diff --git a/pages/api/javascript/eina/value.txt b/pages/api/javascript/eina/value.txt index 5ed7da445..9c103156c 100644 --- a/pages/api/javascript/eina/value.txt +++ b/pages/api/javascript/eina/value.txt @@ -16,7 +16,7 @@ var obj = new efl.value(value); Parameters - * value - The value to be wrapped. + * value - The value to be wrapped. Currently, numerical and string types are supported. Return type @@ -27,7 +27,7 @@ Creates a new value wrapper. It can be passed to the native functions and back. Example usage -var myvalue = efl.value(42); +var myvalue = new efl.value(42); === get() === @@ -48,4 +48,4 @@ Syntax valueobj.set(somevalue); -Replaces the wrapped value with the given value. \ No newline at end of file +Replaces the wrapped value with the given value. You can set any of the supported values, there's no restriction on the value being of the type set on at the time of instantiation. \ No newline at end of file