mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: Enums > CoreTypes
Cleanup type symbol usage by consolidating to manage in one spot. This makes them easier to use as well by providing a single rollup of all the common type symbol's used throughout core.
This commit is contained in:
@@ -5,7 +5,7 @@ import { Style } from '../styling/style';
|
||||
import { EventData } from '../../data/observable';
|
||||
import { Color } from '../../color';
|
||||
import { Property, CssProperty, CoercibleProperty } from '../core/properties';
|
||||
import { Enums } from '../enums';
|
||||
import { CoreTypes } from '../../core-types';
|
||||
import { Trace } from '../../trace';
|
||||
|
||||
export const traceCategory = 'TabView';
|
||||
@@ -16,10 +16,10 @@ export abstract class TabViewItemBase extends ViewBase implements TabViewItemDef
|
||||
private _view: View;
|
||||
private _iconSource: string;
|
||||
|
||||
get textTransform(): Enums.TextTransformType {
|
||||
get textTransform(): CoreTypes.TextTransformType {
|
||||
return this.style.textTransform;
|
||||
}
|
||||
set textTransform(value: Enums.TextTransformType) {
|
||||
set textTransform(value: CoreTypes.TextTransformType) {
|
||||
this.style.textTransform = value;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user