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 🙏

© 2024 – Pkg Stats / Ryan Hefner

ack-angular-mobiscroll

v1.0.3

Published

Angular wrapper for Mobiscroll. Does NOT include a copy of Mobiscroll

Downloads

16

Readme

ack-angular-mobiscroll

Angular wrapper for Mobiscroll. Mimics the paid version of Mobiscroll's Angular wrapper. Does NOT include mobiscroll framework.

Demos and Examples

Table of Contents

To Mobiscroll

I've read the EULA, very carefully, that I have agreed to when I bought my paid copy of Mobiscroll. This github package does NOT include the mobiscroll source code.

My demo and example page, is NOT a github distribution channel, but does contain my paid copy of mobiscroll as it is an educational and fundraising page for myself.

Installation

npm install ack-angular-mobiscroll --save-dev

Reminder, you will need to have your own copy of the mobiscroll framework.

Download mobiscroll, as seen in image below mobiscroll download

Importing

How to get using ack-angular-mobiscroll

import { Component, NgModule } from '@angular/core'
import { BrowserModule } from '@angular/platform-browser'
import { MbscModule, MbscProvider } from "ack-angular-mobiscroll"

// Supply your piad copy of mobiscroll. Must do this OR have window.mobiscroll available
import * as mobiscroll from "./my-mobiscroll-paid-copy"
MbscProvider.setMobiscroll(mobiscroll)

@Component({
  selector: 'my-app',
  template: '<input type="datetime" mbsc-calendar />'
}) export class AppComponent {}

@NgModule({
  imports:[
    BrowserModule,
    MbscModule
  ],
  declarations: [
    AppComponent
  ],
  bootstrap:[ AppComponent ]
}) export class AppModule { }

CSS Files are a seperate topic.

Please ensure, at runtime, you have linked to mobiscroll css files

Supported Modules

Currently, only the Calendar module has been replicated from mobiscroll.

Calendar

Create a calendar with default functionality

Mobiscroll's Angular Calendar

Here is an example for the calendar directive with ngModel

@Component({
    selector: 'my-example',
    template: `<input [(ngModel)]="birthday" mbsc-calendar />`
})
export class MyExampleComponent {
    birthday: Date = new Date();
}

Example for the calendar directive without ngModel

@Component({
    selector: 'my-example',
    template: `<input [(mbsc-calendar)]="birthday" />`
})
export class MyExampleComponent {
    birthday: Date = new Date();
}

Example for the calendar directive with additional settings

@Component({
  selector: 'my-example',
  template: `<input [(ngModel)]="birthday" mbsc-calendar [mbsc-options]="myBirthdaySettings" />`
})
export class MyExampleComponent {
  birthday: Date = new Date();
  myBirthdaySettings: any = {
    theme: 'ios',
    display: 'bottom'
  };
}

History

5/30/17 - I, Acker Apple, have only ever used the Calendar module of Mobiscroll. I disagree with Mobiscroll's approach to many things, especially it's paid platform. The mobiscroll paid platform, which I've paid into, requires you to download file updates via a login (no npm update commands). Mobiscroll does have an npmjs.org package and github page but they are limited incomplete versions of the paid Mobiscroll code.

Resources