Page 1 of 1

importing StyleClassModule

Posted: 01 Sep 2021, 17:25
by hsi
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'.

Re: importing StyleClassModule

Posted: 08 Sep 2021, 12:48
by merve7
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

Re: importing StyleClassModule

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

import { StyleClassModule } from 'primeng/styleclass';

Re: importing StyleClassModule

Posted: 13 Jun 2022, 11:32
by cetincakiroglu
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