Open lionnnnn opened 3 years ago
Used to mention someone or something in the input, often used for posting, chatting or commenting.
// 支持textarea的所有属性
export interface MetionsOption { label: string value: string } const defaultFilterFn: MetionsFilterFn = (value: string, option: MentionsOptionProps) => { return option.label.toLowerCase().includes(value.toLowerCase()) }
string
EmptyProps
#empty
filterOption
MetionsOption[]
OptionProps
#default
@danranVm 已经修改完了,再看看吧。
What problem does this feature solve?
Used to mention someone or something in the input, often used for posting, chatting or commenting.
What does the proposed API look like?
ix-mentions
props
// 支持textarea的所有属性
控件将由 AbstractControl 完全控制,
此时 value 会失效
slot
methods
ix-metions-option
props