ショップ

企業向け

The v-banner component is used as middle-interruptive message to user with 1-2 actions. It comes in 2 variations, single-line and multi-line (implicit). These can have icons which you can use with your message and actions.

Banners can have 1-2 lines of text, actions and icon.

Options

確認したいコンポーネントを下から選び、利用できる props、slots、events、functions を確認してください。

以下に、簡単な例から複雑な例まで示します。

Single-line VBanner is used for small amount of information and is recommended for desktop only implementations. You can optionally enable the sticky prop to ensure the content is pinned to the screen (note: does not work in IE11). You can find more information about sticky positioning here.

Two-line VBanner can store larger amount of data, use it for big messages.

The icon slot allows you to to explicitly control the content and functionality within it.

VBanner emits click:icon event on icon click, even with custom icon slot.

the actions slot has dismiss function in its scope, you can use it to easily dismiss banner.

準備はいいですか? 以下から続きが読めます。

Caught a mistake or want to contribute to the documentation? Edit this page on GitHub!