UNPKG

@titanium/turbo

Version:

<p align="center"> <img src="https://cdn.secure-api.org/images/turbo-title_400.png" /><br> <a href="https://www.npmjs.com/package/@titanium/turbo"> <img src="https://img.shields.io/npm/v/@titanium/turbo.png" /> </a> </p>

39 lines (35 loc) 690 B
Ti.include('/runtimeTester.js'); module.exports = function($) { addMatchers(); describe('CustomView controller', function() { validateUiComponent($, 'CustomView', { api: 'Ti.UI.View', style: { layout: 'vertical', height: '300', backgroundColor: 'blue', id: 'CustomView' } }); validateUiComponent($, 'text', { api: 'Ti.UI.TextField', style: { borderStyle: Ti.UI.INPUT_BORDERSTYLE_ROUNDED, id: 'text', top: '10', height: '44', width: '250' } }); validateUiComponent($, 'btn', { api: 'Ti.UI.Button', style: { title: 'Fire Event', id: 'btn', top: '10', height: '44', width: '250' } }); }); };