This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

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