Uikit: how to change language in modal alert button

Created on 21 Nov 2015  ·  3Comments  ·  Source: uikit/uikit

the word of button is "ok"
i want to change it
how?
thx

Most helpful comment

This should be in the Documentation page.

All 3 comments

ok
i found it

UIkit.modal.alert("账号或密码不能为空!", {
center: true,labels:{Ok:'确认'}
});

This should be in the Documentation page.

In 3.0.3 keys must be lowercase
labels: { ok: 'Ok', cancel: 'Annulla' }

Was this page helpful?
0 / 5 - 0 ratings

Related issues

doublex picture doublex  ·  3Comments

wozzup picture wozzup  ·  4Comments

kirlat picture kirlat  ·  3Comments

Samanw picture Samanw  ·  3Comments

drmzio picture drmzio  ·  3Comments