Skip to content
This repository has been archived by the owner on Jul 12, 2020. It is now read-only.

VueStrap docs: dynamic-panel examples are broken #81 #2

Merged
merged 2 commits into from
Jul 29, 2017
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
18 changes: 9 additions & 9 deletions build/build-docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -30169,17 +30169,17 @@
// <template>
// <doc-section id="dynamicPanel" name="DynamicPanel">
// <div class="bs-example">
// <dynamic-panel src="/docs/loadContent.html" header="Load content from 'content.html'" is-open="false"></dynamic-panel>
// <dynamic-panel src="/docs/loadContent.html"
// <dynamic-panel src="docs/loadContent.html" header="Load content from 'content.html'" is-open="false"></dynamic-panel>
// <dynamic-panel src="docs/loadContent.html"
// fragment="fragment"
// header="Load fragment content from 'content.html'"
// is-open></dynamic-panel>
// </div>
// <doc-code language="markup">
// <dynamic-panel src="/docs/loadContent.html"
// <dynamic-panel src="docs/loadContent.html"
// header="Load content from 'content.html'"
// is-open></dynamic-panel>
// <dynamic-panel src="/docs/loadContent.html#fragment"
// <dynamic-panel src="docs/loadContent.html#fragment"
// fragment="fragment"
// header="Load fragment content from 'content.html'"
// is-open></dynamic-panel>
Expand All @@ -30206,7 +30206,7 @@
/* 338 */
/***/ (function(module, exports) {

module.exports = "<doc-section id=\"dynamicPanel\" name=\"DynamicPanel\">\n <div class=\"bs-example\">\n <dynamic-panel src=\"/docs/loadContent.html\" header=\"Load content from 'content.html'\" is-open=\"false\"></dynamic-panel>\n <dynamic-panel src=\"/docs/loadContent.html\"\n fragment=\"fragment\"\n header=\"Load fragment content from 'content.html'\"\n is-open></dynamic-panel>\n </div>\n <doc-code language=\"markup\">\n <dynamic-panel src=\"/docs/loadContent.html\"\n header=\"Load content from 'content.html'\"\n is-open></dynamic-panel>\n <dynamic-panel src=\"/docs/loadContent.html#fragment\"\n fragment=\"fragment\"\n header=\"Load fragment content from 'content.html'\"\n is-open></dynamic-panel>\n </doc-code>\n <doc-table>\n\n </doc-table>\n </doc-section>";
module.exports = "<doc-section id=\"dynamicPanel\" name=\"DynamicPanel\">\n <div class=\"bs-example\">\n <dynamic-panel src=\"docs/loadContent.html\" header=\"Load content from 'content.html'\" is-open=\"false\"></dynamic-panel>\n <dynamic-panel src=\"docs/loadContent.html\"\n fragment=\"fragment\"\n header=\"Load fragment content from 'content.html'\"\n is-open></dynamic-panel>\n </div>\n <doc-code language=\"markup\">\n <dynamic-panel src=\"docs/loadContent.html\"\n header=\"Load content from 'content.html'\"\n is-open></dynamic-panel>\n <dynamic-panel src=\"docs/loadContent.html#fragment\"\n fragment=\"fragment\"\n header=\"Load fragment content from 'content.html'\"\n is-open></dynamic-panel>\n </doc-code>\n <doc-table>\n\n </doc-table>\n </doc-section>";

/***/ }),
/* 339 */
Expand Down Expand Up @@ -31547,7 +31547,7 @@
// </div>
// </Question>
// </morph>
// <morph title="Remote question" src="/docs/question.html"></morph>
// <morph title="Remote question" src="docs/question.html"></morph>
// </div>
// <p>
// Use <code>has-input</code> attribute to add an input box for user to enter their answer.
Expand Down Expand Up @@ -31589,7 +31589,7 @@
// Body
// </Question>

// Use inline with morph
// Use inline with Morph
// <morph title="Review question">
// <Question>
// Body
Expand All @@ -31603,7 +31603,7 @@
// </morph>

