diff options
| author | かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com> | 2024-03-30 15:34:05 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-30 15:34:05 +0900 |
| commit | 50da7d2a2728745bcf29cf71fb230c85a1845060 (patch) | |
| tree | 83a8da1d051f24f66d8a56039b2c2726ae2629d9 /packages/frontend/src/components/MkButton.vue | |
| parent | fix: misskey-js、bubble-game、reversiのビルドをesbuildに統合する ... (diff) | |
| download | sharkey-50da7d2a2728745bcf29cf71fb230c85a1845060.tar.gz sharkey-50da7d2a2728745bcf29cf71fb230c85a1845060.tar.bz2 sharkey-50da7d2a2728745bcf29cf71fb230c85a1845060.zip | |
enhance(frontend): 2要素認証セットアップウィザードにアプリを起動するボタンを新設 (#13636)
* enhance(frontend): 2要素認証セットアップウィザードにアプリを起動するボタンを新設
* add comment
* use css module
Diffstat (limited to 'packages/frontend/src/components/MkButton.vue')
| -rw-r--r-- | packages/frontend/src/components/MkButton.vue | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/frontend/src/components/MkButton.vue b/packages/frontend/src/components/MkButton.vue index 817f1aadf3..3489255b91 100644 --- a/packages/frontend/src/components/MkButton.vue +++ b/packages/frontend/src/components/MkButton.vue @@ -23,6 +23,7 @@ SPDX-License-Identifier: AGPL-3.0-only v-else class="_button" :class="[$style.root, { [$style.inline]: inline, [$style.primary]: primary, [$style.gradate]: gradate, [$style.danger]: danger, [$style.rounded]: rounded, [$style.full]: full, [$style.small]: small, [$style.large]: large, [$style.transparent]: transparent, [$style.asLike]: asLike }]" :to="to ?? '#'" + :behavior="linkBehavior" @mousedown="onMousedown" > <div ref="ripples" :class="$style.ripples" :data-children-class="$style.ripple"></div> @@ -43,6 +44,7 @@ const props = defineProps<{ inline?: boolean; link?: boolean; to?: string; + linkBehavior?: null | 'window' | 'browser'; autofocus?: boolean; wait?: boolean; danger?: boolean; |