Commit 65708306 authored by Anthony Garritano's avatar Anthony Garritano

chore: update READMEs

parent 5782c0b1
......@@ -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
......
# 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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment