EzI18nBind

EzI18nBind

Members

(readonly) bindId :string

Description:
  • 바인딩 객체 고유 식별값

바인딩 객체 고유 식별값

Type:
  • string

(readonly) code :string

Description:
  • 바인딩된 코드.

바인딩된 코드.

Type:
  • string

(readonly) comp :nexacro.Component

Description:
  • 바인드된 컴포넌트.

바인드된 컴포넌트.

Type:
  • nexacro.Component

(readonly) defaultVal :string

Description:
  • 현재 언어에 바인딩된 코드가 해당하는 값이 없을 경우 표시할 기본값입니다.

현재 언어에 바인딩된 코드가 해당하는 값이 없을 경우 표시할 기본값입니다.

Type:
  • string

(readonly) prop :string

Description:
  • 바인드된 대상 프로퍼티.

바인드된 대상 프로퍼티.

Type:
  • string

(readonly) type :string

Description:
  • 바인드 유형.

바인드 유형.

Type:
  • string

Methods

getComponent() → {nexacro.Component}

Description:
  • Bind 정보가 가진 Component를 가져옴

Returns:

EzI18nBind가 가진 Component 객체

Type
nexacro.Component

get_bindId() → {string}

Description:
  • 바인딩Item의 고유 키를 가져옴

Returns:

바인딩Item의 고유 키

Type
string

isAlive() → {boolean}

Description:
  • Bind 정보가 가진 Component가 기능하는지 여부

Returns:

Bind 정보가 가진 Component가 기능하는지 여부

Type
boolean

set_code(code)

Description:
  • 바인딩할 코드지정

Parameters:
Name Type Description
code string

바인딩 코드

set_type(type)

Description:
  • 바인딩할 타입지정

Parameters:
Name Type Description
type "xstring" | "builtIn"

처리방법

Properties
Name Type Description
xstring string

xstring(nexacro 내장 기능)을 이용해 바인딩 처리를 합니다.

builtIn string

i18n의 자체 getText 기능을 이용합니다.