An open API service indexing awesome lists of open source software.

https://github.com/bahrus/xtal-split


https://github.com/bahrus/xtal-split

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

        

[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](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
```