primeng icon indicating copy to clipboard operation
primeng copied to clipboard

Change the path to import MessageService

Open sebaiona opened this issue 8 years ago • 3 comments

I'm submitting a ... (check one with "x")

[ ] bug report => Search github for a similar issue or PR before submitting
[x] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Plunkr Case (Bug Reports)

Put MessageService in api.ts (like ConfirmationService or other ones in 'primeng/src/app/components/common' for example)

Current behavior

Now we have to do import {MessageService} from 'primeng/components/common/messageservice';

Expected behavior

Be able to do import {MessageService} from 'primeng/api';

sebaiona avatar Jun 14 '18 12:06 sebaiona

The behaviour should be similar to that of ConfirmationService which is import { ConfirmationService } from 'primeng/api';

smitpsanghavi avatar Jul 16 '18 07:07 smitpsanghavi

+1

opetriienko avatar Jul 30 '18 07:07 opetriienko

Seems to be available in recent releases already.

cagataycivici avatar Jan 17 '19 09:01 cagataycivici