Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6cd3cd4

Browse filesBrowse files
committed
fix(align): allow undefined type for align input prop
1 parent 88a962f commit 6cd3cd4
Copy full SHA for 6cd3cd4

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎projects/coreui-angular/src/lib/utilities/align.directive.ts

Copy file name to clipboardExpand all lines: projects/coreui-angular/src/lib/utilities/align.directive.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export class AlignDirective {
1111
* Set vertical alignment of inline, inline-block, inline-table, and table cell elements
1212
* @return Alignment
1313
*/
14-
readonly align = input<Alignment>(undefined, { alias: 'cAlign' });
14+
readonly align = input<Alignment | undefined>(undefined, { alias: 'cAlign' });
1515

1616
readonly hostClasses = computed(() => {
1717
const align = this.align();

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.