Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Dynamic Interactivity > Dynamic Interactivity Language > DynamicWrapper >

DynamicWrapper

DynamicWrapper
represents an object that displays as e, but dynamically updates the expression expr whenever that object is visible on screen.
  • The displayed e is not treated as dynamic, although it can contain explicit Dynamic expressions.
  • The expression expr is not displayed anywhere.
Display static content while dynamically updating an expression:
Assign a value to the independent variable above:
Display the dependent and independent variables:
Display static content while dynamically updating an expression:
In[1]:=
Click for copyable input
Out[1]=
Assign a value to the independent variable above:
In[2]:=
Click for copyable input
Out[2]=
Display the dependent and independent variables:
In[3]:=
Click for copyable input
Out[3]=
The same constructs which control evaluation in Dynamic work in DynamicWrapper:
The first argument can contain a Dynamic, which may interact with the DynamicWrapper evaluation:
Unlike Dynamic, DynamicWrapper cannot be used as an argument to a control:
DynamicWrapper will only update its computation while being displayed:
New in 8
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF