File tree Expand file tree Collapse file tree 1 file changed +12
-25
lines changed Expand file tree Collapse file tree 1 file changed +12
-25
lines changed Original file line number Diff line number Diff line change 23
23
] ,
24
24
inlineCSS : true ,
25
25
noIDLIn : true ,
26
- noLegacyStyle :true ,
27
26
wg : "Device APIs Working Group" ,
28
27
wgURI : "http://www.w3.org/2009/dap/" ,
29
28
wgPublicList : "public-device-apis" ,
126
125
< h2 >
127
126
Vibration Interface
128
127
h2 >
129
- < dl title =
130
- "typedef (unsigned long or sequence<unsigned long>) VibratePattern "
131
- class ="idl "> dl >
132
- < dl title ='partial interface Navigator ' class ='idl ' data-merge =
133
- "VibratePattern ">
134
- < dt >
135
- boolean vibrate()
136
- dt >
137
- < dd >
138
- < dl class ='parameters '>
139
- < dt >
140
- VibratePattern pattern
141
- dt >
142
- < dd > dd >
143
- dl >
144
- dd >
145
- dl >
146
- < p >
147
- The < code id =
148
- "widl-Navigator-vibrate-boolean-unsigned-long-sequence-unsigned-long--pattern ">
149
- vibrate()code > method, when invoked, MUST run the algorithm for
150
- < a > processing vibration patternsa > .
128
+ < pre class ="idl ">
129
+ typedef (unsigned long or sequence<unsigned long>) VibratePattern;
130
+
131
+ partial interface Navigator {
132
+ boolean vibrate (VibratePattern pattern);
133
+ };
134
+ pre >
135
+ < p link-for ="Navigator ">
136
+ The < code > < a > vibratea > ()code > method, when invoked, MUST run the
137
+ algorithm for < a > processing vibration patternsa > .
151
138
p >
152
139
< p >
153
140
The rules for < dfn > processing vibration patternsdfn > are as given in
154
141
the following algorithm:
155
142
p >
156
- < ol >
143
+ < ol link-for =" Navigator " >
157
144
< li > Let < var > patternvar > be the first method argument of the
158
- < code > vibrate()code > method.
145
+ < code > < a > vibratea > ()code > method.
159
146
li >
160
147
< li > Let < var > valid patternvar > be the result of passing
161
148
< var > patternvar > to < a > validate and normalizea > .
You can’t perform that action at this time.
0 commit comments