Dialog
介紹使用 Dialog 對話框元件
Dialog 是網頁與使用者一種強烈的互動,這個元件顯示後,將會吸引使用者所有的注意力,所以一般會用在非常重要的地方,或是想讓使用者完全專心的情境之下。
基本使用
客製化標頭、尾
點擊外面遮罩時,不關閉對話框
屬性
Name | Value | Type | Default | Required | Note |
---|---|---|---|---|---|
id | String | random | |||
header | { text } or template | String | |||
footer | { text } or template | String | |||
visible | Boolean | false | |||
clickoutside | Boolean | true |
Demo
Last updated