Nice Parakeet Marriage

    @wmfs/cardscript-component

    1.4.0 • Public • Published

    Cardscript Component

    Tymly Cardscript Build Status npm (scoped) Dependabot badge Commitizen friendly JavaScript Style Guide license

    Cardscript wrapped as a Quasar Component

    Install

    $ npm install @wmfs/cardscript-component --save

    Usage

    <template>
      <div>
        <cardscript
          :cardscript="example"
          @Submit="onSubmit"
          @Cancel="onCancel"
          @PushCard="onPushCard"
          @InputAddress="onAddress"
          @InputApiLookupParamsChanged="onInputApiLookupParamsChanged"
          @InputApiLookupNext="onInputApiLookupNext"
        />
      </div>
    </template>
    
    <script>
    import { complex } from '@wmfs/cardscript-examples'
    import Cardscript from '@wmfs/cardscript-component'
    
    export default {
      name: 'PageIndex',
      components: { Cardscript },
      data () {
        return {
          example: complex
        }
      },
      methods: {
        onSubmit () {},
        onCancel () {},
        onPushCard () {},
        onAddress () {},
        onInputApiLookupParamsChanged () {},
        onInputApiLookupNext () {}
      }
    }
    </script>
    

    License

    MIT

    Install

    npm i @wmfs/cardscript-component

    DownloadsWeekly Downloads

    2

    Version

    1.4.0

    License

    MIT

    Unpacked Size

    11.9 kB

    Total Files

    7

    Last publish

    Collaborators

    • wmfsbot