View Toos ./demo -> demo ao
"nativescript-dialog": "https://github.com/mobilemindtec/nativescript-dialog.git"
addViewIcon-> add icon in buttonbuttonRoundedAll-> round button cornersaddTextChangeListener-> create textview listener on changeprogressOpen({title: '', message: '', titleColor: '', textColor: ''})-> open a progress bar in dialog.. depends https://github.com/mobilemindtec/nativescript-dialog.gitprogressClose-> close a progress bar
addKeyboardChangeListener(view, onKeyboardOpenCallback, onKeyboardCloseCallback)-> key board listener to handler key board closegetExtraKey(key)-> get value from intent extra by keytransparentNav({color: ''})-> add traspacence to navbargetStatusBarHeight-> return status bar heightnavColor(colorArg)-> set navbar color
var ViewUtil = require('nativescript-view-util')
ViewUtil.addTextChangeListener(textSearch, function(text){
// implements
})
ViewUtil.buttonRoundedAll(btnRounded, '#483D8B', 10)
ViewUtil.addViewIcon(btnLeftIcon, 'left', 'icon')
ViewUtil.addViewIcon(btnRightIcon, 'right', 'icon')
ViewUtil.progressOpen({
title: "My Title",
message: "NativeScript plugin baby!!",
titleColor: "#4682B4",
textColor: "#A52A2A",
cancelable: true
})