Skip to content

Commit ad92a72

Browse files
committed
fix: add back missing cssType. Would fail in production builds
1 parent 62f9aaf commit ad92a72

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/collectionview-common.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ import {
2121
makeValidator,
2222
profile,
2323
removeWeakEventListener,
24-
widthProperty
24+
widthProperty,
25+
CSSType
2526
} from '@nativescript/core';
2627
import { CollectionView as CollectionViewDefinition, Orientation } from './collectionview';
2728

@@ -94,6 +95,7 @@ export interface Plugin {
9495
onLayout?: Function;
9596
}
9697

98+
@CSSType('CollectionView')
9799
export abstract class CollectionViewBase extends View implements CollectionViewDefinition {
98100
public static itemLoadingEvent = 'itemLoading';
99101
public static cellCreateEvent = 'cellCreate';

0 commit comments

Comments
 (0)