peb
Version:
Peb.js makes JS easier
17 lines (15 loc) • 430 B
Markdown
# Constructor `TranslationTable`
The last updated version of this function: 3.1.0
## Construct
```javascript
new peb.TranslationTable(tabel: object)
```
## Object Method
### *SET* `set(tabel)`
Set up a new table. Only the specified content will be changed and the table will not be reset.
### *GET* `get()`
Get.
### `translate(lang)`
Translate according to `lang` language
## See Also
[HTML Tag <peb-trans>](./html-peb-trans.md)