mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
17 lines
469 B
TypeScript
17 lines
469 B
TypeScript
import colorModule = require("color");
|
|
import searchBarModule = require("ui/search-bar");
|
|
|
|
export function getNativeHintColor(searchBar: searchBarModule.SearchBar): colorModule.Color {
|
|
// TODO: This test needs to be created
|
|
return undefined;
|
|
}
|
|
export function getNativeFontSize(searchBar: searchBarModule.SearchBar): number {
|
|
var sf = <UITextField>(<any>searchBar)._textField;
|
|
if (sf) {
|
|
return sf.font.pointSize;
|
|
}
|
|
|
|
return undefined;
|
|
}
|
|
|