// Use inline with Morph dynamic loading
// <morph title="Review question" src="/docs/question.html">
// <morph title="Remote question" src="docs/question.html">
// </morph>
// </doc-code>
// <doc-table>
Expand All @@ -31618,7 +31618,7 @@
/* 369 */
/***/ (function(module, exports) {

module.exports = "<doc-section id=\"question\" name=\"Question\">\n <p>\n Question shows a structure like below, which consists of a question body, hint and answer.\n </p>\n <div class=\"bs-example\">\n <Question>\n Body\n <div slot=\"hint\">\n Hint\n </div>\n <div slot=\"answer\">\n Answer\n </div>\n </Question>\n </div>\n <p>If no Hint slot is specified, it will not show:</p>\n <div class=\"bs-example\">\n <Question>\n Body\n <div slot=\"answer\">\n Answer\n </div>\n </Question>\n </div>\n <p>If no Answer slot is specified, it will not show:</p>\n <div class=\"bs-example\">\n <Question>\n Body\n </Question>\n </div>\n <p>\n Question could be used with Morph component to create a inline question group.<br>\n Could be also stored in a remote file and load it when it is to be shown.\n </p>\n <div class=\"bs-example\">\n <morph title=\"Review question\">\n <Question>\n Body\n <div slot=\"hint\">\n Hint\n </div>\n <div slot=\"answer\">\n Answer\n </div>\n </Question>\n </morph>\n <morph title=\"Remote question\" src=\"/docs/question.html\"></morph>\n </div>\n <p>\n Use <code>has-input</code> attribute to add an input box for user to enter their answer.\n </p>\n <div class=\"bs-example\">\n <Question has-input>\n Body\n <div slot=\"hint\">\n Hint\n </div>\n <div slot=\"answer\">\n Answer\n </div>\n </Question>\n </div>\n\n <doc-code language=\"markup\">\n Use alone\n <Question>\n Body\n <div slot=\"hint\">\n Hint\n </div>\n <div slot=\"answer\">\n Answer\n </div>\n </Question>\n\n If no Hint slot is specified, it will not show:\n <Question>\n Body\n <div slot=\"answer\">\n Answer\n </div>\n </Question>\n\n If no Answer slot is specified, it will not show:\n <Question>\n Body\n </Question>\n\n Use inline with morph\n <morph title=\"Review question\">\n <Question>\n Body\n <div slot=\"hint\">\n Hint\n </div>\n <div slot=\"answer\">\n Answer\n </div>\n </Question>\n </morph>\n\n Use inline with Morph dynamic loading\n <morph title=\"Review question\" src=\"/docs/question.html\">\n </morph>\n </doc-code>\n <doc-table>\n\n </doc-table>\n </doc-section>";
module.exports = "<doc-section id=\"question\" name=\"Question\">\n <p>\n Question shows a structure like below, which consists of a question body, hint and answer.\n </p>\n <div class=\"bs-example\">\n <Question>\n Body\n <div slot=\"hint\">\n Hint\n </div>\n <div slot=\"answer\">\n Answer\n </div>\n </Question>\n </div>\n <p>If no Hint slot is specified, it will not show:</p>\n <div class=\"bs-example\">\n <Question>\n Body\n <div slot=\"answer\">\n Answer\n </div>\n </Question>\n </div>\n <p>If no Answer slot is specified, it will not show:</p>\n <div class=\"bs-example\">\n <Question>\n Body\n </Question>\n </div>\n <p>\n Question could be used with Morph component to create a inline question group.<br>\n Could be also stored in a remote file and load it when it is to be shown.\n </p>\n <div class=\"bs-example\">\n <morph title=\"Review question\">\n <Question>\n Body\n <div slot=\"hint\">\n Hint\n </div>\n <div slot=\"answer\">\n Answer\n </div>\n </Question>\n </morph>\n <morph title=\"Remote question\" src=\"docs/question.html\"></morph>\n </div>\n <p>\n Use <code>has-input</code> attribute to add an input box for user to enter their answer.\n </p>\n <div class=\"bs-example\">\n <Question has-input>\n Body\n <div slot=\"hint\">\n Hint\n </div>\n <div slot=\"answer\">\n Answer\n </div>\n </Question>\n </div>\n\n <doc-code language=\"markup\">\n Use alone\n <Question>\n Body\n <div slot=\"hint\">\n Hint\n </div>\n <div slot=\"answer\">\n Answer\n </div>\n </Question>\n\n If no Hint slot is specified, it will not show:\n <Question>\n Body\n <div slot=\"answer\">\n Answer\n </div>\n </Question>\n\n If no Answer slot is specified, it will not show:\n <Question>\n Body\n </Question>\n\n Use inline with Morph\n <morph title=\"Review question\">\n <Question>\n Body\n <div slot=\"hint\">\n Hint\n </div>\n <div slot=\"answer\">\n Answer\n </div>\n </Question>\n </morph>\n\n Use inline with Morph dynamic loading\n <morph title=\"Remote question\" src=\"docs/question.html\">\n </morph>\n </doc-code>\n <doc-table>\n\n </doc-table>\n </doc-section>";

/***/ }),
/* 370 */
Expand Down
2 changes: 1 addition & 1 deletion build/build-docs.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/example/dynamicPanelDocs.vue
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<template>
<doc-section id="dynamicPanel" name="DynamicPanel">
<div class="bs-example">
<dynamic-panel src="/docs/loadContent.html" header="Load content from 'content.html'" is-open="false"></dynamic-panel>
<dynamic-panel src="/docs/loadContent.html"
<dynamic-panel src="docs/loadContent.html" header="Load content from 'content.html'" is-open="false"></dynamic-panel>
<dynamic-panel src="docs/loadContent.html"
fragment="fragment"
header="Load fragment content from 'content.html'"
is-open></dynamic-panel>
</div>
<doc-code language="markup">
<dynamic-panel src="/docs/loadContent.html"
<dynamic-panel src="docs/loadContent.html"
header="Load content from 'content.html'"
is-open></dynamic-panel>
<dynamic-panel src="/docs/loadContent.html#fragment"
<dynamic-panel src="docs/loadContent.html#fragment"
fragment="fragment"
header="Load fragment content from 'content.html'"
is-open></dynamic-panel>
Expand Down
6 changes: 3 additions & 3 deletions docs/example/questionDocs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
</div>
</Question>
</morph>
<morph title="Remote question" src="/docs/question.html"></morph>
<morph title="Remote question" src="docs/question.html"></morph>
</div>
<p>
Use <code>has-input</code> attribute to add an input box for user to enter their answer.
Expand Down Expand Up @@ -87,7 +87,7 @@
Body
</Question>

Use inline with morph
Use inline with Morph
<morph title="Review question">
<Question>
Body
Expand All @@ -101,7 +101,7 @@
</morph>

Use inline with Morph dynamic loading
<morph title="Review question" src="/docs/question.html">
<morph title="Remote question" src="docs/question.html">
</morph>
</doc-code>
<doc-table>
Expand Down