Skip to content

react mathquill npm

leejieun edited this page Nov 23, 2020 · 1 revision

react-mathquill - npm

react-mathquill npm 공식문서 바로가기

MathQuill 공식문서 바로가기

🛠️ 필요할 것 같은 API Methods 정리

  • .latex() : Returns the contents as LaTeX.

⇒ ex) mathField.latex() : 화면에서 입력받은 내용을 LaTeX으로 변환

  • .focus() : Puts the focus on the editable field.
  • .blur() : Removes focus from the editable field.
  • .write(latex_string) : Write the given LaTeX at the current cursor position.
  • .cmd(latex_string) : Enter a LaTeX command at the current cursor position.

⇒ If the cursor does not have focus, writes to last position the cursor occupied in the editable field.

  • moveToLeftEnd() : Move the cursor to the left/right end of the editable field
  • moveToRightEnd() : Move the cursor to the left/right end of the editable field
  • .keystroke(keys) : Simulates keystrokes given a string like "Ctrl-Home Del"

⇒ ex) mathField.keystroke('Shift-Left'); // Selects character before the current cursor position

  • typedText(text) : Simulates typing text

⇒ ex) mathField.typedText('x=-b\pm \sqrt b^2 -4ac');

🤝 Rules

🤖 개발 진행 공유

🧑‍🏫 학습 정리

📖 Document

😄데일리 스크럼
😄일일 회의록
😄주간 회고록

🗣 피어세션

🔥 트러블 슈팅

Clone this wiki locally