2.0.2 • Published 7 years ago

mathquill-angular2 v2.0.2

Weekly downloads
12
License
-
Repository
-
Last release
7 years ago

Note

Still in development, check back in a few weeks to find a more stable release.

What's inside

The Mathquill-Angular2 Library contains:

  • An Angular Service with a promise to the mathquill object
  • An implementation of a MathQuill editor.

Important Note: You need jquery installed for this library to work.

For example you can add it in <head> of your html. Or in webpack write configure something like this:

var webpack = require("webpack");

    ...

    plugins: [
        new webpack.ProvidePlugin({
            $: "jquery",
            jQuery: "jquery"
        })
    ]

Or in .angular-cli.json:

{
  ...
  "apps": [
    {
      ...
      "scripts": [
        "../node_modules/jquery/dist/jquery.js"
      ],
   ...

Installation

Step 1)

Make sure Jquery is installed correctly

Step 2)

npm install mathquill-angular2

Usage

In your app.module:

imports: [
  ...
  MathquillAngular2Module.forRoot()
]

Then to use the service:

import { MathquillService } from 'mathquill-angular2'

...

constructor( mqs: MathquillService ) { mqs.mq.then(resp => { console.log('this is the mathquill object', resp); }); }

or to use the editor

2.0.2

7 years ago

2.0.1

7 years ago

1.2.1

7 years ago

1.0.32

7 years ago

1.0.31

7 years ago

1.0.30

7 years ago

1.0.29

7 years ago

1.0.28

7 years ago

1.0.27

7 years ago

1.0.26

7 years ago

1.0.25

7 years ago

1.0.24

7 years ago

1.1.1

7 years ago

1.0.23

7 years ago

1.0.22

7 years ago

1.0.21

7 years ago

1.0.20

7 years ago

1.0.19

7 years ago

1.0.18

7 years ago

1.0.17

7 years ago

1.0.16

7 years ago

1.0.15

7 years ago

1.0.14

7 years ago

1.0.13

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

0.1.7

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago