Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2186 Lượt xem
I want to fire few UI customizations after loading.
I see in Dialog widget such methods:

- init

- setup

- open (also  create_edit_record  in FormViewDialog)

- opened

- willStart



which is most sutable?
I suspect `opened` or `open`
Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

The "start" function would be better to use since it is triggered when the ui is ready and also a widget lifecycle method.

init and willStart are the lifecycle methods that will be triggered before the ui is ready.

Regards

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 1 25
920
0
thg 9 23
2865
3
thg 10 23
5099
3
thg 6 23
4891
1
thg 1 24
7961