メインコンテンツまでスキップ
バージョン: 1.0.0

MobileNotification

Overview​

MobileNotification は、ポップアップの通知を表示します。


Specification​

Property​

使用できるプロパティの一覧です。プロパティを指定して値を更新することができます。

NameTypeDefaultDescriptionRemark
classNamestring""コンポーネントの class 名
textstring""表示するテキスト

Constructor​

MobileNotification(options)
使用できるコンストラクタの一覧です。

Parameter​

NameTypeDefaultDescriptionRemark
optionsobject{}コンポーネントのプロパティを含むオブジェクト

Method​

使用できるメソッドの一覧です。

open()​

MobileNotification を表示する

Parameter​

none

Return​

none

close()​

MobileNotification を非表示にする

Parameter​

none

Return​

none


Sample Code​

全てのパラメータを指定した場合のサンプルコードです。

const mobileNotification = new Kuc.MobileNotification({
text: 'Error occurred!',
className: 'options-class'
});
mobileNotification.open();
mobileNotification.close();