Giter Site home page Giter Site logo

maedu / popover Goto Github PK

View Code? Open in Web Editor NEW

This project forked from joejordanbrown/popover

0.0 0.0 0.0 3.27 MB

Angular CDK Popover, no default style, examples using @angular/material

License: MIT License

JavaScript 2.59% TypeScript 66.64% HTML 20.27% CSS 10.50%

popover's Introduction

Angular Popover

npm version Build Status Conventional Commits Join the chat at https://gitter.im/material-extended/mde FOSSA Status

Links

Popover Demo | StackBlitz Template

Project status

Angular Popover is production ready.

This was originally created as an example for a @angular/material issue feature request. Issue can be found at angular/material2#2691

If you'd like to contribute please create an issue or pull request.

Examples

Material theme picker

Material theme picker

Standard popover

image

image

Google+ style popover

image

Installation

Install npm package using:

yarn add @material-extended/mde or npm install @material-extended/mde

Install required packages @angular/cdk

yarn add @angular/cdk or npm install @angular/cdk

Initial setup

The CDK overlays depend on a small set of structural styles to work correctly. If you're using Angular Material, these styles have been included together with the theme, otherwise if you're using the CDK on its own, you'll have to include the styles yourself. You can do so by importing the prebuilt styles in your global stylesheet:

@import '~@angular/cdk/overlay-prebuilt.css';

Import module

app.module.ts

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';


import { AppComponent } from './app.component';
import { MdePopoverModule } from '@material-extended/mde';

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

Todo

  1. A design document needs creating to finalise requirements and API specifications. Once a document is created the component can be refactored and released as beta for testing.
  2. Refactor now that @angular/cdk is released.

Available features

Feature Notes Docs
popover In-progress (popover demo) Docs

Issues

Please report bugs and issues here.

License

MIT © Joe Jordan Brown

Angular Popover by UIXD

FOSSA Status

popover's People

Contributors

joejordanbrown avatar dependabot[bot] avatar skrtheboss avatar aabi01 avatar harryy2510 avatar lehoffma avatar rdgfuentes avatar gitter-badger avatar dependabot-preview[bot] avatar fossabot avatar kostia-lev avatar wei-shin-ma 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.