WWW-www.enlightenment.org pushed a commit to branch master.

http://git.enlightenment.org/website/www-content.git/commit/?id=a696cc125e58aa3956d86bec09ad32a0f9fe7410

commit a696cc125e58aa3956d86bec09ad32a0f9fe7410
Author: Lauro Moura <lauromo...@expertisesolutions.com.br>
Date:   Mon Dec 7 11:34:05 2015 -0800

    Wiki page value changed with summary [] by Lauro Moura
---
 pages/api/javascript/eina/value.txt | 24 +++++++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)

diff --git a/pages/api/javascript/eina/value.txt 
b/pages/api/javascript/eina/value.txt
index 1fba0d0..5ed7da4 100644
--- a/pages/api/javascript/eina/value.txt
+++ b/pages/api/javascript/eina/value.txt
@@ -24,6 +24,28 @@ Return type
 
 Creates a new value wrapper. It can be passed to the native functions and back.
 
+Example usage
+
+<code javascript>
+var myvalue = efl.value(42);
+</code>
+
 === get() ===
 
-Syntax
\ No newline at end of file
+Syntax
+
+<code javascript>
+var unwrapped = valueobj.get();
+</code>
+
+Unwraps a value and retrieve its contents.
+
+=== set(value) ===
+
+Syntax
+
+<code javascript>
+valueobj.set(somevalue);
+</code>
+
+Replaces the wrapped value with the given value.
\ No newline at end of file

-- 


Reply via email to