forked from onnoo/stillnessfate.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docs.html
290 lines (243 loc) · 15.7 KB
/
docs.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
<!DOCTYPE HTML>
<!--
Landed by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<title>Docs</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!--[if lte IE 8]><script src="assets/js/ie/html5shiv.js"></script><![endif]-->
<link rel="stylesheet" href="assets/css/main.css" />
<link rel="stylesheet" href="assets/css/docs.css" />
<link rel="stylesheet" href="assets/css/jquery.mCustomScrollbar.css" />
<!--[if lte IE 9]><link rel="stylesheet" href="assets/css/ie9.css" /><![endif]-->
<!--[if lte IE 8]><link rel="stylesheet" href="assets/css/ie8.css" /><![endif]-->
<link rel="shortcut icon" href="favicon.ico">
</head>
<body style="">
<div id="page-wrapper">
<!-- Header -->
<header id="header">
</header>
<!-- Sidebar -->
<section id="content">
<div class="vertical-menu" style="height: 100%">
<input type="text" id="myInput" placeholder="Search...">
<hr style="width:110%">
<a href="#" class="active" style="padding-bottom: 1px;">Getting Started</a>
<a href="#" style="text-decoration: none">Introduction</a>
<a href="#">Download</a>
<a href="#">Contents</a>
<a href="#">Browsers & devices</a>
<a href="#">JavaScript</a>
<a href="#">Theming</a>
<a href="#">Build Tools</a>
<a href="#">Webpack</a>
<a href="#">Accessibility</a>
<hr style="border-color: rgba(0, 0, 0, 0);">
<a href="#" class="contents">Layout</a>
<a href="#" class="contents">Content</a>
<a href="#" class="contents">Components</a>
<a href="#" class="contents">Utilities</a>
<a href="#" class="contents">Extend</a>
<a href="#" class="contents">Migration</a>
<a href="#" class="contents">About</a>
</div>
</section>
<!-- Main -->
<div id="main" class="">
<div class="" style="background-color: #1c1d26;">
<!-- Content -->
<section class="docs-content" style="margin-left: 200px; margin-top: 25px; padding-left: 20px; min-width: 900px;">
<h2>Documentation for developers. (Reference)</h2>
<br />
<strong>make_card</strong><span>(in_author, in_title, in_text, in_image, in_card_id, in_pages)</span>
<blockquote>
<p>This is a function that generates new card news in the card news table. This only works on the client side. No requests are sent to the server.</p>
<br />
<strong>Parameters</strong>
<p>in_author</p>
<blockquote>
<p>The author of the card news. This is a string of up to 17 characters.</p>
</blockquote>
<p>in_title</p>
<blockquote>
<p>The title of the card news. This is a string of up to 24 characters.</p>
</blockquote>
<p>in_text</p>
<blockquote>
<p>The content of the card news. This is a string of up to 64 characters.</p>
</blockquote>
<p>in_image</p>
<blockquote>
<p>The main image URL of the card news. This is a string of up to 2100 characters.</p>
</blockquote>
<p>in_card_id</p>
<blockquote>
<p>The unique id of card news. This is a unique integer.</p>
</blockquote>
<p>in_pages</p>
<blockquote>
<p>The number of pages in card news. This is an integer greater than or equal to zero.</p>
</blockquote>
<strong>Return value</strong>
<p>This function does not return a value.</p>
</blockquote>
<hr /><!-- =================================================================================== -->
<strong>load_card_news</strong><span>(complete_function)</span>
<blockquote>
<p>This is a function that receives a list of card news from the server and updates the contents of the card news table.</p>
<br />
<strong>Parameters</strong>
<p>complete_function[option]</p>
<blockquote>
<p>This function is called after the card news list has been successfully received and the card news table has been updated.</p>
</blockquote>
<strong>Return value</strong>
<p>This function does not return a value.</p>
</blockquote>
<hr /><!-- =================================================================================== -->
<strong>share</strong><span>(site, url)</span>
<blockquote>
<p>This is a function that opens a window that shares a card news page with another SNS.</p>
<br />
<strong>Parameters</strong>
<p>site</p>
<blockquote>
<p>The SNS to share card news page. ('facebook', 'twitter', 'google', ...)</p>
</blockquote>
<p>url</p>
<blockquote>
<p>The URL of the card news page to share.</p>
</blockquote>
<strong>Return value</strong>
<p>This function does not return a value.</p>
</blockquote>
<hr /><!-- =================================================================================== -->
<strong>session_check</strong><span>()</span>
<blockquote>
<p>This is a function that checks if the current session is valid. It gets the results from the server and changes the user's status to log out if the session is not valid.</p>
<br />
<strong>Return value</strong>
<p>This function does not return a value.</p>
</blockquote>
<hr /><!-- =================================================================================== -->
<strong>enable_loading</strong><span>()</span>
<blockquote>
<p>This is a function that creates a loading mask on the page and blocks user input.</p>
<br />
<strong>Return value</strong>
<p>This function does not return a value.</p>
</blockquote>
<hr /><!-- =================================================================================== -->
<strong>disable_loading</strong><span>()</span>
<blockquote>
<p>This is a function that removes the generated loading mask.</p>
<br />
<strong>Return value</strong>
<p>This function does not return a value.</p>
</blockquote>
<hr /><!-- =================================================================================== -->
<strong>enable_mask</strong><span>(name)</span>
<blockquote>
<p>This is a function that creates a mask with a specific name on the page. Mask blocks user input and disappears when clicked.</p>
<br />
<strong>Parameters</strong>
<p>name</p>
<blockquote>
<p>The name of the mask to create.</p>
</blockquote>
<strong>Return value</strong>
<p>This function does not return a value.</p>
</blockquote>
<hr /><!-- =================================================================================== -->
<strong>disable_mask</strong><span>(name)</span>
<blockquote>
<p>This is a function that removes the mask of the generated specific name.</p>
<br />
<strong>Parameters</strong>
<p>name</p>
<blockquote>
<p>The name of the mask to remove.</p>
</blockquote>
<strong>Return value</strong>
<p>This function does not return a value.</p>
</blockquote>
<hr /><!-- =================================================================================== -->
<strong>getQuerystring</strong><span>(paramName)</span>
<blockquote>
<p>This is a function that extracts certain parameters from the query of the current url.</p>
<br />
<strong>Parameters</strong>
<p>paramName</p>
<blockquote>
<p>The name of the parameter to extract.</p>
</blockquote>
<strong>Return value</strong>
<p>The value of the extracted parameter. This is a string type.</p>
</blockquote>
<hr /><!-- =================================================================================== -->
<strong>open_card_news_viewer</strong><span>(id, edit_mode)</span>
<blockquote>
<p>This is a function that opens specific card news to the card news viewer.</p>
<br />
<strong>Parameters</strong>
<p>id</p>
<blockquote>
<p>The card is the ID of the target card news that is opened by the news viewer.</p>
</blockquote>
<p>edit_mode[option]</p>
<blockquote>
<p>Whether to enable edit mode. The default setting is false.</p>
</blockquote>
<strong>Return value</strong>
<p>This function does not return a value.</p>
</blockquote>
<hr /><!-- =================================================================================== -->
<strong>set_state_login</strong><span>()</span>
<blockquote>
<p>This function sets the current user's status to login. This only works on the client side. No requests are sent to the server.</p>
<br />
<strong>Return value</strong>
<p>This function does not return a value.</p>
</blockquote>
<hr /><!-- =================================================================================== -->
<strong>set_state_logout</strong><span>()</span>
<blockquote>
<p>This function sets the current user's status to log out. This only works on the client side. No requests are sent to the server.</p>
<br />
<strong>Return value</strong>
<p>This function does not return a value.</p>
</blockquote>
</section>
</div>
</div>
</div>
<!-- Scripts -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/jquery.scrolly.min.js"></script>
<script src="assets/js/jquery.dropotron.min.js"></script>
<script src="assets/js/jquery.scrollex.min.js"></script>
<script src="assets/js/skel.min.js"></script>
<script src="assets/js/util.js"></script>
<script src="assets/js/jquery.mCustomScrollbar.concat.min.js"></script>
<!--[if lte IE 8]><script src="assets/js/ie/respond.min.js"></script><![endif]-->
<script src="assets/js/main.js"></script>
<script>
(function($){
$(window).on("load",function(){
$(".vertical-menu").mCustomScrollbar({
alwaysShowScrollbar: 1,
autoHideScrollbar: true,
setHeight:"100%",
scrollbarPosition:"relative",
theme:"light"
});
});
})(jQuery);
</script>
</body>
</html>