Last active
December 19, 2018 10:29
-
-
Save cahyowhy/eeb29f94831ad27e1215d85a0b0f133b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<form> | |
<div class="block"> | |
<p class="title is-6">Adjust position of grouped component</p> | |
<g-field is-grouped> | |
<div class="control"> | |
<g-button type="primary">Submit</g-button> | |
</div> | |
<div class="control"> | |
<g-button type="light">Cancel</g-button> | |
</div> | |
</g-field> | |
<g-field position="centered" is-grouped> | |
<div class="control"> | |
<g-button type="primary">Submit</g-button> | |
</div> | |
<div class="control"> | |
<g-button type="light">Cancel</g-button> | |
</div> | |
</g-field> | |
<g-field position="right" is-grouped> | |
<div class="control"> | |
<g-button type="primary">Submit</g-button> | |
</div> | |
<div class="control"> | |
<g-button type="light">Cancel</g-button> | |
</div> | |
</g-field> | |
</div> | |
<div class="block"> | |
<p class="title is-6">Using with input</p> | |
<g-field is-grouped> | |
<g-input placeholder="Find username"></g-input> | |
<div class="control"> | |
<g-button type="info">Find</g-button> | |
</div> | |
</g-field> | |
<g-field is-grouped> | |
<g-input placeholder="Find username" is-expanded></g-input> | |
<div class="control"> | |
<g-button type="info">Find</g-button> | |
</div> | |
</g-field> | |
</div> | |
<div class="block"> | |
<p class="title is-6">Using props <span class="tag">is-grouped-multiline</span> to allow | |
controls to fill up multiple lines</p> | |
<g-field is-grouped is-grouped-multiline> | |
<div class="control"> | |
<g-button>One</g-button> | |
</div> | |
<div class="control"> | |
<g-button>Two</g-button> | |
</div> | |
<div class="control"> | |
<g-button>Three</g-button> | |
</div> | |
<div class="control"> | |
<g-button>Four</g-button> | |
</div> | |
<div class="control"> | |
<g-button>Five</g-button> | |
</div> | |
<div class="control"> | |
<g-button>Six</g-button> | |
</div> | |
<div class="control"> | |
<g-button>Seven</g-button> | |
</div> | |
<div class="control"> | |
<g-button>Eight</g-button> | |
</div> | |
<div class="control"> | |
<g-button>Nine</g-button> | |
</div> | |
<div class="control"> | |
<g-button>Ten</g-button> | |
</div> | |
</g-field> | |
</div> | |
</form> | |
</template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment