[EGIT] [website/www-content] master 01/01: Wiki page value changed with summary [Move Javascript docs to legacy API] by Andrew Williams
WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=7e10c61eb1188e7e0dc50fbc8773cb3c912639dd commit 7e10c61eb1188e7e0dc50fbc8773cb3c912639dd Author: Andrew WilliamsDate: Fri Oct 20 11:05:57 2017 -0700 Wiki page value changed with summary [Move Javascript docs to legacy API] by Andrew Williams --- pages/api/javascript/eina/value.txt | 52 + 1 file changed, 1 insertion(+), 51 deletions(-) diff --git a/pages/api/javascript/eina/value.txt b/pages/api/javascript/eina/value.txt index 9c103156..6ab5db2e 100644 --- a/pages/api/javascript/eina/value.txt +++ b/pages/api/javascript/eina/value.txt @@ -1,51 +1 @@ -== Javascript binding API - Generic value storage == - -[[api::javascript::eina|Back to the JS Eina page]] - -Eina provides a way to abstract the storage of generic values in an extensible and efficient way, aimed at simple data types. - - Constructors and methods - -=== Constructor === - -Syntax - - -var obj = new efl.value(value); - - -Parameters - - * value - The value to be wrapped. Currently, numerical and string types are supported. - -Return type - - * Value instance - The newly created wrapper. - -Creates a new value wrapper. It can be passed to the native functions and back. - -Example usage - - -var myvalue = new efl.value(42); - - -=== get() === - -Syntax - - -var unwrapped = valueobj.get(); - - -Unwraps a value and retrieve its contents. - -=== set(value) === - -Syntax - - -valueobj.set(somevalue); - - -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 +This page is redirected to [[:develop:legacy:api:javascript:eina:value]]. \ No newline at end of file --
[EGIT] [website/www-content] master 01/01: Wiki page value changed with summary [Move Javascript docs to legacy API] by Andrew Williams
WWW-www.enlightenment.org pushed a commit to branch master. http://git.enlightenment.org/website/www-content.git/commit/?id=c6fce5cdb149dd261c101aa07a86e023203b6a52 commit c6fce5cdb149dd261c101aa07a86e023203b6a52 Author: Andrew WilliamsDate: Fri Oct 20 11:05:56 2017 -0700 Wiki page value changed with summary [Move Javascript docs to legacy API] by Andrew Williams --- pages/develop/legacy/api/javascript/eina/value.txt | 51 ++ 1 file changed, 51 insertions(+) diff --git a/pages/develop/legacy/api/javascript/eina/value.txt b/pages/develop/legacy/api/javascript/eina/value.txt new file mode 100644 index ..9c103156 --- /dev/null +++ b/pages/develop/legacy/api/javascript/eina/value.txt @@ -0,0 +1,51 @@ +== Javascript binding API - Generic value storage == + +[[api::javascript::eina|Back to the JS Eina page]] + +Eina provides a way to abstract the storage of generic values in an extensible and efficient way, aimed at simple data types. + + Constructors and methods + +=== Constructor === + +Syntax + + +var obj = new efl.value(value); + + +Parameters + + * value - The value to be wrapped. Currently, numerical and string types are supported. + +Return type + + * Value instance - The newly created wrapper. + +Creates a new value wrapper. It can be passed to the native functions and back. + +Example usage + + +var myvalue = new efl.value(42); + + +=== get() === + +Syntax + + +var unwrapped = valueobj.get(); + + +Unwraps a value and retrieve its contents. + +=== set(value) === + +Syntax + + +valueobj.set(somevalue); + + +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 --