LMMicroPoll
LMMicroPoll is used internally under LMMessage to render poll-type conversation object.
CSS Classnames
| Classname | Description |
|---|---|
| lmUserData | User profile data container |
| user-profile | User profile section |
| name | User name display |
| info | User info section |
| poll-header | Header section of poll |
| poll-icon | Poll icon display |
| ends | Poll end time display |
| poll-title | Poll title text |
| votes | Vote count display |
| add-option-to-poll | Button to add poll option |
| option | Individual poll option |
| totalVotes | Total votes counter |
| lm-poll-submit | Submit button for poll |
| time | Time display element |
| error-message | Error message display |
| edited-bullet | Edit indicator icon |
| lm-poll-response-add-option-dialog | Dialog for adding poll option |
| lm-poll-response-add-option-dialog-header | Dialog header section |
| lm-poll-response-add-option-dialog-header-title | Dialog title text |
| lm-poll-response-add-option-dialog-header-close lm-cursor-pointer | Close button for dialog |
| lm-poll-response-add-option-dialog-body | Dialog content area |
| lm-poll-response-add-option-dialog-body-text | Dialog text content |
| lm-poll-response-add-option-input | Input field for new option |
| lm-poll-response-add-option-submit | Submit button for new option |
| lm-voter-tabs | Tabs for voter list |
| counts | Voter count display |
| lm-voters | List of voters |
| lm-voter-img | Voter avatar image |
| lm-voter | Individual voter entry |
| lm-voter-name | Voter name display |
Example
To customise the component with their classnames, Open your base css file and override the styles using the classname
.lm-voter-name {
font-size: 18px;
color: "red";
}
Reference
For reference checkout this file