Skip to content
Snippets Groups Projects

Documentation/javadoc

Merged Jens Christian Aanestad requested to merge documentation/Javadoc into main
32 files
+ 857
211
Compare changes
  • Side-by-side
  • Inline
Files
32
@@ -52,8 +52,16 @@ const props = defineProps({
}
});
// Form reference in order to display validations input
const formRef = ref();
/**
* Adds the "was-validated" class to the input element, and emits
* an 'inputChangeEvent' to parent component.
*
* @param event The input event object
*/
const onInputEvent = (event: any) => {
formRef.value.classList.add("was-validated")
emit('inputChangeEvent', event.target.value)
Loading