@button({
type: 'button',
class: 'w-full motion-preset-fade',
'data-button': 'pairing-code',
style: 'display: none',
onclick: 'deviceStart({ usePairingCode: true })',
})
Start with Pairing Code
@end
@button({
type: 'button',
class: 'w-full motion-preset-fade',
'data-button': 'qr-code',
style: 'display: none',
onclick: 'deviceStart({ usePairingCode: false })',
})
Start with QR Code
@end
@button({
type: 'button',
class: 'motion-preset-fade',
'data-button': 'start-session',
style: 'display: none',
onclick: 'deviceStart({ usePairingCode: false })',
})
Start Device
@end
@button({
type: 'button',
class: 'motion-preset-pop motion-duration-200',
'data-button': 'copy-code',
onclick: 'copyCode()',
style: 'display: none',
})
Copy Code
@end
@button({
type: 'button',
class: 'motion-preset-pop motion-duration-200',
'data-button': 'force-logout',
style: 'display: none',
onclick: 'deviceLogout()',
})
Force Logout
@end
@button({
type: 'button',
class: 'motion-preset-pop motion-duration-200',
'data-button': 'logout',
style: 'display: none',
onclick: 'deviceLogout()',
})
Log Out
@end
@button({
type: 'button',
class: 'motion-preset-pop motion-duration-200',
'data-button': 'stop-session',
style: 'display: none',
onclick: 'deviceStop()',
})
Stop Session
@end