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
- Host: GitHub
- URL: https://github.com/lussatech/sirus-stylus
- Owner: lussatech
- Created: 2017-05-15T17:09:50.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-14T05:49:35.000Z (over 7 years ago)
- Last Synced: 2024-04-25T15:22:17.803Z (about 1 year ago)
- Topics: angular2-component, input, ionic2, stylus
- Language: TypeScript
- Homepage: https://lussatech.github.io/sirus-stylus
- Size: 1.55 MB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# sirus-stylus
Stylus input text recognition module for angular

## 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])