Narcissistic Preening Monarch
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    @jatahworx/bhive-corepublic

    Camera

    • Description Custom directive for upload file from mobile only based on cordova. If you want to use this add bh-camera custom directive any component.
    • Input
      • [cameraOptions] = "{entityName: 'profile', metadata: {key: 'example@neutrinos.co'}}"
      • entityName - collection Name - string
        • example entityName = 'profile'
      • metadata - object
        • example metadata = {key: 'example@neutrinos.co'}
    • Output
      • (onsuccess) - success method
        • example (onsuccess) = success($event)
      • (onerror) - error method
        • example (onerror) = error($event)

    File Download

    • Description Custom directive for download file. If you want to use this add bh-download custom directive any component.
    • Input
      • [downloadOptions] = "{entityName: 'profile', metadata?: {key: 'example@neutrinos.co'}, fileId?: '5a659b8d8fa0d80af3551f70'}"
      • In [downloadOptions] either fileId nor metadata is required. If both exist it will take only metadata.
      • entityName - collection Name - string
        • example entityName = 'profile'
      • metadata - object
        • example metadata = {key: 'example@neutrinos.co'}
      • fileId - individual file Id - string
        • example fileId = '5a659b8d8fa0d80af3551f70'
    • Output
      • (onsuccess) - success method
        • example (onsuccess) = success($event)
      • (onerror) - error method
        • example (onerror) = error($event)

    File Upload

    • Description Custom component for upload file from browser. If you want to use this add File Upload component.
    • Input
      • [uploadOptions] = "{entityName: 'profile', metadata: {key: 'example@neutrinos.co'}}"
      • entityName - collection Name - string
        • example entityName = 'profile'
      • metadata - object
        • example metadata = {key: 'example@neutrinos.co'}
    • Output
      • (onsuccess) - success method
        • example (onsuccess) = success($event)
      • (onerror) - error method
        • example (onerror) = error($event)

    Cam Scanner

    • Description Custom directive for document scanner from cordova devices. If you want to use this add bh-scan custom directive any component.
    • Input
      • [scanOptions] = "{entityName: 'profile', metadata: {key: 'example@neutrinos.co'}, sourceType: 0}"
      • entityName - collection Name - string
        • example entityName = 'profile'
      • metadata - object
        • example metadata = {key: 'example@neutrinos.co'}
      • sourceType - whether camera or gallery - number
        • example sourceType = 0
    • Output
      • (onsuccess) - success method
        • example (onsuccess) = success($event)
      • (onerror) - error method
        • example (onerror) = error($event)

    install

    npm i @jatahworx/bhive-core

    Downloadsweekly downloads

    839

    version

    3.3.1-beta.1

    license

    ISC

    repository

    githubbitbucket

    last publish

    collaborators

    • avatar