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

appear-js

v1.0.2

Published

A minimal popup

Downloads

12

Readme

https://travis-ci.org/AnthonyMoulin/appear.svg?branch=master

Codacy Badge

appear-js

Introduction

A pop-up is a graphical user interface ( GUI ) display area, usually a small window, that suddenly appears ("pops up") in the foreground of the visual interface. Pop-ups can be initiated by a single or double mouse click or rollover (sometimes called a mouseover), and also possibly by voice command or can simply be timed to occur. A pop-up window must be smaller than the background window or interface; otherwise, it's a replacement interface.

What I have done is an example of a little "pop_up" solution which allows you to set different log levels with color, informing the user about the website activity.

this is my first task asked from my teacher to show my first steps in the JavaScript world.

Inspiration

This little popup uses the material design Responsive in pourcentage, pixels,em etc. Basically, it makes more liberal use of grid-based layouts, responsive animations and transitions, padding, and depth effects such as lighting and shadows.

For instance, this little popup "appear" is made through differents attributes called box-shadow, position, bottom, min-width, max-width, padding-left, text-align, background and background-color.

Unlike real paper, digital material can expand and reform intelligently. Material has physical surfaces and edges. Seams and shadows provide meaning about what you can touch. Material design can be used in API Level 21 (Android 5.0) and newer or via the v7 appcompat library, which is used on virtually all android devices manufactured after 2009. Material Design is gradually be extented throughout Google's array of web and mobile products, providing a consistent experience across all platforms and applications.

The canonical implementation of Material Design for web application user interfaces is called Polymer. It consists of the Polymer library, a shim that provides a Web Components API for browsers that do not implement the standard natively, and an elements catalog, including the paper elements collection that features visual elements of the Material Design.

Web pages should not leave out information to fit smaller devices, but rather adapt its content to fit any device.

The responsive design makes the web page looking good on all devices, using only HTML and CSS. It resizes, hides, shrinks, enlarges, or move the content to make it look good on any screen.

CSS3 transitions allows you to change property values smoothly (from one value to another) over a given duration.

As Appear does, to create a transition effect, we must have 2 things: the CSS property to add and effect to and the duration of the effect. If the duration part is not specified, the transition will have no effect, because the default value is 0.

This popup is a transposition of the PHP Psr-3 logger interface but for client side. the main goal here is to allow libraries to receive a Psr\Log\LoggerInterface object and write logs to it in a simple and universal way. Frameworks and CMSs that have custom needs may extend the interface for their own prupose. This ensures that the third-party libraries an application uses can write to the centralized application logs.

Example

Basic usage for this component.

appear->emergency("coucou");

Author

AnthonyMoulin

Licence

AnthonyMoulin Copyright (c) 2017 All rights reserved.