Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
84 lines (81 sloc) 2.43 KB
<div class="about">
<h1 ref="componentFocusTarget">This is the orders page</h1>
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
It has been the industry's standard dummy text ever since the 1500s, when
an unknown printer took a galley of type and scrambled it to make a type
specimen book. It has survived not only five centuries, but also the leap
into electronic typesetting, remaining essentially unchanged. It was
popularised in the 1960s with the release of Letraset sheets containing
Lorem Ipsum passages, and more recently with desktop publishing software
like Aldus PageMaker including versions of Lorem Ipsum.
<button class="o-button o-button--bare" @click="startFakeQueryForOrders" v-if="!queryComplete && !isLoading">
Click here to query our database for your past orders
<div v-if="isLoading">
<label for="loading-progress">Loading progress:</label>
<ProgressBar ref="progressbar" id="loading-progress" :value="value" />
<div v-if="queryComplete" ref="loadedContent" tabindex="-1">
<h2>Your past orders</h2>
<li>Accessibility For Everyone</li>
<li>Inclusive Components</li>
<li>Inclusive Design Patterns</li>
<li>Pro HTML5 Accessibility</li>
<li>Color Accessibility Workflows</li>
import ProgressBar from "../components/ProgressBar";
export default {
data() {
return {
isLoading: false,
queryComplete: false,
value: 0
name: "orders",
components: {
methods: {
startFakeQueryForOrders() {
this.isLoading = true;
this.$nextTick(() => {
setTimeout(() => {
setInterval(this.fakeProgressIntervall, 1000);
fakeProgressIntervall() {
if (this.value <= 100) {
this.value = this.value + 10;
focusLoadedFakeContent() {
this.$nextTick(() => {
setTimeout(() => {
}, 750);
watch: {
value (value) {
if (value >= 100) {
this.isLoading = false;
this.queryComplete = true;
You can’t perform that action at this time.