DurationComponent

This component allows you to create a duration component. It depends on debounce from Loadash, ValidationObserver, extend and required from Vee Validate.

Example

DurationComponent

<duration-component
    :mobile-native="true"
    :horizontal="false"
/>

Props

NameDescriptionTypeRequiredDefault
valueInner value of the componentfalsenull
tooltipPositionAllows you to indicate the psoition of the tooltipStringfalse"is-top"
tooltipTypeAllows you to indicate the type of the tooltipStringfalse"is-white"
horizontalAllows you to indicate if the component will be horizontal or notBooleanfalsetrue
hourFormatAllows you to indicate the hour formatStringfalse"24"
localeLocale string {en, es ...} for display language on componentStringfalse"es-MX"
convertUnitAllows you to indicate the unit of convertionStringfalse""
showClearButtonAllows you to indicate if the clear bottom will be displayed or notBooleanfalsefalse
showNowButtonAllows you to indicate if the now bottom will be displayed or notBooleanfalsefalse
showClearIconAllows you to indicate if the clear bottom icon will be displayed or notBooleanfalsetrue
minTimeAllows you to indicate the selectable min timeDatefalse-
maxTimeAllows you to indicate the selectable max timeDatefalse-
clearIconSizeAllows you to indicate the clear bottom icon sizeStringfalse"is-small"
editableAllows you to indicate if the time is editableBooleanfalsetrue
isRequiredAllows you to indicate if the duration is requiredBooleanfalsetrue
labelInsideAllows you to indicate if the label will be inside of the inputBooleanfalsefalse
labelOnBorderAllows you to indicate if the label will be on the border of the inputBooleanfalsefalse
appendToBodySame as append-to-body in Buefy b-tooltipBooleanfalsefalse
validationModeValidation mode to ValidationProviderStringfalse"eager"
hideValidationAllows you to indicate if show validation or notBooleanfalsefalse
operatorsAllows you to indicate the operators to be usedStringfalse""
dayIndicates if day options will be displayedBooleanfalsefalse
hourIndicates if hour options will be displayedBooleanfalsetrue
minuteIndicates if minute options will be displayedBooleanfalsetrue
secondIndicates if second options will be displayedBooleanfalsetrue

Events

Event NameDescriptionParameters
input--