feat(select): get select component working with action sheet / popover

- adds markup for the select
- gets placeholder working properly
- adds select popover component
- renames option to select-option
- adds a function to get label text from item
This commit is contained in:
Brandy Carney
2017-08-18 17:11:43 -04:00
parent b6a0b10e76
commit 30708d1224
11 changed files with 568 additions and 421 deletions

View File

@ -158,3 +158,8 @@ export function swipeShouldReset(isResetDirection: boolean, isMovingFast: boolea
let shouldClose = (!isMovingFast && isOnResetZone) || (isResetDirection && isMovingFast);
return shouldClose;
}
/** @hidden */
export function deepCopy(obj: any) {
return JSON.parse(JSON.stringify(obj));
}