Git Product home page Git Product logo

ionic2-scrolltabs's Introduction

ionic2-scrolltabs

Donate

Setup and Running

Using

  • Copy scrolltabs folder to components folder
  • in app.module.ts
import { ScrollTabsComponent } from '../components/scrolltabs';

@NgModule({
  declarations: [
    ...
    ScrollTabsComponent,
    ...
  ],
})
  • in [page].module.ts (lazy-loading)
import { NgModule } from '@angular/core';
import { HelloIonicPage } from './hello-ionic';
import { IonicPageModule } from 'ionic-angular';
import { ScrollTabsComponentModule } from '../../components/scrolltabs';

@NgModule({
	declarations: [
		HelloIonicPage
	],
	imports: [
        ScrollTabsComponentModule,
		IonicPageModule.forChild(HelloIonicPage)
	],
	entryComponents: [
		HelloIonicPage
	]
})
export class HelloIonicPageModule {}
  • Push component to anywhere you want to display it
<scroll-tabs #scrollTab [tabs]="tabs" (onSelectedTab)="tabChange($event)"></scroll-tabs>

Environment

Cordova CLI: 6.5.0 
Ionic Framework Version: 2.3.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.1.4
ios-deploy version: 1.9.0 
ios-sim version: 5.0.8 
OS: macOS Sierra
Node Version: v7.6.0
Xcode version: Xcode 8.2.1 Build version 8C1002

Update

  • 15th May 2017: Update new Ion-Scroll
  • 18th Apr 2017: Update lazy loading
  • 05th Apr 2017: fix Scroll element issue (thanks @Abhith for your contribution)
  • 24th Mar 2017: publish

ionic2-scrolltabs's People

Contributors

quanganh206 avatar abhith avatar

Watchers

James Cloos avatar Olanrewaju Okewande avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.