All Projects → framework7io → Framework7 Plugin 3d Panels

framework7io / Framework7 Plugin 3d Panels

Licence: mit
Framework7 plugin to add 3d effect for side panels

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Framework7 Plugin 3d Panels

Framework7 Template Vue Simple
Deprecated! Simple Framework7 Vue starter app template in a single HTML file
Stars: ✭ 81 (+44.64%)
Mutual labels:  framework7, mobile, cordova
Framework7 Cli
Framework7 command line utility
Stars: ✭ 76 (+35.71%)
Mutual labels:  framework7, mobile, cordova
Framework7 Vue
Deprecated! Build full featured iOS & Android apps using Framework7 & Vue
Stars: ✭ 682 (+1117.86%)
Mutual labels:  framework7, mobile
Hiapp
A simple and interesting hybrid app. React Native version: http://t.cn/R5LqqLz Demo:
Stars: ✭ 791 (+1312.5%)
Mutual labels:  framework7, cordova
Cordova Plugin Camera
Apache Cordova Plugin camera
Stars: ✭ 879 (+1469.64%)
Mutual labels:  mobile, cordova
Cordova Plugin Wkwebview Engine
[DEPRECATED] Apache Cordova wkwebview engine plugin
Stars: ✭ 607 (+983.93%)
Mutual labels:  mobile, cordova
Slinky
A light-weight, responsive, mobile-like navigation menu plugin
Stars: ✭ 649 (+1058.93%)
Mutual labels:  plugin, mobile
Metrica Plugin Xamarin
Xamarin plugin for Yandex AppMetrica SDK
Stars: ✭ 12 (-78.57%)
Mutual labels:  plugin, mobile
Cordova Plugin Statusbar
Apache Cordova
Stars: ✭ 581 (+937.5%)
Mutual labels:  mobile, cordova
Cordova Plugin Inappbrowser
Apache Cordova Plugin inappbrowser
Stars: ✭ 994 (+1675%)
Mutual labels:  mobile, cordova
Ionic4
This repo contains example code for ionic4. Get Step by Step tutorial of this repo examples using https://ampersandacademy.com/tutorials/ionic-framework-4
Stars: ✭ 37 (-33.93%)
Mutual labels:  mobile, cordova
Aurelia
Aurelia 2, a standards-based, front-end framework designed for high-performing, ambitious applications.
Stars: ✭ 995 (+1676.79%)
Mutual labels:  mobile, cordova
Cordova Plugin Splashscreen
Apache Cordova Plugin splashscreen
Stars: ✭ 602 (+975%)
Mutual labels:  mobile, cordova
Cordova Js
Apache Cordova JavaScript Bridge
Stars: ✭ 598 (+967.86%)
Mutual labels:  mobile, cordova
Cordova Plugin File
Apache Cordova Plugin file
Stars: ✭ 664 (+1085.71%)
Mutual labels:  mobile, cordova
Cordova Plugin Geolocation
Apache Cordova Plugin geolocation
Stars: ✭ 584 (+942.86%)
Mutual labels:  mobile, cordova
Cordova Cli
Apache Cordova CLI
Stars: ✭ 861 (+1437.5%)
Mutual labels:  mobile, cordova
Cordova Firefoxos
[DEPRECATED] Apache Cordova firefoxos
Stars: ✭ 41 (-26.79%)
Mutual labels:  mobile, cordova
Cordova Weinre
Mirror of Apache Weinre
Stars: ✭ 506 (+803.57%)
Mutual labels:  mobile, cordova
Cordova Plugin File Transfer
Apache Cordova Plugin file-transfer
Stars: ✭ 537 (+858.93%)
Mutual labels:  mobile, cordova

Framework7 3D Panels Plugin

Framework7 plugin to add 3d effect for side panels

Installation

Just grab plugin files from dist/ folder or using npm:

npm install framework7-plugin-3d-panels

And link them to your app's right AFTER Framework7's scripts and styles:

<link rel="stylesheet" href="path/to/framework7.min.css">
<link rel="stylesheet" href="path/to/framework7.3dpanels.css">
...
<script src="path/to/framework7.min.js"></script>
<script src="path/to/framework7.3dpanels.js"></script>

Usage

This plugin doesn't add new effect, it just converts "reveal"-effect panels to 3d panels. So make sure that you have "reveal" panel in your layout:

<div class="panel panel-left panel-reveal">...</div>

Install & Enable Plugin

After you included plugin script file, you need to install plugin:

// install plugin to Framework7
Framework7.use(Framework73dPanels);

// init app and enable plugin
var app = new Framework7({
  // enable plugin
  panels3d: {
    enabled: true,
  }
})

ES Module

This plugin comes with ready to use ES module:

import Framework7 from 'framework7';
import Framework73dPanels from 'framework7-plugin-3d-panels';

// install plugin
Framework7.use(Framework73dPanels);

// init app and enable plugin
var app = new Framework7({
  // enable plugin
  panels3d: {
    enabled: true,
  }
})

API

When plugin installed to Framework7 with Framework7.use(Framework73dPanels), it will extend app instance with two additional methods:

  • app.panels3d.enable() - enables 3d panels
  • app.panels3d.disable() - disables 3d panels

Demo

Plugin comes with demo example to see how it works and looks. To make demo works you need to run in terminal:

$ npm run prod

Contribute

All changes should be done only in src/ folder. This project uses gulp and rollup to build a distributable version.

First you need to install all dependencies:

$ npm install

Then to build plugin's files for testing run:

$ npm run build:dev

If you need a local server while you developing you can run:

$ gulp server

or

$ npm run dev

And working demo will be available on http://localhost:3000/demo/

Live Preview

https://framework7io.github.io/framework7-plugin-3d-panels/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].