Skip to main content

notification_ctor

Function notification_ctor 

Source
pub(crate) fn notification_ctor(
    _it: &mut Interp,
    _t: Value,
    a: &[Value],
) -> Result<Value, Value>
Expand description

new Notification(title, options)。この処理系には通知 UI が無いため、 実際の画面表示は行わず title/body/icon/tag プロパティと no-op close()/addEventListener() のみを持つ簡略実装。