akveo / akveo/nebular

[TOASTR]: Add ability to position toast in top center

Đang mở
#2,439 3 bình luận 6 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
8.1k
Fork
1.5k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Issue type

**I'm submitting a**

* [ ] bug report
* [x] feature request

### Issue description

**Current behavior:**
Currently, NbGlobalPosition allows only to use TOP_RIGHT, TOP_LEFT, BOTTOM_RIGHT, BOTTOM_LEFT positions.

**Expected behavior:**
NbGlobalPosition should allow to specify TOP_CENTER, BOTTOM_CENTER positions.

### Other information:
Currently, it is hardly possible to extend ToastrModule due to the fact, that NbPositionHelper, NbPositionBuilderService and NbToastrContainerRegistry classes depend on the concrete enum NbGlobalLogicalPosition.

![image](https://user-images.githubusercontent.com/7979992/86807868-ed6f5780-c082-11ea-8721-0f5b56b2f01e.png)

![image](https://user-images.githubusercontent.com/7979992/86807911-fbbd7380-c082-11ea-8cf4-9bb9f58da84c.png)

![image](https://user-images.githubusercontent.com/7979992/86807940-06780880-c083-11ea-9539-917f5e4e922f.png)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.