Home Manual Reference Source Test
import InputComponent from 'web-cell/source/component/InputComponent.js'
public class | source

InputComponent

Extends:

HTMLElement → InputComponent

Base class for Form field components

Constructor Summary

Public Constructor
public

constructor(option: Object)

Member Summary

Public Members
public get

Method Summary

Public Methods
public

changedPropertyOf(attribute: string, oldValue: string, newValue: string)

Common behavior of Form field attributes

Protected Methods
protected

Public Constructors

public constructor(option: Object) source

Params:

NameTypeAttributeDescription
option Object
  • nullable: true

https://developer.mozilla.org/en-US/docs/Web/API/element/attachShadow#Parameters

Public Members

public get defaultValue: string source

Public Methods

public changedPropertyOf(attribute: string, oldValue: string, newValue: string) source

Common behavior of Form field attributes

Params:

NameTypeAttributeDescription
attribute string
oldValue string
  • nullable: true
newValue string
  • nullable: true

Test:

Protected Methods

protected slotChangedCallback() source