1.1.3 • Published 1 year ago

math-latex-keyboard v1.1.3

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

keyboard

需要项目内安装有

    vue: "vue",
    jquery: 'jquery',
    mathquill: 'mathquill'

使用如下:

<!-- app.vue使用 -->
<template>
  <div id="app">
    <div v-on:click="show = !show">
        <math-latex-render
                :value.sync="mathValue"
                :imgshow='!show'
                class="latex-render-comp no-border-render wrapper-mask" ></math-latex-render>
      <code @click.stop="a">latex: {{value}}</code>
    </div>
    <!-- 学段信息 小学0001 初中0002 高中0003 -->
      <math-latex-keyboard
              :value.sync="mathValue"
              :show.sync="show"
              :is-editor-inside="isEditorInside"
              :section="section"
              @update-keyboard-type="$listeners.updateKeyboardType"
              @iosNeedScrollInToView="$listeners.iosNeedScrollInToView"
      ></math-latex-keyboard>
  </div>
</template>
<script>
    import { MathRender, MathKeyboard } from 'math-latex-keyboard';
    export default {
        name: 'demo',
        components: {
            MathLatexKeyboard: MathKeyboard,
            MathLatexRender: MathRender
        }
    };
</script>

键盘参数

参数说明类型默认值
show控制键盘的显示隐藏Booleanfalse
value输入输出值String-
isEditorInside是否要在键盘内输入值Booleanfalse
section学段String'0001'
1.1.3

1 year ago

1.1.0

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago