Skip to content

fyodorklimenko/ngMathQuill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ngMathQuill

ngMathQuill is the set of Angular 1.x directives that wraps MathQuill.

It's realy easy to show and edit complex mathematical formulas with MathQuill.

So here we got:

mathQuillStaticView directive

Gets math expression as string and just represents it.

Example of usage:

<span math-quill-static-view value="1+x"></span>

mathQuillView directive

Gets math expression as variable and represents it. Also updates when given variable changes.

Example of usage:

<div ng-init="value = '1+2\cdotx'">
	<span math-quill-view value="value"></span>
</div>

mathQuillEdit directive

Gets math expression as variable, represents it and gives to user interface to change it.

<div ng-init="value = '3+\frac{1}{\pi}'">
	<span math-quill-edit ng-model="value"></span>
</div>

For more info - load repo and look at example/index.html file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published