Fills out the fields in an Action
fields
Action
const fooField = new Field();fooField.name = 'bar';const bazField = new Field();bazField.name = 'baz';const action = new Action();action.fields = [fooField, bazField];const filler = new ActionFiller({ foo: 'bar', baz: 42 });action.accept(filler);fooField.value; //=> 'bar'bazField.value; //=> 42
Populates field with the value in values associated with the field's name
field
values
name
Generated using TypeDoc
Fills out the
fields
in anAction
Example