Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
utils
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
EIT-SWE
ux
utils
Commits
65708306
Commit
65708306
authored
Mar 04, 2020
by
Anthony Garritano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update READMEs
parent
5782c0b1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
4 deletions
+37
-4
README.md
README.md
+8
-0
libs/utils/angular/README.md
libs/utils/angular/README.md
+29
-4
No files found.
README.md
View file @
65708306
...
...
@@ -2,6 +2,14 @@
Monorepo for building-block type utilities that don't have dependencies on any other
`@psu`
libraries.
-
[
Angular
](
https://git.psu.edu/ais-swe/ux/utils/tree/develop/libs/utils/angular
)
-
Before Unload directive
-
Caps Lock directive
-
Coalescing Component Factory Resolver
-
ngLet directive
-
Safe pipe
-
Value By Key pipe
-
Yes/No pipe
-
[
Browser
](
https://git.psu.edu/ais-swe/ux/utils/tree/develop/libs/utils/browser
)
-
Cache Interceptor
-
Autofocus Directive
...
...
libs/utils/angular/README.md
View file @
65708306
#
utils-angular
#
Angular Utils
This library was generated with
[
Nx
](
https://nx.dev
)
.
## before-unload directive
##
Running unit tests
##
caps-lock directive
Run
`nx test utils-angular`
to execute the unit tests.
## coalescing-component-factory-resolver
## ng-let directive
## safe pipe
## value-by-key pipe
Pipe that returns an object's value by key
### Usage
```
js
let
obj
=
{
a
:
{
name
:
'
one
'
},
b
:
{
name
:
'
two
'
},
c
:
{
name
:
'
three
'
}
};
```
```
html
<!-- Will output "one" -->
<span>
{{ (obj | valueByKey : 'a')?.name }}
</span>
```
## yes-no pipe
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment