DynamicWrapper

DynamicWrapper[e,expr]

represents an object that displays as e, but dynamically updates the expression expr whenever that object is visible on screen.

Details and Options

Examples

open allclose all

Basic Examples  (1)

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]=

Scope  (3)

Possible Issues  (1)

See Also

Dynamic  FrontEndDynamicExpression  NotebookDynamicExpression  CellDynamicExpression

Introduced in 2010
(8.0)