Skip to content

Instantly share code, notes, and snippets.

@fu-sen
Last active February 11, 2023 09:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fu-sen/cf53b10b8382bc11c6be3f988d022708 to your computer and use it in GitHub Desktop.
Save fu-sen/cf53b10b8382bc11c6be3f988d022708 to your computer and use it in GitHub Desktop.
Misskey: Button to post a fixed note on Misskey widget AiScript App | Misskey ウィジェット AiScript App 固定ノート(投稿)ボタン
// CC0 1.0 https://creativecommons.org/publicdomain/zero/1.0/deed
let button = `button name`
let result = `test`
Ui:render([
Ui:C:container({
children: [
Ui:C:postFormButton({
text: button
rounded: true
primary: true
form: {
text: `{result}`
}
})
]
})
])
@fu-sen
Copy link
Author

fu-sen commented Feb 11, 2023

Misskey ウィジェット AiScript App で固定ノート(投稿)ボタンを作成する
https://misskey.io/notes/9aszutgwcn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment