Socket
Book a DemoInstallSign in
Socket

ember-marker-io

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-marker-io

An ember addon for dealing with Marker.io from within your application

0.0.1
latest
Source
npmnpm
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

ember-marker-io

Adds a marker.io service to your ember application to create and configure its feedback button and interact with the marker.io sdk from anywhere in your application.

For more information about the marker.io sdk, see: https://github.com/marker-io/browser-sdk

Compatibility

  • Ember.js v3.20 or above
  • Ember CLI v3.20 or above
  • Node.js v12 or above

Installation

ember install ember-marker-io

Usage

To use marker.io, you will first need to load the widget with a destination ID. You can do this on app boot by adding a call to loadWidget to the beforeModel hook of your application route.

import Route from '@ember/routing/route';
import { inject as service } from '@ember/service';

export default class ApplicationRoute extends Route {
    ...
    @service marker;

    async beforeModel() {
        await this.marker.loadWidget(<DESTINATION ID>);
    }
    ...
}

The marker service can then be used to further configure and use the marker.io sdk through the following methods:

show()

hide()

isVisible()

capture()

cancelCapture()

isExtensionInstalled()

setReporter()

unloadWidget()

setCustomData

These mirror the methods of the marker.io sdk API

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.

Keywords

ember-addon

FAQs

Package last updated on 24 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.