bc-phone-number

WebJar for bc-phone-number

License

License

MIT
Categories

Categories

Github Development Tools Version Controls
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

github-com-blockchain-bc-phone-number
Last Version

Last Version

5.1.1
Release Date

Release Date

Type

Type

jar
Description

Description

bc-phone-number
WebJar for bc-phone-number
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/blockchain/bc-phone-number

Download github-com-blockchain-bc-phone-number

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bower/github-com-blockchain-bc-phone-number/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>github-com-blockchain-bc-phone-number</artifactId>
    <version>5.1.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/github-com-blockchain-bc-phone-number/
implementation 'org.webjars.bower:github-com-blockchain-bc-phone-number:5.1.1'
// https://jarcasting.com/artifacts/org.webjars.bower/github-com-blockchain-bc-phone-number/
implementation ("org.webjars.bower:github-com-blockchain-bc-phone-number:5.1.1")
'org.webjars.bower:github-com-blockchain-bc-phone-number:jar:5.1.1'
<dependency org="org.webjars.bower" name="github-com-blockchain-bc-phone-number" rev="5.1.1">
  <artifact name="github-com-blockchain-bc-phone-number" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='github-com-blockchain-bc-phone-number', version='5.1.1')
)
libraryDependencies += "org.webjars.bower" % "github-com-blockchain-bc-phone-number" % "5.1.1"
[org.webjars.bower/github-com-blockchain-bc-phone-number "5.1.1"]

Dependencies

compile (5)

Group / Artifact Type Version
org.webjars.bower : bc-css-flags jar [3.0.0,3.1)
org.webjars.bower : bootstrap jar [3.3.5,3.4)
org.webjars.bower : angular-bootstrap jar [0.14.0,1.4)
org.webjars.bower : angular jar [1.4.7,1.5)
org.webjars.bower : bc-countries jar [2.0.0,2.1)

Project Modules

There are no modules declared in this project.

bc-phone-number Build Status

Installation

Bower

bower install --save bc-phone-number
angular.module('myApp', ['bcPhoneNumber'])

NPM

npm install --save bc-phone-number
angular.module('myApp', [require('bc-phone-number')])

Other (not recommended)

Just download the dist folder.

Usage

<bc-phone-number ng-model='theNumber' default-country='us' preferred-countries='us gb ca' is-valid='isValid'></bc-phone-number>
angular.module('myModule', ['bcPhoneNumber', function(bcPhoneNumber) {

  scope.formattedNumber = bcPhoneNumber.format('966501234567');
  scope.isValid = bcPhoneNumber.isValid(scope.formattedNumber);
}]);

Note thatng-model and is-valid are scope variables.

Release

Build a new version:

gulp build

Update version in bower.json and package.json and commit:

git commit -a -m "Release 5.0.8"

Tag, sign and push:

git tag -s v5.0.8 -m "v5.0.8"
git push --tags
org.webjars.bower

Blockchain.com / Blockchain.info

Versions

Version
5.1.1