All Projects → leifermendez → ngx-copilot

leifermendez / ngx-copilot

Licence: Apache-2.0 License
🏆 The most expected has arrived, a package for Angular that facilitates us to improve the experience of our users when guiding them in our interface

Programming Languages

typescript
32286 projects
CSS
56736 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to ngx-copilot

Sketchize
Sketchize is built for UI/UX Designers to help them design lovely apps for mobile, tablet, and desktop devices.
Stars: ✭ 162 (+165.57%)
Mutual labels:  ui-design, ux-design
sketch-crowdin
Connect your Sketch and Crowdin projects together
Stars: ✭ 35 (-42.62%)
Mutual labels:  ui-design, ux-design
Instagram Clone
A clone of the Instagram app 📱 🥳 . made with React-native and Typescript ❤️.
Stars: ✭ 163 (+167.21%)
Mutual labels:  ui-design, ux-design
Patternfly Design
Use this repo to file all new feature or design change requests for the PatternFly project
Stars: ✭ 82 (+34.43%)
Mutual labels:  ui-design, ux-design
CoolAnimation4Beginner
Making Beauty Android UI/UX Design with cool Animation
Stars: ✭ 21 (-65.57%)
Mutual labels:  ui-design, ux-design
Ui Ux Designer Roadmap
Roadmap on becoming a UI/UX designer in 2017
Stars: ✭ 1,357 (+2124.59%)
Mutual labels:  ui-design, ux-design
Bulma.io-axure
AxureRP Library with Bulma.io components
Stars: ✭ 90 (+47.54%)
Mutual labels:  ui-design, ux-design
Pwa Qr Code Scanner
Lightweight progressive web app for scanning QR codes offline
Stars: ✭ 188 (+208.2%)
Mutual labels:  pwa, pwa-apps
PickleDesign
Pickle Design - Web Portfolio
Stars: ✭ 11 (-81.97%)
Mutual labels:  ui-design, ux-design
meshery.io
Site for Meshery, the cloud native management plane
Stars: ✭ 135 (+121.31%)
Mutual labels:  ui-design, ux-design
Movies
Buy movie tickets in advance, find movie times, and more at "Movies".
Stars: ✭ 33 (-45.9%)
Mutual labels:  ui-design, ux-design
Kurakoo
Kurakoo is an online community of people providing answers to questions just like Quora site. Kurakoo is especially for school-college students, people from around the different colleges visit Kurakoo to ask questions from a community of people who answer them.
Stars: ✭ 81 (+32.79%)
Mutual labels:  ui-design, ux-design
Printable Mockups
Create printable UI mockups & wireframes templates
Stars: ✭ 479 (+685.25%)
Mutual labels:  ui-design, ux-design
Awesome Web Design
🎨 A curated list of awesome resources for digital designers.
Stars: ✭ 1,905 (+3022.95%)
Mutual labels:  ui-design, ux-design
React Pwa
An upgradable boilerplate for Progressive web applications (PWA) with server side rendering, build with SEO in mind and achieving max page speed and optimized user experience.
Stars: ✭ 2,433 (+3888.52%)
Mutual labels:  pwa, pwa-apps
Loginpageconcept
Login Page and dashboard concept with awesome transition animation
Stars: ✭ 171 (+180.33%)
Mutual labels:  ui-design, ux-design
Angular Pwa Course
Angular PWA Course - Build Progressive Web Applications
Stars: ✭ 142 (+132.79%)
Mutual labels:  pwa, pwa-apps
Web Push Php Example
An example for sending Web Push notifications, using web-push-php
Stars: ✭ 173 (+183.61%)
Mutual labels:  pwa, pwa-apps
ng-wizard
Angular Wizard - Stepper
Stars: ✭ 65 (+6.56%)
Mutual labels:  wizard, stepper
Material-Design-Android
My stash for all things material, animations, typography, iconography, transitions, Animated VD, Color Palette API, UI design, and more.
Stars: ✭ 38 (-37.7%)
Mutual labels:  ui-design, ux-design

Angular Copilot (ngx-copilot)

The most expected has arrived, a package for Angular that facilitates us to improve the experience of our users when guiding them in our interface

Buy Me A Coffee

Live demo

Stackblitz

Examples
Preview 1
Preview 2

Install

npm i ngx-copilot@latest --save

npm install animate.css --save

Import

angular.json

"styles": [
  "./node_modules/animate.css/animate.min.css", 
  "./node_modules/ngx-copilot/src/lib/ngx-copilot.css",

],

app.module.ts

import {BrowserModule} from '@angular/platform-browser';  
import {NgModule} from '@angular/core';  
import {AppComponent} from './app.component';  
/** IMPORT **/
import { NgxCopilotModule } from  'ngx-copilot'; 👈
  
@NgModule({  
  declarations: [  
    AppComponent  
  ],  
  imports: [  
    BrowserModule,  
	NgxCopilotModule 👈
  ],  
  providers: [],  
  bootstrap: [AppComponent]  
})  
export class AppModule {  
}

app.component.html

<ngx-wrapper-copilot></ngx-wrapper-copilot>

Use

Use in your component

import  {Component,  OnInit}  from  '@angular/core'; 
import  {NgxCopilotService}  from  'ngx-copilot';

@Component({  
  selector: 'app-root',  
  templateUrl: './app.component.html',  
  styleUrls: ['./app.component.css']  
})  
export class AppComponent implements  OnInit {  
	constructor(private  copilot:  NgxCopilotService){}
	
	ngOnInit() {
		this.copilot.checkInit();
	}
	
	/*Re initialize in specify step*/
	initPosition  = (stepNumber:any) =>  this.copilot.checkInit(stepNumber);
	
	/*Next Step*/
	nextStep = (stepNumber:any) =>  this.copilot.next(stepNumber);
	
	/*Finish*/
	done= () =>  this.copilot.removeWrapper();
}

Template

<div>  

	<!--********** TEMPLATE FOR STEP 1  **********-->
	<ng-template  #step1>
		<div  class="copilot-custom">
		<h3>Step 1</h3>
		<p>Hello !</p>
			<div  class="footer-btn">
				<button  (click)="nextStep(2)"  type="button">Next Step 2!</button>
				<button  (click)="done()"  type="button">Done!</button>
			</div>
		</div>
	</ng-template>

	<!--********** TEMPLATE FOR STEP 2  **********-->
	<ng-template  #step2>
		<div  class="copilot-custom">
		<h3>Step 2</h3>
		<p>Bye</p>
			<div  class="footer-btn">
				<button  (click)="nextStep(1)"  type="button">Back Step 1!</button>
				<button  (click)="done()"  type="button">Done!</button>
			</div>
		</div>
	</ng-template>

	<!--********** BODY  **********-->	
	<div copilot
	[copilot-template]="step1" [copilot-step]="1">
	 <button >Focus 1</button>
	</div>

	<div copilot
	[copilot-template]="step2" [copilot-step]="2">
	 <button >Focus 2</button>
	</div>

</div>

Customize

When the copilot is active add a class in your body:

ngx-copilot-active: Is actived

ngx-copilot-active-step-(NUMBER STEP): Is actived with number step

If you want change of overlay color insert in your styles.css:

:root{
	--zoneColor:rgba(114, 113, 160, 0.5) !important
}
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].