Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds a new ClickName parameter for Buttons, to toggle the value rendered on clicking; Adds Url, DataValue, Tab state, and ClickName to Update-PodeWebButton #585

Merged
merged 1 commit into from
Jun 15, 2024

Conversation

Badgerati
Copy link
Owner

Description of the Change

  • Adds a new ClickName parameter for Buttons, to toggle the value rendered on clicking
  • Adds Url, DataValue, Tab state, and ClickName to Update-PodeWebButton

Related Issue

A link/reference to the GitHub issue.

Examples

  • ClickName
New-PodeWebButton -Name 'Disable Link' -ClickName 'Disabling...' -ScriptBlock {
    Start-Sleep -Seconds 2
    Disable-PodeWebLink -Id 'link'
}
  • Update URL
New-PodeWebButton -Name 'Update Button' -ScriptBlock {
    Update-PodeWebButton -Name 'Example Button' -Url 'https://google.com'
}

…red on clicking; Adds Url, DataValue, Tab state, and ClickName to Update-PodeWebButton
@Badgerati Badgerati added the enhancement ⬆️ New feature or request label Jun 15, 2024
@Badgerati Badgerati added this to the 1.0.0 milestone Jun 15, 2024
@Badgerati Badgerati self-assigned this Jun 15, 2024
@Badgerati Badgerati linked an issue Jun 15, 2024 that may be closed by this pull request
@Badgerati Badgerati merged commit 7d02dc8 into develop Jun 15, 2024
3 checks passed
@Badgerati Badgerati deleted the update_btn_url branch June 15, 2024 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ⬆️ New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ClickName parameter on Buttons, to change value when clicked
1 participant