npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@gamaroff/ionic-wizard-bubbles

v2.0.5

Published

A wizard bubble plugin for Ionic applications

Downloads

12

Readme

@gamaroff/ionic-wizard-bubbles

A wizard bubble plugin for Ionic applications that helps guide users through your app's features.

Features

  • 🎯 Highlight specific elements on the page
  • 💬 Show informative bubbles with custom text
  • 🎨 Fully customizable themes
  • 📱 Cross-platform support (Web, iOS*, Android WebView)
  • 🔄 Step-by-step navigation
  • 🎉 Optional icons for each step
  • 📱 Smart positioning for mobile screens
  • 🔍 Debug mode for troubleshooting

*Note: iOS native implementation is currently a stub. Web implementation works in iOS WebView.

Installation

npm install @gamaroff/ionic-wizard-bubbles

Platform Setup

Web

No additional setup required. The plugin works out of the box.

Android (WebView)

The plugin works in Android's WebView environment. For optimal performance:

  1. Add the viewport meta tag to your index.html:
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
  1. Use ngAfterViewInit for initialization in your Angular component:
import { Component, AfterViewInit } from '@angular/core';
import { WizardBubble } from '@gamaroff/ionic-wizard-bubbles';

@Component({
  selector: 'app-home',
  template: `
    <ion-content>
      <div id="feature1">Feature 1</div>
      <div id="feature2">Feature 2</div>
    </ion-content>
  `
})
export class HomePage implements AfterViewInit {
  ngAfterViewInit() {
    // Wait for the view to be fully rendered
    setTimeout(() => {
      WizardBubble.show({
        steps: [
          {
            targetId: 'feature1',
            text: 'This is an amazing feature!',
            icon: '🚀'
          },
          {
            targetId: 'feature2',
            text: 'And here is another cool thing!'
          }
        ],
        buttonText: {
          next: 'Continue',
          finish: 'Got it!'
        },
        theme: {
          backgroundColor: '#ffffff',
          textColor: '#333333',
          buttonColor: '#007bff',
          buttonTextColor: '#ffffff',
          highlightColor: '#007bff',
          borderRadius: '12px'
        }
      });
    }, 1000);
  }
}

iOS (WebView)

Same setup as Android - the web implementation works in iOS WebView.

Debugging in Android WebView

To view debug logs and troubleshoot issues:

  1. Connect your Android device to your computer
  2. Open Chrome on your computer
  3. Navigate to chrome://inspect/#devices
  4. Find your app in the list and click "inspect"
  5. Check the console for detailed logs about element positioning and visibility

API Reference

WizardBubbleOptions Interface

interface WizardBubbleOptions {
  steps: WizardBubbleStep[];
  buttonText?: {
    next?: string;
    finish?: string;
  };
  theme?: {
    backgroundColor?: string;
    textColor?: string;
    buttonColor?: string;
    buttonTextColor?: string;
    highlightColor?: string;
    borderRadius?: string;
  };
}

interface WizardBubbleStep {
  targetId: string;
  text: string;
  icon?: string;  // Emoji or text icon
}

Methods

show(options: WizardBubbleOptions): Promise

Shows the wizard bubble with the specified options. Features include:

  • Smart positioning that adjusts based on screen space
  • Automatic repositioning for scrolled content
  • Touch-optimized for mobile devices
  • High z-index to ensure visibility in WebViews

next(): Promise<{ isFinished: boolean }>

Advances to the next step. Returns an object with isFinished indicating whether the wizard has completed.

hide(): Promise

Manually hides the wizard bubble.

Platform Support

| Feature | Web | iOS WebView | Android WebView | iOS Native | Android Native | |---------|-----|-------------|----------------|------------|----------------| | Show Bubble | ✅ | ✅ | ✅ | ⚠️ | ⚠️ | | Hide Bubble | ✅ | ✅ | ✅ | ⚠️ | ⚠️ | | Navigation | ✅ | ✅ | ✅ | ⚠️ | ⚠️ | | Theming | ✅ | ✅ | ✅ | ⚠️ | ⚠️ | | Element Highlighting | ✅ | ✅ | ✅ | ⚠️ | ⚠️ | | Smart Positioning | ✅ | ✅ | ✅ | ⚠️ | ⚠️ |

✅ = Fully supported ⚠️ = Stub implementation (no visual elements)

Troubleshooting

Bubble Not Visible

  1. Check element IDs match exactly
  2. Ensure the view is fully rendered (use setTimeout)
  3. Verify z-index conflicts with other elements
  4. Check Chrome DevTools for error messages
  5. Ensure the target element is in the viewport

Positioning Issues

  1. Verify viewport meta tag is present
  2. Check if target element is properly positioned
  3. Ensure no CSS transforms affecting positioning
  4. Check Chrome DevTools console for positioning logs

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT