https://github.com/bahrus/xtal-splitting
Web components that can do the splits
https://github.com/bahrus/xtal-splitting
Last synced: 4 months ago
JSON representation
Web components that can do the splits
- Host: GitHub
- URL: https://github.com/bahrus/xtal-splitting
- Owner: bahrus
- License: mit
- Created: 2018-06-23T23:34:06.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-06-04T20:40:30.000Z (about 4 years ago)
- Last Synced: 2025-02-02T13:48:10.366Z (4 months ago)
- Language: TypeScript
- Size: 116 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.webcomponents.org/element/xtal-splitting)
# \
Web components that can do the splits.
xtal-split takes a search string, and splits up the textContent into spans, which can be styled to show where the matching text is.
Demo via [webcomponents.org](https://www.webcomponents.org/element/xtal-splitting)
supercalifragilisticexpialidocious
```
-->## Install the Polymer-CLI
First, make sure you have the [Polymer CLI](https://www.npmjs.com/package/polymer-cli) and npm (packaged with [Node.js](https://nodejs.org)) installed. Run `npm install` to install your element's dependencies, then run `polymer serve` to serve your element locally.
## Viewing Your Element
```
$ polymer serve
```## Running Tests
```
$ npm test
```