Files
Hristo Deshev 629eb6e683 Use relative imports in tns-core-modules.
Use tns-core-modules/* imports in outside code (apps, tests, etc)
2017-03-13 14:37:59 +02:00

12 lines
427 B
TypeScript

import { Switch as SwitchDefinition } from ".";
import { View, Property, booleanConverter } from "../core/view";
export * from "../core/view";
export class SwitchBase extends View implements SwitchDefinition {
public checked: boolean;
}
export const checkedProperty = new Property<SwitchBase, boolean>({ name: "checked", defaultValue: false, valueConverter: booleanConverter });
checkedProperty.register(SwitchBase);