Native textarea
scrolls can be done with @ scroll
,
but the Input
component in iView does not seem to provide on-scroll
instruction. What should I do
?
Native textarea
scrolls can be done with @ scroll
,
but the Input
component in iView does not seem to provide on-scroll
instruction. What should I do
?
you can bind scroll
events in mounted
to handle
mounted: {
// $refsdom
this.textArea = this.$refs.viewTextArea;
// domscroll
this.textArea.addEventListener('scroll', () => {}, true);
}
Previous: How can element-ui be downloaded locally and referenced directly to the web project?
Next: Element paging problem