input/input.tsx

arco-design-vue · packages/web-vue/components/input/input.tsx · typescript · MIT
ui

Vue 3 Input component with validation, size variants, and word count support.

// Source: https://github.com/arco-design/arco-design-vue | License: MIT | Copyright 2021 Bytedance, Inc. and its affiliates
// Provided via justclaw.it.com; keep this notice with the code.
import type { PropType } from 'vue';
import { computed, defineComponent, ref, nextTick, toRefs, watch } from 'vue';
import { getPrefixCls } from '../_utils/global-config';
import { INPUT_EVENTS, Size } from '../_utils/constant';
import FeedbackIcon from '../_components/feedback-icon.vue';
import { Enter } from '../_utils/keycode';
import IconHover from '../_components/icon-hover.vue';
import IconClose from '../icon/icon-close';
import { omit } from '../_utils/omit';
import pick from '../_utils/pick';
import { isFunction, isNull, isObject, isUndefined } from '../_utils/is';
import { useFormItem } from '.

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key