Options
All
  • Public
  • Public/Protected
  • All
Menu

Search provides an input that can be used in the ui for a search engine.

Hierarchy

Implements

Index

Constructors

Properties

Methods

Object literals

Constructors

constructor

  • children is an array of content passed to this Component.

    Parameters

    Returns Search

Properties

attrs

children

children: Content[]

view

view: View = new views.Main(this)

Methods

get

  • get(): string

removed

  • removed(): void
  • Returns void

render

  • render(): Content
  • Returns Content

rendered

  • rendered(): void
  • Returns void

set

Object literals

values

values: object

root

root: object

class

class: string = concat(SEARCH, this.attrs.ww && this.attrs.ww.class)

id

id: string = "input"

placeholder

placeholder: string = (this.attrs.ww && this.attrs.ww.placeholder) || ''

readOnly

readOnly: boolean = (this.attrs.ww && this.attrs.ww.readOnly) || null

value

value: string = (this.attrs.ww && this.attrs.ww.value) || ''

onfocus

  • onfocus(e: KeyboardEvent): void

oninput

  • oninput(e: KeyboardEvent): void

onkeydown

  • onkeydown(e: KeyboardEvent): void

onkeyup

  • onkeyup(e: KeyboardEvent): void

Generated using TypeDoc