Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FormPlaceholderDirective

FormPlaceholderDirective.

example

<input type="text" [placeholder]="'item-' + index" />

Hierarchy

  • Directive
    • FormPlaceholderDirective

Indexable

[key: string]: any

FormPlaceholderDirective.

example

<input type="text" [placeholder]="'item-' + index" />

Index

Constructors

constructor

Properties

changes$

changes$: ReplaySubject<Factory>

Optional placeholder

placeholder: undefined | string

rxcompId

rxcompId: number

unsubscribe$

unsubscribe$: Subject<void>

Methods

onChanges

  • onChanges(changes: Factory | Window): void

onDestroy

  • onDestroy(): void

onInit

  • onInit(): void

onParentDidChange

  • onParentDidChange(changes: Factory | Window): void

onView

  • onView(): void

pushChanges

  • pushChanges(): void

Static getInputsTokens

  • getInputsTokens(instance: Factory, node: IElement, module: Module): {}

Object literals

Static meta

meta: object

inputs

inputs: string[] = ['placeholder']

selector

selector: string = "input[placeholder],textarea[placeholder]"