Examples

More examples can be found on the left sidebar of each example page, and have fun with it.

Install

TOAST UI products can be used by using the package manager or downloading the source directly.
However, we highly recommend using the package manager.

Via Package Manager

TOAST UI products are registered in two package managers, npm and bower.
You can conveniently install it using the commands provided by each package manager.
When using npm, be sure to use it in the environment Node.js is installed.

Download Source Files

Usage

HTML

Add the container element to create the component as an option.
See here for information about the added element.

JavaScript

This component can be used by creating an instance with the constructor function.
To get the constructor function, you should import the module using one of the following ways depending on your environment.

Using namespace in browser environment

var AutoComplete = tui.AutoComplete;

Using module format in node environment

var AutoComplete =require('tui-auto-complete');/* CommonJS */

import{AutoComplete}from'tui-auto-complete';/* ES6 */

You can create an instance with options and call various APIs after creating an instance.