Skip to content

Commit

Permalink
Bug/46 (#49)
Browse files Browse the repository at this point in the history
* bug/46: Disable instance instead destroying it

* bug/46: Add husky/pre-push

* bug/46: Add husky/pre-push

* bug/46: Fix husky/pre-push

* bug/46: Fix github actions

* bug/46: Small refactoring
  • Loading branch information
farengeyt451 authored Jul 4, 2023
1 parent 04120cc commit 26fe21b
Show file tree
Hide file tree
Showing 10 changed files with 3,221 additions and 120 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: 'lib-workflow'

on:
push:
branches: ['*']
branches: ['**']

workflow_dispatch:

Expand Down
4 changes: 4 additions & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run unit-tests:lib-coverage
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Ignore artifacts:
build
coverage
dist
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

## Recommended versions to use

- **Angular 14**: 6.x.x
- **Angular 14, 15, 16**: 6.x.x
- **Angular 13**: 5.x.x
- **Angular 12**: 4.x.x
- **Angular 9, 10, 11** 3.x.x
Expand Down Expand Up @@ -159,7 +159,7 @@ export class DemoComponent implements OnInit {
### Initializing on condition
In some cases tooltip should be initialized conditionally. For example in case optional `@Input` property passed or not. So, if tooltip should not initialize - you can explicitly pass `null` through `ngxTippy` directive.
In some cases tooltip should be initialized conditionally. For example in case optional `@Input` property passed or not. So, if tooltip should be disabled on some conditions - you can explicitly pass `null` or `undefined` through `ngxTippy` directive.
```ts
...
Expand Down
Loading

0 comments on commit 26fe21b

Please sign in to comment.