mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix(ios): apply text color to HTMLView content (#10708)
This commit is contained in:
committed by
GitHub
parent
8c4d7ca8be
commit
640db9529e
@@ -1,8 +1,6 @@
|
||||
import { CssProperty } from '../core/properties';
|
||||
import { View, CSSType } from '../core/view';
|
||||
import { View, CSSType } from '../core/view';
|
||||
import { booleanConverter } from '../core/view-base';
|
||||
import { Property } from '../core/properties';
|
||||
import { Style } from '../styling/style';
|
||||
import { Color } from '../../color';
|
||||
import { HtmlView as HtmlViewDefinition } from '.';
|
||||
|
||||
@@ -30,10 +28,9 @@ export const selectableProperty = new Property<HtmlViewBase, boolean>({
|
||||
});
|
||||
selectableProperty.register(HtmlViewBase);
|
||||
|
||||
export const linkColorProperty = new CssProperty<Style, Color>({
|
||||
export const linkColorProperty = new Property<HtmlViewBase, Color>({
|
||||
name: 'linkColor',
|
||||
cssName: 'link-color',
|
||||
equalityComparer: Color.equals,
|
||||
valueConverter: (value) => new Color(value),
|
||||
});
|
||||
linkColorProperty.register(Style);
|
||||
linkColorProperty.register(HtmlViewBase);
|
||||
|
||||
Reference in New Issue
Block a user