Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/search box #122

Merged
merged 23 commits into from
Oct 27, 2016
Merged

Feature/search box #122

merged 23 commits into from
Oct 27, 2016

Conversation

emoralesb05
Copy link
Contributor

@emoralesb05 emoralesb05 commented Oct 26, 2016

Description

Added search-input atom and search-box molecule components as part of a search module.

What's included?

<td-search-input>

The <td-search-input> component has 5 properties:
image

Usage in HTML:

<td-search-input placeholder="Search here" [debounce]="500" (searchDebounce)="searchInputTerm = $event" (search)="searchInputTerm = $event" (clear)="searchInputTerm = ''">
</td-search-input>

<td-search-box>

The <td-search-box> component has 6 properties:
image

Usage in HTML:

<td-search-box placeholder="Search here" [debounce]="500" [alwaysVisible]="false|true" (searchDebounce)="searchInputTerm = $event" (search)="searchInputTerm = $event" (clear)="searchInputTerm = ''">
</td-search-box>

Test Steps

Screenshots or link to CodePen/Plunker/JSfiddle

td-search-box-demo

@emoralesb05 emoralesb05 added this to the Alpha 0.9 milestone Oct 26, 2016
@jeremysmartt jeremysmartt self-assigned this Oct 26, 2016
name: 'alwaysVisible?',
type: 'boolean',
}, {
description: `Event emitted after the [debounce] timeout.`,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wondering if these should be eventDebounceTimeout, eventEnterKeypress, eventClearIconClicked just for clarity

@emoralesb05 emoralesb05 merged commit 8783f60 into develop Oct 27, 2016
@emoralesb05 emoralesb05 deleted the feature/search-box branch October 27, 2016 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants