Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Next-Level UI Development with PrimeNG
  • Table Of Contents Toc
  • Feedback & Rating feedback
Next-Level UI Development with PrimeNG

Next-Level UI Development with PrimeNG

By : Nguyen
4.9 (9)
close
close
Next-Level UI Development with PrimeNG

Next-Level UI Development with PrimeNG

4.9 (9)
By: Nguyen

Overview of this book

Elevate your UI development skills with Next-Level UI Development with PrimeNG. In a digital landscape where the user interface plays a pivotal role, PrimeNG expertise is essential for Angular developers. This all-encompassing book shows you how to unleash this powerful UI component library in your Angular projects. From the initial setup to integration, you'll explore the synergy between Angular and PrimeNG and how it can help you enhance your projects. You’ll work with a wide range of UI components and features, such as input controls, data display, manipulation, and navigation, which allow you to build intuitive and dynamic user interfaces. You'll also discover advanced techniques and best practices for theming, performance optimization, creating reusable components, and handling internationalization and localization. With insights into testing and debugging PrimeNG components, this book ensures the development of robust and error-free applications, and finally guides you toward putting your knowledge into practice by building a real-world responsive web application. By the end of this book, you will be able to harness the full potential of PrimeNG, enabling you to create extraordinary web experiences that stand out from the rest.
Table of Contents (21 chapters)
close
close
Free Chapter
1
Part 1: Introduction to PrimeNG
6
Part 2: UI Components and Features
11
Part 3: Advanced Techniques and Best Practices
17
Part 4: Real-World Application

Working with text inputs, checkboxes, and radio buttons

As we delve deeper into the practical aspects of Angular and PrimeNG, we’ll focus on the implementation of text inputs, checkboxes, and radio buttons. These form controls are fundamental to any application, enabling users to interact with the application and provide necessary data.

Let’s take a look at this contact form component:

Figure 5.3 – Sample contact form

Figure 5.3 – Sample contact form

The contact form utilizes various PrimeNG components such as InputText, InputMask, Checkbox, and RadioButton. Let’s take a look at each part.

InputText

The pInputText directive is used to enhance existing text input fields. To use the pInputText directive in your Angular project, you first need to import the InputTextModule module from PrimeNG. You can do this by adding the following import statement to your component file:

import { InputTextModule } from 'primeng/inputtext'

Next, you can...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY