Contains common UI components powered by angular. These components are designed to be used in Chat Bot platforms (hybird mobile app, web portal, any browser based apps) to drive reusability, maintainability hence reducing the redundant development effort significantly.
For help getting started with a new Angular app, check out the Angular CLI. For existing apps, follow these steps to begin using .
npm install @project-sunbird/common-consumption --save
Import the NgModule for each component you want to use:
import { ChatLibModule} from '';
@NgModule({
...
imports: [ChatLibModule],
...
})
export class TestAppModule { }
Feature | Notes | Selector |
---|---|---|
Chat Window | Chat Window for Chat Bot | lib-chat-window |
Chat Message List | Chat Messages Get Listed in Widget | lib-chat-message-list |
Chat Message | Library Chat Message Component | lib-chat-message |
Chat Message Bottom Bar | Can be used in the course page for all consumption platforms | lib-chat-message-bottom-bar |