Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

  • new Search(title: string): Search

Properties

actions: Action[] = []
alignment: ALIGNMENT
buttons: Button[] = []
classified: string
event: Event = ...
iactions: Map<string, Action> = ...
ibuttons: Map<string, Button> = ...
identifier: string
label: string
placeholder: boolean
position: POSITION
size: SIZE
style: string
title: string
type: string = 'search'

Methods

  • Set actions that the component has

    Parameters

    • title: string = ''

      title of action

    • size: SIZE = SIZE.SMALL

      size of action

    Returns Action

  • Set buttons that the component has

    Parameters

    • title: string = ''

      button title

    • size: SIZE = SIZE.SMALL

      size of button

    Returns Button

  • setClassified(classified?: string): Search
  • classified setter

    Parameters

    • classified: string = ''

    Returns Search

  • setEvent(name?: string, parameters?: any): Search
  • Set event of the component

    Parameters

    • name: string = ''

      name of the event to be emitted

    • parameters: any = ''

      parameters of the event that should be forwarded

    Returns Search

  • setIdentifier(identifier: string): Search
  • identifier setter

    Parameters

    • identifier: string

    Returns Search

  • setLabel(label?: string): Search
  • label setter

    Parameters

    • label: string = ''

    Returns Search

  • setPlaceholder(enabled?: boolean): Search
  • placeholder setter

    Parameters

    • enabled: boolean = false

    Returns Search

  • setStyle(style?: string): Search
  • style setter

    Parameters

    • style: string = ''

    Returns Search

  • setTitle(title?: string): Search
  • title setter

    Parameters

    • title: string = ''

    Returns Search

  • setType(type?: string): Search
  • type setter

    Parameters

    • type: string = ''

    Returns Search

Generated using TypeDoc