importing StyleClassModule

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
hsi
Posts: 1
Joined: 27 Aug 2021, 23:50

01 Sep 2021, 17:25

The documentation is somewhat confusing with respect to importing the StyleClassModule. The website states that StyleClassModule should be imported from 'primeng/api' . The documentation accompanying the blocks itself (when purchased) states that StyleClassModule should be imported from 'primeng/utils'. However neither of the previous imports appears to work. The actual import appears to be "import {StyleClassModule} from 'primeng/styleclass'.

merve7
Posts: 861
Joined: 12 Sep 2017, 10:44

08 Sep 2021, 12:48

Hi,
Firstly, thank you for your feedback. Please, consider this documentation (https://www.primefaces.org/primeng/show ... styleclass) and we will fix the others.

Best regards,
Merve Özçifçi

mangelo
Posts: 28
Joined: 17 May 2013, 17:23

09 Jun 2022, 16:46

The documentation for PrimeBlocks still shows the import for the StyleClassModule incorrectly. It should be:

import { StyleClassModule } from 'primeng/styleclass';
PrimeNG 13.4.0
Spring Boot 2.7.0

cetincakiroglu
Posts: 130
Joined: 17 Dec 2021, 09:33

13 Jun 2022, 11:32

mangelo wrote:
09 Jun 2022, 16:46
The documentation for PrimeBlocks still shows the import for the StyleClassModule incorrectly. It should be:

import { StyleClassModule } from 'primeng/styleclass';
Hi,

Thanks for your report, documentation will be fixed in the upcoming release.

Regards

Post Reply

Return to “PrimeBlocks for PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests