@rxap/directives 19.0.1-dev.4 → 19.0.1-dev.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/README.md +24 -26
- package/compodoc/changelog.html +2 -0
- package/compodoc/dependencies.html +4 -4
- package/compodoc/index.html +26 -20
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/properties.html +3 -2
- package/docs/documentation.json +601 -1587
- package/docs/html/assets/hierarchy.js +1 -0
- package/docs/{assets → html/assets}/highlight.css +13 -6
- package/docs/html/assets/icons.js +18 -0
- package/docs/html/assets/icons.svg +1 -0
- package/docs/{assets → html/assets}/main.js +5 -4
- package/docs/html/assets/navigation.js +1 -0
- package/docs/html/assets/search.js +1 -0
- package/docs/html/assets/style.css +1611 -0
- package/docs/html/classes/AvatarBackgroundImageDirective.html +20 -0
- package/docs/html/classes/BackgroundImageDirective.html +19 -0
- package/docs/html/classes/ConfirmClick.html +6 -0
- package/docs/html/classes/ContenteditableDirective.html +10 -0
- package/docs/html/classes/FullWidthDirective.html +3 -0
- package/docs/html/classes/IfTruthyDirective.html +17 -0
- package/docs/html/classes/IsDevModeDirective.html +11 -0
- package/docs/html/classes/MethodDirective.html +25 -0
- package/docs/html/classes/MethodTemplateDirective.html +37 -0
- package/docs/html/classes/MovableDividerDirective.html +16 -0
- package/docs/html/classes/PreventDefaultDirective.html +3 -0
- package/docs/html/classes/ShareButtonDirective.html +7 -0
- package/docs/html/classes/ShareService.html +3 -0
- package/docs/html/classes/StopImmediatePropagationDirective.html +3 -0
- package/docs/html/classes/StopPropagationDirective.html +3 -0
- package/docs/html/enums/BackgroundPositionOptions.html +3 -0
- package/docs/html/enums/BackgroundRepeatOptions.html +2 -0
- package/docs/html/enums/BackgroundSizeOptions.html +4 -0
- package/docs/html/enums/GlobalStyleOptions.html +3 -0
- package/docs/html/hierarchy.html +1 -0
- package/docs/html/index.html +33 -0
- package/docs/html/interfaces/ContenteditableEvent.html +3 -0
- package/docs/html/interfaces/IfTruthyDirectiveTemplateContext.html +2 -0
- package/docs/html/interfaces/MethodTemplateDirectiveContext.html +2 -0
- package/docs/html/interfaces/MethodTemplateDirectiveErrorContext.html +3 -0
- package/docs/html/modules.html +1 -0
- package/docs/html/types/BackgroundPosition.html +1 -0
- package/docs/html/types/BackgroundRepeat.html +1 -0
- package/docs/html/types/BackgroundSize.html +1 -0
- package/docs/markdown/README.md +37 -0
- package/docs/markdown/classes/AvatarBackgroundImageDirective.md +178 -0
- package/docs/markdown/classes/BackgroundImageDirective.md +135 -0
- package/docs/markdown/classes/ConfirmClick.md +75 -0
- package/docs/markdown/classes/ContenteditableDirective.md +111 -0
- package/docs/markdown/classes/FullWidthDirective.md +27 -0
- package/docs/markdown/classes/IfTruthyDirective.md +169 -0
- package/docs/markdown/classes/IsDevModeDirective.md +77 -0
- package/docs/markdown/classes/MethodDirective.md +263 -0
- package/docs/markdown/classes/MethodTemplateDirective.md +385 -0
- package/docs/markdown/classes/MovableDividerDirective.md +117 -0
- package/docs/markdown/classes/PreventDefaultDirective.md +37 -0
- package/docs/markdown/classes/ShareButtonDirective.md +71 -0
- package/docs/markdown/classes/ShareService.md +51 -0
- package/docs/markdown/classes/StopImmediatePropagationDirective.md +37 -0
- package/docs/markdown/classes/StopPropagationDirective.md +37 -0
- package/docs/markdown/enumerations/BackgroundPositionOptions.md +25 -0
- package/docs/markdown/enumerations/BackgroundRepeatOptions.md +17 -0
- package/docs/markdown/enumerations/BackgroundSizeOptions.md +33 -0
- package/docs/markdown/enumerations/GlobalStyleOptions.md +25 -0
- package/docs/markdown/globals.md +43 -0
- package/docs/markdown/interfaces/ContenteditableEvent.md +25 -0
- package/docs/markdown/interfaces/IfTruthyDirectiveTemplateContext.md +21 -0
- package/docs/markdown/interfaces/MethodTemplateDirectiveContext.md +21 -0
- package/docs/markdown/interfaces/MethodTemplateDirectiveErrorContext.md +25 -0
- package/docs/markdown/type-aliases/BackgroundPosition.md +11 -0
- package/docs/markdown/type-aliases/BackgroundRepeat.md +11 -0
- package/docs/markdown/type-aliases/BackgroundSize.md +11 -0
- package/docs/wiki/Class.AvatarBackgroundImageDirective.md +174 -0
- package/docs/wiki/Class.BackgroundImageDirective.md +131 -0
- package/docs/wiki/Class.ConfirmClick.md +71 -0
- package/docs/wiki/Class.ContenteditableDirective.md +107 -0
- package/docs/wiki/Class.FullWidthDirective.md +23 -0
- package/docs/wiki/Class.IfTruthyDirective.md +165 -0
- package/docs/wiki/Class.IsDevModeDirective.md +73 -0
- package/docs/wiki/Class.MethodDirective.md +259 -0
- package/docs/wiki/Class.MethodTemplateDirective.md +381 -0
- package/docs/wiki/Class.MovableDividerDirective.md +113 -0
- package/docs/wiki/Class.PreventDefaultDirective.md +33 -0
- package/docs/wiki/Class.ShareButtonDirective.md +67 -0
- package/docs/wiki/Class.ShareService.md +47 -0
- package/docs/wiki/Class.StopImmediatePropagationDirective.md +33 -0
- package/docs/wiki/Class.StopPropagationDirective.md +33 -0
- package/docs/wiki/Enumeration.BackgroundPositionOptions.md +21 -0
- package/docs/wiki/Enumeration.BackgroundRepeatOptions.md +13 -0
- package/docs/wiki/Enumeration.BackgroundSizeOptions.md +29 -0
- package/docs/wiki/Enumeration.GlobalStyleOptions.md +21 -0
- package/docs/wiki/Home.md +33 -0
- package/docs/wiki/Interface.ContenteditableEvent.md +21 -0
- package/docs/wiki/Interface.IfTruthyDirectiveTemplateContext.md +17 -0
- package/docs/wiki/Interface.MethodTemplateDirectiveContext.md +17 -0
- package/docs/wiki/Interface.MethodTemplateDirectiveErrorContext.md +21 -0
- package/docs/wiki/TypeAlias.BackgroundPosition.md +7 -0
- package/docs/wiki/TypeAlias.BackgroundRepeat.md +7 -0
- package/docs/wiki/TypeAlias.BackgroundSize.md +7 -0
- package/docs/wiki/_Sidebar.md +39 -0
- package/docs/wiki/globals.md +39 -0
- package/package.json +12 -11
- package/docs/assets/icons.js +0 -15
- package/docs/assets/icons.svg +0 -1
- package/docs/assets/navigation.js +0 -1
- package/docs/assets/search.js +0 -1
- package/docs/assets/style.css +0 -1412
- package/docs/classes/AvatarBackgroundImageDirective.html +0 -11
- package/docs/classes/BackgroundImageDirective.html +0 -16
- package/docs/classes/ConfirmClick.html +0 -7
- package/docs/classes/ContenteditableDirective.html +0 -11
- package/docs/classes/FullWidthDirective.html +0 -3
- package/docs/classes/IfTruthyDirective.html +0 -16
- package/docs/classes/IsDevModeDirective.html +0 -7
- package/docs/classes/MethodDirective.html +0 -21
- package/docs/classes/MethodTemplateDirective.html +0 -30
- package/docs/classes/MovableDividerDirective.html +0 -17
- package/docs/classes/PreventDefaultDirective.html +0 -3
- package/docs/classes/ShareButtonDirective.html +0 -8
- package/docs/classes/ShareService.html +0 -4
- package/docs/classes/StopImmediatePropagationDirective.html +0 -3
- package/docs/classes/StopPropagationDirective.html +0 -3
- package/docs/enums/BackgroundPositionOptions.html +0 -3
- package/docs/enums/BackgroundRepeatOptions.html +0 -2
- package/docs/enums/BackgroundSizeOptions.html +0 -4
- package/docs/enums/GlobalStyleOptions.html +0 -3
- package/docs/hierarchy.html +0 -1
- package/docs/index.html +0 -28
- package/docs/interfaces/ContenteditableEvent.html +0 -3
- package/docs/interfaces/IfTruthyDirectiveTemplateContext.html +0 -2
- package/docs/interfaces/MethodTemplateDirectiveContext.html +0 -2
- package/docs/interfaces/MethodTemplateDirectiveErrorContext.html +0 -3
- package/docs/modules.html +0 -27
- package/docs/types/BackgroundPosition.html +0 -1
- package/docs/types/BackgroundRepeat.html +0 -1
- package/docs/types/BackgroundSize.html +0 -1
- /package/docs/{.nojekyll → html/.nojekyll} +0 -0
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
[@rxap/directives](../wiki/globals) / MovableDividerDirective
|
|
2
|
+
|
|
3
|
+
# Class: MovableDividerDirective
|
|
4
|
+
|
|
5
|
+
Defined in: [movable-divider.directive.ts:22](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/movable-divider.directive.ts#L22)
|
|
6
|
+
|
|
7
|
+
## Implements
|
|
8
|
+
|
|
9
|
+
- `OnDestroy`
|
|
10
|
+
- `OnInit`
|
|
11
|
+
|
|
12
|
+
## Constructors
|
|
13
|
+
|
|
14
|
+
### new MovableDividerDirective()
|
|
15
|
+
|
|
16
|
+
> **new MovableDividerDirective**(`renderer`): [`MovableDividerDirective`](../wiki/Class.MovableDividerDirective)
|
|
17
|
+
|
|
18
|
+
Defined in: [movable-divider.directive.ts:48](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/movable-divider.directive.ts#L48)
|
|
19
|
+
|
|
20
|
+
#### Parameters
|
|
21
|
+
|
|
22
|
+
##### renderer
|
|
23
|
+
|
|
24
|
+
`Renderer2`
|
|
25
|
+
|
|
26
|
+
#### Returns
|
|
27
|
+
|
|
28
|
+
[`MovableDividerDirective`](../wiki/Class.MovableDividerDirective)
|
|
29
|
+
|
|
30
|
+
## Properties
|
|
31
|
+
|
|
32
|
+
### containerElement
|
|
33
|
+
|
|
34
|
+
> **containerElement**: `HTMLDivElement`
|
|
35
|
+
|
|
36
|
+
Defined in: [movable-divider.directive.ts:25](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/movable-divider.directive.ts#L25)
|
|
37
|
+
|
|
38
|
+
***
|
|
39
|
+
|
|
40
|
+
### cursor
|
|
41
|
+
|
|
42
|
+
> **cursor**: `string` = `'ew-resize'`
|
|
43
|
+
|
|
44
|
+
Defined in: [movable-divider.directive.ts:33](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/movable-divider.directive.ts#L33)
|
|
45
|
+
|
|
46
|
+
***
|
|
47
|
+
|
|
48
|
+
### fixedElement
|
|
49
|
+
|
|
50
|
+
> **fixedElement**: `HTMLDivElement`
|
|
51
|
+
|
|
52
|
+
Defined in: [movable-divider.directive.ts:28](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/movable-divider.directive.ts#L28)
|
|
53
|
+
|
|
54
|
+
***
|
|
55
|
+
|
|
56
|
+
### origin
|
|
57
|
+
|
|
58
|
+
> **origin**: `"right"` \| `"left"` = `'right'`
|
|
59
|
+
|
|
60
|
+
Defined in: [movable-divider.directive.ts:31](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/movable-divider.directive.ts#L31)
|
|
61
|
+
|
|
62
|
+
## Methods
|
|
63
|
+
|
|
64
|
+
### ngOnDestroy()
|
|
65
|
+
|
|
66
|
+
> **ngOnDestroy**(): `void`
|
|
67
|
+
|
|
68
|
+
Defined in: [movable-divider.directive.ts:51](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/movable-divider.directive.ts#L51)
|
|
69
|
+
|
|
70
|
+
A callback method that performs custom clean-up, invoked immediately
|
|
71
|
+
before a directive, pipe, or service instance is destroyed.
|
|
72
|
+
|
|
73
|
+
#### Returns
|
|
74
|
+
|
|
75
|
+
`void`
|
|
76
|
+
|
|
77
|
+
#### Implementation of
|
|
78
|
+
|
|
79
|
+
`OnDestroy.ngOnDestroy`
|
|
80
|
+
|
|
81
|
+
***
|
|
82
|
+
|
|
83
|
+
### ngOnInit()
|
|
84
|
+
|
|
85
|
+
> **ngOnInit**(): `void`
|
|
86
|
+
|
|
87
|
+
Defined in: [movable-divider.directive.ts:55](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/movable-divider.directive.ts#L55)
|
|
88
|
+
|
|
89
|
+
A callback method that is invoked immediately after the
|
|
90
|
+
default change detector has checked the directive's
|
|
91
|
+
data-bound properties for the first time,
|
|
92
|
+
and before any of the view or content children have been checked.
|
|
93
|
+
It is invoked only once when the directive is instantiated.
|
|
94
|
+
|
|
95
|
+
#### Returns
|
|
96
|
+
|
|
97
|
+
`void`
|
|
98
|
+
|
|
99
|
+
#### Implementation of
|
|
100
|
+
|
|
101
|
+
`OnInit.ngOnInit`
|
|
102
|
+
|
|
103
|
+
***
|
|
104
|
+
|
|
105
|
+
### onMousedown()
|
|
106
|
+
|
|
107
|
+
> **onMousedown**(): `void`
|
|
108
|
+
|
|
109
|
+
Defined in: [movable-divider.directive.ts:90](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/movable-divider.directive.ts#L90)
|
|
110
|
+
|
|
111
|
+
#### Returns
|
|
112
|
+
|
|
113
|
+
`void`
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
[@rxap/directives](../wiki/globals) / PreventDefaultDirective
|
|
2
|
+
|
|
3
|
+
# Class: PreventDefaultDirective
|
|
4
|
+
|
|
5
|
+
Defined in: [prevent-default.directive.ts:10](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/prevent-default.directive.ts#L10)
|
|
6
|
+
|
|
7
|
+
## Constructors
|
|
8
|
+
|
|
9
|
+
### new PreventDefaultDirective()
|
|
10
|
+
|
|
11
|
+
> **new PreventDefaultDirective**(): [`PreventDefaultDirective`](../wiki/Class.PreventDefaultDirective)
|
|
12
|
+
|
|
13
|
+
#### Returns
|
|
14
|
+
|
|
15
|
+
[`PreventDefaultDirective`](../wiki/Class.PreventDefaultDirective)
|
|
16
|
+
|
|
17
|
+
## Methods
|
|
18
|
+
|
|
19
|
+
### onClick()
|
|
20
|
+
|
|
21
|
+
> **onClick**(`$event`): `void`
|
|
22
|
+
|
|
23
|
+
Defined in: [prevent-default.directive.ts:13](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/prevent-default.directive.ts#L13)
|
|
24
|
+
|
|
25
|
+
#### Parameters
|
|
26
|
+
|
|
27
|
+
##### $event
|
|
28
|
+
|
|
29
|
+
`Event`
|
|
30
|
+
|
|
31
|
+
#### Returns
|
|
32
|
+
|
|
33
|
+
`void`
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
[@rxap/directives](../wiki/globals) / ShareButtonDirective
|
|
2
|
+
|
|
3
|
+
# Class: ShareButtonDirective
|
|
4
|
+
|
|
5
|
+
Defined in: [share-button.directive.ts:41](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/share-button.directive.ts#L41)
|
|
6
|
+
|
|
7
|
+
## Constructors
|
|
8
|
+
|
|
9
|
+
### new ShareButtonDirective()
|
|
10
|
+
|
|
11
|
+
> **new ShareButtonDirective**(`shareService`): [`ShareButtonDirective`](../wiki/Class.ShareButtonDirective)
|
|
12
|
+
|
|
13
|
+
Defined in: [share-button.directive.ts:55](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/share-button.directive.ts#L55)
|
|
14
|
+
|
|
15
|
+
#### Parameters
|
|
16
|
+
|
|
17
|
+
##### shareService
|
|
18
|
+
|
|
19
|
+
[`ShareService`](../wiki/Class.ShareService)
|
|
20
|
+
|
|
21
|
+
#### Returns
|
|
22
|
+
|
|
23
|
+
[`ShareButtonDirective`](../wiki/Class.ShareButtonDirective)
|
|
24
|
+
|
|
25
|
+
## Properties
|
|
26
|
+
|
|
27
|
+
### files?
|
|
28
|
+
|
|
29
|
+
> `optional` **files**: readonly `File`[]
|
|
30
|
+
|
|
31
|
+
Defined in: [share-button.directive.ts:53](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/share-button.directive.ts#L53)
|
|
32
|
+
|
|
33
|
+
***
|
|
34
|
+
|
|
35
|
+
### text
|
|
36
|
+
|
|
37
|
+
> **text**: `string`
|
|
38
|
+
|
|
39
|
+
Defined in: [share-button.directive.ts:47](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/share-button.directive.ts#L47)
|
|
40
|
+
|
|
41
|
+
***
|
|
42
|
+
|
|
43
|
+
### title
|
|
44
|
+
|
|
45
|
+
> **title**: `string`
|
|
46
|
+
|
|
47
|
+
Defined in: [share-button.directive.ts:50](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/share-button.directive.ts#L50)
|
|
48
|
+
|
|
49
|
+
***
|
|
50
|
+
|
|
51
|
+
### url
|
|
52
|
+
|
|
53
|
+
> **url**: `string`
|
|
54
|
+
|
|
55
|
+
Defined in: [share-button.directive.ts:44](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/share-button.directive.ts#L44)
|
|
56
|
+
|
|
57
|
+
## Methods
|
|
58
|
+
|
|
59
|
+
### share()
|
|
60
|
+
|
|
61
|
+
> **share**(): `void`
|
|
62
|
+
|
|
63
|
+
Defined in: [share-button.directive.ts:59](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/share-button.directive.ts#L59)
|
|
64
|
+
|
|
65
|
+
#### Returns
|
|
66
|
+
|
|
67
|
+
`void`
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
[@rxap/directives](../wiki/globals) / ShareService
|
|
2
|
+
|
|
3
|
+
# Class: ShareService
|
|
4
|
+
|
|
5
|
+
Defined in: [share-button.directive.ts:10](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/share-button.directive.ts#L10)
|
|
6
|
+
|
|
7
|
+
## Constructors
|
|
8
|
+
|
|
9
|
+
### new ShareService()
|
|
10
|
+
|
|
11
|
+
> **new ShareService**(): [`ShareService`](../wiki/Class.ShareService)
|
|
12
|
+
|
|
13
|
+
#### Returns
|
|
14
|
+
|
|
15
|
+
[`ShareService`](../wiki/Class.ShareService)
|
|
16
|
+
|
|
17
|
+
## Methods
|
|
18
|
+
|
|
19
|
+
### share()
|
|
20
|
+
|
|
21
|
+
> **share**(`data`): `Promise`\<`void`\>
|
|
22
|
+
|
|
23
|
+
Defined in: [share-button.directive.ts:12](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/share-button.directive.ts#L12)
|
|
24
|
+
|
|
25
|
+
#### Parameters
|
|
26
|
+
|
|
27
|
+
##### data
|
|
28
|
+
|
|
29
|
+
###### files?
|
|
30
|
+
|
|
31
|
+
readonly `File`[]
|
|
32
|
+
|
|
33
|
+
###### text?
|
|
34
|
+
|
|
35
|
+
`string`
|
|
36
|
+
|
|
37
|
+
###### title?
|
|
38
|
+
|
|
39
|
+
`string`
|
|
40
|
+
|
|
41
|
+
###### url?
|
|
42
|
+
|
|
43
|
+
`string`
|
|
44
|
+
|
|
45
|
+
#### Returns
|
|
46
|
+
|
|
47
|
+
`Promise`\<`void`\>
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
[@rxap/directives](../wiki/globals) / StopImmediatePropagationDirective
|
|
2
|
+
|
|
3
|
+
# Class: StopImmediatePropagationDirective
|
|
4
|
+
|
|
5
|
+
Defined in: [stop-immediate-propagation.directive.ts:10](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/stop-immediate-propagation.directive.ts#L10)
|
|
6
|
+
|
|
7
|
+
## Constructors
|
|
8
|
+
|
|
9
|
+
### new StopImmediatePropagationDirective()
|
|
10
|
+
|
|
11
|
+
> **new StopImmediatePropagationDirective**(): [`StopImmediatePropagationDirective`](../wiki/Class.StopImmediatePropagationDirective)
|
|
12
|
+
|
|
13
|
+
#### Returns
|
|
14
|
+
|
|
15
|
+
[`StopImmediatePropagationDirective`](../wiki/Class.StopImmediatePropagationDirective)
|
|
16
|
+
|
|
17
|
+
## Methods
|
|
18
|
+
|
|
19
|
+
### onClick()
|
|
20
|
+
|
|
21
|
+
> **onClick**(`$event`): `void`
|
|
22
|
+
|
|
23
|
+
Defined in: [stop-immediate-propagation.directive.ts:13](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/stop-immediate-propagation.directive.ts#L13)
|
|
24
|
+
|
|
25
|
+
#### Parameters
|
|
26
|
+
|
|
27
|
+
##### $event
|
|
28
|
+
|
|
29
|
+
`Event`
|
|
30
|
+
|
|
31
|
+
#### Returns
|
|
32
|
+
|
|
33
|
+
`void`
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
[@rxap/directives](../wiki/globals) / StopPropagationDirective
|
|
2
|
+
|
|
3
|
+
# Class: StopPropagationDirective
|
|
4
|
+
|
|
5
|
+
Defined in: [stop-propagation.directive.ts:10](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/stop-propagation.directive.ts#L10)
|
|
6
|
+
|
|
7
|
+
## Constructors
|
|
8
|
+
|
|
9
|
+
### new StopPropagationDirective()
|
|
10
|
+
|
|
11
|
+
> **new StopPropagationDirective**(): [`StopPropagationDirective`](../wiki/Class.StopPropagationDirective)
|
|
12
|
+
|
|
13
|
+
#### Returns
|
|
14
|
+
|
|
15
|
+
[`StopPropagationDirective`](../wiki/Class.StopPropagationDirective)
|
|
16
|
+
|
|
17
|
+
## Methods
|
|
18
|
+
|
|
19
|
+
### onClick()
|
|
20
|
+
|
|
21
|
+
> **onClick**(`$event`): `void`
|
|
22
|
+
|
|
23
|
+
Defined in: [stop-propagation.directive.ts:13](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/stop-propagation.directive.ts#L13)
|
|
24
|
+
|
|
25
|
+
#### Parameters
|
|
26
|
+
|
|
27
|
+
##### $event
|
|
28
|
+
|
|
29
|
+
`Event`
|
|
30
|
+
|
|
31
|
+
#### Returns
|
|
32
|
+
|
|
33
|
+
`void`
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@rxap/directives](../wiki/globals) / BackgroundPositionOptions
|
|
2
|
+
|
|
3
|
+
# Enumeration: BackgroundPositionOptions
|
|
4
|
+
|
|
5
|
+
Defined in: [background-image.directive.ts:42](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/background-image.directive.ts#L42)
|
|
6
|
+
|
|
7
|
+
## Enumeration Members
|
|
8
|
+
|
|
9
|
+
### CENTER
|
|
10
|
+
|
|
11
|
+
> **CENTER**: `"center"`
|
|
12
|
+
|
|
13
|
+
Defined in: [background-image.directive.ts:43](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/background-image.directive.ts#L43)
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### CENTER\_CENTER
|
|
18
|
+
|
|
19
|
+
> **CENTER\_CENTER**: `"center center"`
|
|
20
|
+
|
|
21
|
+
Defined in: [background-image.directive.ts:44](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/background-image.directive.ts#L44)
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
[@rxap/directives](../wiki/globals) / BackgroundRepeatOptions
|
|
2
|
+
|
|
3
|
+
# Enumeration: BackgroundRepeatOptions
|
|
4
|
+
|
|
5
|
+
Defined in: [background-image.directive.ts:34](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/background-image.directive.ts#L34)
|
|
6
|
+
|
|
7
|
+
## Enumeration Members
|
|
8
|
+
|
|
9
|
+
### NO\_REPEAT
|
|
10
|
+
|
|
11
|
+
> **NO\_REPEAT**: `"no-repeat"`
|
|
12
|
+
|
|
13
|
+
Defined in: [background-image.directive.ts:35](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/background-image.directive.ts#L35)
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
[@rxap/directives](../wiki/globals) / BackgroundSizeOptions
|
|
2
|
+
|
|
3
|
+
# Enumeration: BackgroundSizeOptions
|
|
4
|
+
|
|
5
|
+
Defined in: [background-image.directive.ts:21](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/background-image.directive.ts#L21)
|
|
6
|
+
|
|
7
|
+
## Enumeration Members
|
|
8
|
+
|
|
9
|
+
### AUTO
|
|
10
|
+
|
|
11
|
+
> **AUTO**: `"auto"`
|
|
12
|
+
|
|
13
|
+
Defined in: [background-image.directive.ts:22](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/background-image.directive.ts#L22)
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### CONTAIN
|
|
18
|
+
|
|
19
|
+
> **CONTAIN**: `"contain"`
|
|
20
|
+
|
|
21
|
+
Defined in: [background-image.directive.ts:24](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/background-image.directive.ts#L24)
|
|
22
|
+
|
|
23
|
+
***
|
|
24
|
+
|
|
25
|
+
### COVER
|
|
26
|
+
|
|
27
|
+
> **COVER**: `"cover"`
|
|
28
|
+
|
|
29
|
+
Defined in: [background-image.directive.ts:23](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/background-image.directive.ts#L23)
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@rxap/directives](../wiki/globals) / GlobalStyleOptions
|
|
2
|
+
|
|
3
|
+
# Enumeration: GlobalStyleOptions
|
|
4
|
+
|
|
5
|
+
Defined in: [background-image.directive.ts:14](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/background-image.directive.ts#L14)
|
|
6
|
+
|
|
7
|
+
## Enumeration Members
|
|
8
|
+
|
|
9
|
+
### INHERIT
|
|
10
|
+
|
|
11
|
+
> **INHERIT**: `"inherit"`
|
|
12
|
+
|
|
13
|
+
Defined in: [background-image.directive.ts:16](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/background-image.directive.ts#L16)
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### INITIAL
|
|
18
|
+
|
|
19
|
+
> **INITIAL**: `"initial"`
|
|
20
|
+
|
|
21
|
+
Defined in: [background-image.directive.ts:15](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/background-image.directive.ts#L15)
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
This package provides a set of Angular directives to simplify common tasks such as setting background images, confirming clicks, making elements contenteditable, and more. It includes directives for handling UI interactions, applying styles, and managing asynchronous operations. These directives aim to reduce boilerplate code and improve the reusability of components in Angular applications.
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/@rxap/directives)
|
|
4
|
+
[](https://commitizen.github.io/cz-cli/)
|
|
6
|
+
[](https://github.com/prettier/prettier)
|
|
8
|
+

|
|
10
|
+

|
|
11
|
+
 -
|
|
12
|
+
[Installation](../wiki/#installation)
|
|
13
|
+
- [Generators](../wiki/#generators)
|
|
14
|
+
- [init](../wiki/#init)
|
|
15
|
+
|
|
16
|
+
# Installation **Add the package to your workspace:** ```bash yarn add
|
|
17
|
+
@rxap/directives
|
|
18
|
+
```
|
|
19
|
+
**Install peer dependencies:** ```bash yarn add
|
|
20
|
+
@angular/core@^19.1.3 @rxap/pattern@^1.1.11-dev.4 @rxap/rxjs@^1.1.12-dev.4 @rxap/services@^19.0.1-dev.4 @rxap/utilities@^16.4.2-dev.4 rxjs@^7.8.1
|
|
21
|
+
```
|
|
22
|
+
**Execute the init generator:** ```bash yarn nx g
|
|
23
|
+
@rxap/directives:init ```
|
|
24
|
+
# Generators
|
|
25
|
+
|
|
26
|
+
##
|
|
27
|
+
init
|
|
28
|
+
>
|
|
29
|
+
Initialize the package in the workspace
|
|
30
|
+
|
|
31
|
+
```bash nx g
|
|
32
|
+
@rxap/directives:init
|
|
33
|
+
```
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@rxap/directives](../wiki/globals) / ContenteditableEvent
|
|
2
|
+
|
|
3
|
+
# Interface: ContenteditableEvent
|
|
4
|
+
|
|
5
|
+
Defined in: [contenteditable.directive.ts:13](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/contenteditable.directive.ts#L13)
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### parameters?
|
|
10
|
+
|
|
11
|
+
> `optional` **parameters**: `any`
|
|
12
|
+
|
|
13
|
+
Defined in: [contenteditable.directive.ts:15](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/contenteditable.directive.ts#L15)
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### value
|
|
18
|
+
|
|
19
|
+
> **value**: `string`
|
|
20
|
+
|
|
21
|
+
Defined in: [contenteditable.directive.ts:14](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/contenteditable.directive.ts#L14)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
[@rxap/directives](../wiki/globals) / IfTruthyDirectiveTemplateContext
|
|
2
|
+
|
|
3
|
+
# Interface: IfTruthyDirectiveTemplateContext\<Data\>
|
|
4
|
+
|
|
5
|
+
Defined in: [if-truthy.directive.ts:12](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/if-truthy.directive.ts#L12)
|
|
6
|
+
|
|
7
|
+
## Type Parameters
|
|
8
|
+
|
|
9
|
+
• **Data**
|
|
10
|
+
|
|
11
|
+
## Properties
|
|
12
|
+
|
|
13
|
+
### $implicit
|
|
14
|
+
|
|
15
|
+
> **$implicit**: `Data`
|
|
16
|
+
|
|
17
|
+
Defined in: [if-truthy.directive.ts:13](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/if-truthy.directive.ts#L13)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
[@rxap/directives](../wiki/globals) / MethodTemplateDirectiveContext
|
|
2
|
+
|
|
3
|
+
# Interface: MethodTemplateDirectiveContext\<ReturnType\>
|
|
4
|
+
|
|
5
|
+
Defined in: [method-template.directive.ts:19](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/method-template.directive.ts#L19)
|
|
6
|
+
|
|
7
|
+
## Type Parameters
|
|
8
|
+
|
|
9
|
+
• **ReturnType** = `any`
|
|
10
|
+
|
|
11
|
+
## Properties
|
|
12
|
+
|
|
13
|
+
### $implicit
|
|
14
|
+
|
|
15
|
+
> **$implicit**: `ReturnType`
|
|
16
|
+
|
|
17
|
+
Defined in: [method-template.directive.ts:20](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/method-template.directive.ts#L20)
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@rxap/directives](../wiki/globals) / MethodTemplateDirectiveErrorContext
|
|
2
|
+
|
|
3
|
+
# Interface: MethodTemplateDirectiveErrorContext
|
|
4
|
+
|
|
5
|
+
Defined in: [method-template.directive.ts:23](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/method-template.directive.ts#L23)
|
|
6
|
+
|
|
7
|
+
## Properties
|
|
8
|
+
|
|
9
|
+
### $implicit
|
|
10
|
+
|
|
11
|
+
> **$implicit**: `Error`
|
|
12
|
+
|
|
13
|
+
Defined in: [method-template.directive.ts:24](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/method-template.directive.ts#L24)
|
|
14
|
+
|
|
15
|
+
***
|
|
16
|
+
|
|
17
|
+
### message
|
|
18
|
+
|
|
19
|
+
> **message**: `string`
|
|
20
|
+
|
|
21
|
+
Defined in: [method-template.directive.ts:25](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/method-template.directive.ts#L25)
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
[@rxap/directives](../wiki/globals) / BackgroundPosition
|
|
2
|
+
|
|
3
|
+
# Type Alias: BackgroundPosition
|
|
4
|
+
|
|
5
|
+
> **BackgroundPosition**: [`GlobalStyleOptions`](../wiki/Enumeration.GlobalStyleOptions) \| [`BackgroundPositionOptions`](../wiki/Enumeration.BackgroundPositionOptions) \| `string`
|
|
6
|
+
|
|
7
|
+
Defined in: [background-image.directive.ts:47](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/background-image.directive.ts#L47)
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
[@rxap/directives](../wiki/globals) / BackgroundRepeat
|
|
2
|
+
|
|
3
|
+
# Type Alias: BackgroundRepeat
|
|
4
|
+
|
|
5
|
+
> **BackgroundRepeat**: [`GlobalStyleOptions`](../wiki/Enumeration.GlobalStyleOptions) \| [`BackgroundRepeatOptions`](../wiki/Enumeration.BackgroundRepeatOptions)
|
|
6
|
+
|
|
7
|
+
Defined in: [background-image.directive.ts:38](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/background-image.directive.ts#L38)
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
[@rxap/directives](../wiki/globals) / BackgroundSize
|
|
2
|
+
|
|
3
|
+
# Type Alias: BackgroundSize
|
|
4
|
+
|
|
5
|
+
> **BackgroundSize**: [`GlobalStyleOptions`](../wiki/Enumeration.GlobalStyleOptions) \| [`BackgroundSizeOptions`](../wiki/Enumeration.BackgroundSizeOptions) \| `string`
|
|
6
|
+
|
|
7
|
+
Defined in: [background-image.directive.ts:27](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/directives/src/lib/background-image.directive.ts#L27)
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
## API
|
|
2
|
+
|
|
3
|
+
### Enumerations
|
|
4
|
+
|
|
5
|
+
- [BackgroundPositionOptions](../wiki/Enumeration.BackgroundPositionOptions)
|
|
6
|
+
- [BackgroundRepeatOptions](../wiki/Enumeration.BackgroundRepeatOptions)
|
|
7
|
+
- [BackgroundSizeOptions](../wiki/Enumeration.BackgroundSizeOptions)
|
|
8
|
+
- [GlobalStyleOptions](../wiki/Enumeration.GlobalStyleOptions)
|
|
9
|
+
|
|
10
|
+
### Classes
|
|
11
|
+
|
|
12
|
+
- [AvatarBackgroundImageDirective](../wiki/Class.AvatarBackgroundImageDirective)
|
|
13
|
+
- [BackgroundImageDirective](../wiki/Class.BackgroundImageDirective)
|
|
14
|
+
- [ConfirmClick](../wiki/Class.ConfirmClick)
|
|
15
|
+
- [ContenteditableDirective](../wiki/Class.ContenteditableDirective)
|
|
16
|
+
- [FullWidthDirective](../wiki/Class.FullWidthDirective)
|
|
17
|
+
- [IfTruthyDirective](../wiki/Class.IfTruthyDirective)
|
|
18
|
+
- [IsDevModeDirective](../wiki/Class.IsDevModeDirective)
|
|
19
|
+
- [MethodDirective](../wiki/Class.MethodDirective)
|
|
20
|
+
- [MethodTemplateDirective](../wiki/Class.MethodTemplateDirective)
|
|
21
|
+
- [MovableDividerDirective](../wiki/Class.MovableDividerDirective)
|
|
22
|
+
- [PreventDefaultDirective](../wiki/Class.PreventDefaultDirective)
|
|
23
|
+
- [ShareButtonDirective](../wiki/Class.ShareButtonDirective)
|
|
24
|
+
- [ShareService](../wiki/Class.ShareService)
|
|
25
|
+
- [StopImmediatePropagationDirective](../wiki/Class.StopImmediatePropagationDirective)
|
|
26
|
+
- [StopPropagationDirective](../wiki/Class.StopPropagationDirective)
|
|
27
|
+
|
|
28
|
+
### Interfaces
|
|
29
|
+
|
|
30
|
+
- [ContenteditableEvent](../wiki/Interface.ContenteditableEvent)
|
|
31
|
+
- [IfTruthyDirectiveTemplateContext](../wiki/Interface.IfTruthyDirectiveTemplateContext)
|
|
32
|
+
- [MethodTemplateDirectiveContext](../wiki/Interface.MethodTemplateDirectiveContext)
|
|
33
|
+
- [MethodTemplateDirectiveErrorContext](../wiki/Interface.MethodTemplateDirectiveErrorContext)
|
|
34
|
+
|
|
35
|
+
### Type Aliases
|
|
36
|
+
|
|
37
|
+
- [BackgroundPosition](../wiki/TypeAlias.BackgroundPosition)
|
|
38
|
+
- [BackgroundRepeat](../wiki/TypeAlias.BackgroundRepeat)
|
|
39
|
+
- [BackgroundSize](../wiki/TypeAlias.BackgroundSize)
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# @rxap/directives
|
|
2
|
+
|
|
3
|
+
## Enumerations
|
|
4
|
+
|
|
5
|
+
- [BackgroundPositionOptions](../wiki/Enumeration.BackgroundPositionOptions)
|
|
6
|
+
- [BackgroundRepeatOptions](../wiki/Enumeration.BackgroundRepeatOptions)
|
|
7
|
+
- [BackgroundSizeOptions](../wiki/Enumeration.BackgroundSizeOptions)
|
|
8
|
+
- [GlobalStyleOptions](../wiki/Enumeration.GlobalStyleOptions)
|
|
9
|
+
|
|
10
|
+
## Classes
|
|
11
|
+
|
|
12
|
+
- [AvatarBackgroundImageDirective](../wiki/Class.AvatarBackgroundImageDirective)
|
|
13
|
+
- [BackgroundImageDirective](../wiki/Class.BackgroundImageDirective)
|
|
14
|
+
- [ConfirmClick](../wiki/Class.ConfirmClick)
|
|
15
|
+
- [ContenteditableDirective](../wiki/Class.ContenteditableDirective)
|
|
16
|
+
- [FullWidthDirective](../wiki/Class.FullWidthDirective)
|
|
17
|
+
- [IfTruthyDirective](../wiki/Class.IfTruthyDirective)
|
|
18
|
+
- [IsDevModeDirective](../wiki/Class.IsDevModeDirective)
|
|
19
|
+
- [MethodDirective](../wiki/Class.MethodDirective)
|
|
20
|
+
- [MethodTemplateDirective](../wiki/Class.MethodTemplateDirective)
|
|
21
|
+
- [MovableDividerDirective](../wiki/Class.MovableDividerDirective)
|
|
22
|
+
- [PreventDefaultDirective](../wiki/Class.PreventDefaultDirective)
|
|
23
|
+
- [ShareButtonDirective](../wiki/Class.ShareButtonDirective)
|
|
24
|
+
- [ShareService](../wiki/Class.ShareService)
|
|
25
|
+
- [StopImmediatePropagationDirective](../wiki/Class.StopImmediatePropagationDirective)
|
|
26
|
+
- [StopPropagationDirective](../wiki/Class.StopPropagationDirective)
|
|
27
|
+
|
|
28
|
+
## Interfaces
|
|
29
|
+
|
|
30
|
+
- [ContenteditableEvent](../wiki/Interface.ContenteditableEvent)
|
|
31
|
+
- [IfTruthyDirectiveTemplateContext](../wiki/Interface.IfTruthyDirectiveTemplateContext)
|
|
32
|
+
- [MethodTemplateDirectiveContext](../wiki/Interface.MethodTemplateDirectiveContext)
|
|
33
|
+
- [MethodTemplateDirectiveErrorContext](../wiki/Interface.MethodTemplateDirectiveErrorContext)
|
|
34
|
+
|
|
35
|
+
## Type Aliases
|
|
36
|
+
|
|
37
|
+
- [BackgroundPosition](../wiki/TypeAlias.BackgroundPosition)
|
|
38
|
+
- [BackgroundRepeat](../wiki/TypeAlias.BackgroundRepeat)
|
|
39
|
+
- [BackgroundSize](../wiki/TypeAlias.BackgroundSize)
|