Home > Web Front-end > JS Tutorial > body text

Share the internal methods of parent components calling child components in vue.js

小云云
Release: 2018-01-04 10:36:08
Original
1749 people have browsed it

This article mainly introduces to you the relevant information about the parent component calling the internal method of the child component in vue.js. The article gives detailed sample code for your reference and study, which has certain reference value for everyone's study or work. Friends who need it, please follow the editor to learn together.

Preface

Today a colleague asked a question. When developing with iview, he needs to use the internal method of a component of iview, but this internal method is not exposed. In this case How to call the internal method of the component? It’s actually very simple. Here’s an example.

The above is the detailed content of Share the internal methods of parent components calling child components in vue.js. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!