About this software

CL-web-components 0.0.5

Added an optional function `customCleanupFilter` to the csvtextarea web component. The function is expected to operate on an HTML object containing the row being evalated. If the user defined function returns true the row is accepted. If false the row will be removed.

Authors

Contributors

Maintainers

CL-web-components provides a collection of Web Components used by Caltech Library in various web sites and projects.

The following are the components currently provided.

`csv-textarea`
This is a textarea like component who's innerHTML content is CSV data. The component will display this as an editable table.
`a-to-z-ul`
This component takes an innerHTML containing a UL list. The UL list is then turned into an A to Z navigatable UL List. If JavaScript is unavailable then the innerHTML UL remains as a fallback.

One additional helper module is currently provided, `parseCSV.js`, that provides stringify and parse functions for CSV rows and strings.

Programming languages