Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

aurelia-blur-attribute

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aurelia-blur-attribute - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

.circleci/config.yml

0

dist/amd/blur.js

@@ -0,0 +0,0 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -0,0 +0,0 @@ define(["require", "exports", "aurelia-pal", "./blur"], function (require, exports, aurelia_pal_1, blur_1) {

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

@@ -0,0 +0,0 @@ import { PLATFORM } from 'aurelia-pal';

@@ -0,0 +0,0 @@ System.register(["aurelia-pal", "aurelia-templating", "aurelia-binding"], function (exports_1, context_1) {

@@ -0,0 +0,0 @@ System.register(["aurelia-pal", "./blur"], function (exports_1, context_1) {

19

package.json
{
"name": "aurelia-blur-attribute",
"version": "0.1.0",
"version": "0.1.1",
"description": "A plugin to help manage focus inside an application.",

@@ -12,5 +12,5 @@ "keywords": [

"bugs": {
"url": "https://github.com/bigopon/aurelia-blur-plugin/issues"
"url": "https://github.com/bigopon/aurelia-blur-attribute/issues"
},
"license": "CC0-1.0",
"license": "MIT",
"author": "Binh Vo <bigopon.777@gmail.com> (http://bigopon.surge.sh/)",

@@ -32,7 +32,8 @@ "main": "dist/commonjs/index.js",

"build": "concurrently \"npm run build:amd\" \"npm run build:commonjs\" \"npm run build:es2015\" \"npm run build:native-modules\" \"npm run build:system\"",
"prepare-release": "cross-env npm run build && semantic-release pre && npm publish && semantic-release post"
"prepare-release": "cross-env npm run build && semantic-release pre && npm publish && semantic-release post",
"semantic-release": "semantic-release"
},
"repository": {
"type": "git",
"url": "http://github.com/bigopon/aurelia-blur-plugin"
"url": "https://github.com/bigopon/aurelia-blur-attribute"
},

@@ -63,2 +64,3 @@ "dependencies": {

"concurrently": "^3.5.0",
"condition-circle": "^2.0.1",
"cross-env": "^5.1.1",

@@ -71,3 +73,3 @@ "gulp": "^3.9.1",

"rimraf": "^2.6.2",
"semantic-release": "^8.2.0",
"semantic-release": "^12.2.2",
"ts-jest": "^21.2.1",

@@ -127,3 +129,6 @@ "tslint": "^5.8.0",

}
},
"release": {
"verifyConditions": "condition-circle"
}
}
}
# aurelia-blur-plugin
[![ZenHub](https://raw.githubusercontent.com/ZenHubIO/support/master/zenhub-badge.png)](https://zenhub.io)
[![Join the chat at https://gitter.im/aurelia/discuss](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/aurelia/discuss?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![CircleCI](https://circleci.com/gh/bigopon/aurelia-blur-attribute.svg?style=svg)](https://circleci.com/gh/bigopon/aurelia-blur-attribute)
## [Introduction]
## [Introduction](aurelia-doc://section/1/version/1.0.0)
This article covers the blur plugin for Aurelia. This plugin is created for managing focus in your application. The plugin supports the use of dynamic elements matching, via either element references or CSS selectors. [Online Demo](http://aurelia-blur.bigopon.surge.sh/)
## [Installing The Plugin](aurelia-doc://section/2/version/1.0.0)
## [Installing The Plugin]

@@ -29,5 +28,18 @@ 1. In your **JSPM**-based project install the plugin via `jspm` with following command

```shell
npm install aurelia-blur-plugin --save
au import aurelia-blur-attribute
```
alternatively you can manually add these dependencies to your vendor bundle:
```json
...
"dependencies": [
{
"name": "aurelia-blur-attribute",
"path": "../node_modules/aurelia-blur-attribute/dist/amd",
"main": "aurelia-blur-attribute"
}
]
```
2. Make sure you use [manual bootstrapping](http://aurelia.io/docs#startup-and-configuration). In order to do so open your `index.html` and locate the element with the attribute aurelia-app. Change it to look like this:

@@ -50,6 +62,6 @@

touch: false, // listen for touch event interaction
mouse: false, // listen for mouse event interaction
mouse: true, // listen for mouse event interaction
focus: false, // listen for foucs event
windowBlur: false // listen for window blur event (navigating away from window)
}
};

@@ -65,3 +77,3 @@ aurelia.use

## [Using The Plugin](aurelia-doc://section/3/version/1.0.0)
## [Using The Plugin]

@@ -68,0 +80,0 @@ There are a few scenarios you can take advantage of the Aurelia blur plugin.

@@ -0,0 +0,0 @@ {

@@ -0,0 +0,0 @@ {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc