Abstract
Directives are special attributes that apply Vue.js functionality to HTML elements in a component’s template. In this chapter, I explain how to use the basic built-in directives that Vue.js provides, which provide some of the most commonly required features in web application development. In Chapters 13–15, I describe more complex directives, and in Chapter 26, I explain how to create custom directives when the built-in ones don’t provide the features you require. Table 12-1 puts the built-in directives in context.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2018 Adam Freeman
About this chapter
Cite this chapter
Freeman, A. (2018). Using the Basic Directives. In: Pro Vue.js 2. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-3805-9_12
Download citation
DOI: https://doi.org/10.1007/978-1-4842-3805-9_12
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-3804-2
Online ISBN: 978-1-4842-3805-9
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)