# Calculate
Component name: <v-calc>
The calc component is used to calculate the difference bewteen two variables.
As of now, it can only calcuate the difference in months between two dates.
# Example
# API
Name | Type | Description | Default |
---|---|---|---|
start | Date | Start date | - |
end | Date | End date | - |
type | String | The type of data we are calculating - atm only 'date' is possible | date |
@calc | event | Emits the result of the calculation | - |