Skip to content
This repository was archived by the owner on Mar 29, 2023. It is now read-only.

New style Format and merge #2

Merged
merged 6 commits into from
Dec 27, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ This library is in early alpha stage. The list of supported components is pretty
## Supported Components

- Checkbox
- Model: checked
- Model: :checked / @change
- Props: disabled, label
- Button
- Props: disabled, checked, primary
Expand All @@ -35,12 +35,13 @@ This library is in early alpha stage. The list of supported components is pretty
- Props: iconName
- Image
- Info: Take a look at the [Official Documentation](https://developer.microsoft.com/en-us/fabric#/components/image). I implemented all features and the syntax is very similar!
- TextField
- Model: :text / @input
- Props: label, disabled, multiline, borderless, required, resizable, underlined, inputClassName

## In-Progress Components

- TextField
- ChoiceGroup
- Icon

## Contribution

Expand Down
8 changes: 7 additions & 1 deletion src/components/Overview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ import {ImageFit} from "./Image/OfficeImage.types";
<OfficeImage src="http://placehold.it/350x150" alt="Example" maximizeFrame/>
<hr>
<OfficeIcon iconName="BingLogo"/>
<hr>
<OfficeTextField label="Test Text" v-model="txt"></OfficeTextField>
<OfficeTextField label="Test Text" underlined required v-model="txt"></OfficeTextField>
</div>
</template>

Expand All @@ -30,18 +33,21 @@ import {ImageFit} from "./Image/OfficeImage.types";
import {Component, Prop, Vue} from "vue-property-decorator";
import OfficeButton from "./Button/OfficeButton.vue";
import OfficeCheckbox from "./Checkbox/OfficeCheckbox.vue";
import OfficeTextField from "@/components/TextField/OfficeTextField.vue";
@Component({
components: {
OfficeIcon,
OfficeImage,
OfficeLabel,
OfficeCheckbox,
OfficeButton
OfficeButton,
OfficeTextField
},
})
export default class Overview extends Vue {
@Prop() private msg!: string;
private txt: string = "test";
private currentImageFit: ImageFit = ImageFit.contain;
Expand Down
Loading