Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bezborodow/alike
Highlight alike cells in a table.
https://github.com/bezborodow/alike
Last synced: 9 days ago
JSON representation
Highlight alike cells in a table.
- Host: GitHub
- URL: https://github.com/bezborodow/alike
- Owner: bezborodow
- License: bsd-3-clause
- Created: 2024-02-25T08:06:12.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-02-25T11:27:31.000Z (10 months ago)
- Last Synced: 2024-04-25T23:04:03.697Z (8 months ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/table-cells-alike
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Highlight Alike Cells in a Table
[Example.](https://bezborodow.github.io/alike/examples/)
Installation:
```console
npm install table-cells-alike
```## Usage
Import:
```javascript
/**
* Highlight alike table cells.
*/
import TableCellsAlike from 'table-cells-alike';
const alike = new TableCellsAlike();
alike.attach(document);
```Define highlight style:
```css
.alike {
background-color: aliceblue;
}
```Define which columns should be highlighed:
```html
Project Code
Project Name
Account
Assignee
```