chore: cleanup

This commit is contained in:
Nathan Walker
2020-07-06 14:25:11 -07:00
parent 94cf5c4706
commit 6336eac4b5
477 changed files with 59087 additions and 74961 deletions

View File

@@ -1,29 +1,29 @@
import { CssProperty } from "../core/properties";
import { View, CSSType } from "../core/view";
import { Property } from "../core/properties";
import { Style } from "../styling/style";
import { Color } from "../../color";
import { HtmlView as HtmlViewDefinition } from ".";
import { CssProperty } from '../core/properties';
import { View, CSSType } from '../core/view';
import { Property } from '../core/properties';
import { Style } from '../styling/style';
import { Color } from '../../color';
import { HtmlView as HtmlViewDefinition } from '.';
@CSSType("HtmlView")
@CSSType('HtmlView')
export class HtmlViewBase extends View implements HtmlViewDefinition {
public html: string;
public html: string;
}
HtmlViewBase.prototype.recycleNativeView = "auto";
HtmlViewBase.prototype.recycleNativeView = 'auto';
// TODO: Can we use Label.ios optimization for affectsLayout???
export const htmlProperty = new Property<HtmlViewBase, string>({
name: "html",
defaultValue: "",
affectsLayout: true,
name: 'html',
defaultValue: '',
affectsLayout: true,
});
htmlProperty.register(HtmlViewBase);
export const linkColorProperty = new CssProperty<Style, Color>({
name: "linkColor",
cssName: "link-color",
equalityComparer: Color.equals,
valueConverter: (value) => new Color(value),
name: 'linkColor',
cssName: 'link-color',
equalityComparer: Color.equals,
valueConverter: (value) => new Color(value),
});
linkColorProperty.register(Style);