# Component event
Method:
By component way
<form-create @change="onChange"></form-create>
Via fApi
method
fApi.on('change',this.onChange);
# change
Parameters:
field
Field valuevalue
Component valuefApi
apisetFlag
Active modification whentrue
Description: When the form components of value inside the component changes triggered
# remove-field v2.5.5+
Parameters:
field
Field valuerule
fApi
api
Description:Triggered after removing the form component rule
# remove-rule v2.5.5+
Parameters:
rule
fApi
api
Description:Triggered after removing the generated plan
# set-value < v2.5.0
Parameters:
field
Field valuevalue
Component valuefApi
api
Description: When the form component values in an external trigger is modified
# emit-event
Parameters:
emitName
event name...args
event Parameters
Description: In the component's
emit
event triggered when triggered
# control
Parameters:
rule
fApi
api
Description: The component of
control
effect or failure to trigger
# mounted
Parameters:
fApi
api
Description: Apply colours to a drawing for the first time in the form after the completion of the trigger
# submit
Parameters:
formData
fApi
api
Description: Click on the form submit button when triggered
← Global API Rule →