Unlike attr<-
, this method (essentially) stores the
attribute in a reference to the object, not a copy. As such it can
be used within function call (handlers) to assign values outside
the scope of the function call.
1 2 3 4 5 6 7 8 |
obj |
object |
key |
character. Values are stored by key. If missing, all keys are returned. |
value |
to assign to key |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.