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

https://github.com/lussatech/sirus-stylus

stylus input recognition for angular
https://github.com/lussatech/sirus-stylus

angular2-component input ionic2 stylus

Last synced: about 1 month ago
JSON representation

stylus input recognition for angular

Awesome Lists containing this project

README

        

# sirus-stylus

Stylus input text recognition module for angular

![stylus demo](https://cloud.githubusercontent.com/assets/9798995/26132775/b141a7d4-3acc-11e7-8a04-1672f4bc33ea.gif)

## Installation

To install this library, run:

```bash
$ npm install @sirus/stylus --save
```

## Usage

Once you have published your library to npm, you can import this module in any Angular application by running:

```bash
$ npm install @sirus/stylus
```

and then from your Angular `AppModule` add your [myScript](http://doc.myscript.com/MyScriptCloud/3.2.0/myscript-web/text.html#mandatory-parameters) application key & hmac key:

```typescript
import { SirusStylusModule } from '@sirus/stylus';

@NgModule({
imports: [
SirusStylusModule.forRoot(
'APPLICATION_KEY',
'HMAC_KEY',
'HOST' // default to webdemoapi.myscript.com
)
]
})
export class AppModule { }
```

Then from your application template, you can start using `stylus` component

```xml

```

## Development

To generate all `*.js`, `*.d.ts` and `*.metadata.json` files:

```bash
$ npm run build
```

To lint all `*.ts` files:

```bash
$ npm run lint
```

## License

MIT © [muhammad hasan](mailto:[email protected])