Note that this should only be used to set/update the value of user-created
parts (i.e. those created using insertPart); it should not be used
by directives to set the value of the directive's container part. Directives
should return a value from update/render to update their part state.
For directives that require setting their part value asynchronously, they
should extend AsyncDirective and call this.setValue().
Sets the value of a Part.
Note that this should only be used to set/update the value of user-created parts (i.e. those created using
insertPart
); it should not be used by directives to set the value of the directive's container part. Directives should return a value fromupdate
/render
to update their part state.For directives that require setting their part value asynchronously, they should extend
AsyncDirective
and callthis.setValue()
.