1.0.18 • Published 4 years ago

@norjs/ui v1.0.18

Weekly downloads
6
License
MIT
Repository
github
Last release
4 years ago

@norjs/ui

Common NorJS frontend components.

WebStorm and Typing in JSDoc

@FIXME: This should be an article at norjs.com

Enable ES6 in WebStorm

Change to use EcmaScript 6 at Webstorm -> Preferences -> Languages & Frameworks -> JavaScript.

Install 3rd Party typing information

You may 3rd party libraries from Webstorm -> Preferences -> Languages & Frameworks -> JavaScript -> Libraries.

You should have Node.js Core and HTML enabled.

We use type names from DefinitelyTyped for AngularJS, UI Router, etc. You should clone this repository on your local system.

You can install these .d-files to your WebStorm so it can also understand them.

We recommend to install only specific versions:

  • types/angular/index.d.ts
  • types/angular-ui-router/index.d.ts
  • types/angular-translate/index.d.ts
  • types/angular-sanitize/index.d.ts
  • types/angular/jqlite.d.ts
  • types/lodash/index.d.ts
  • types/moment-timezone/index.d.ts
  • types/uuidv4/index.d.ts

You may install these libraries from Webstorm -> Preferences -> Languages & Frameworks -> JavaScript -> Libraries.

Typing Quick List

Injectable NameType Name
$injectorangular.auto.IInjectorService
$elementJQLite
$qangular.IQService
$attrsangular.IAttributes
$scopeangular.IScope
$compileangular.ICompileService
$timeoutangular.ITimeoutService
$documentangular.IDocumentService
$rootScopeangular.IRootScopeService
$intervalangular.IIntervalService
$httpangular.IHttpService
$stateangular.ui.IState
AngularJS's component optionsangular.IComponentOptions
form's controllerangular.IFormController
ng-model's controllerangular.INgModelController
1.0.18

4 years ago

1.0.17

5 years ago

1.0.16

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago