forked from nikhilk/scriptsharp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjQueryPosition.cs
More file actions
54 lines (46 loc) · 1.14 KB
/
Copy pathjQueryPosition.cs
File metadata and controls
54 lines (46 loc) · 1.14 KB
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
// jQueryPosition.cs
// Script#/Libraries/jQuery/Core
// This source code is subject to terms and conditions of the Apache License, Version 2.0.
//
using System;
using System.Runtime.CompilerServices;
using System.Collections;
namespace jQueryApi {
/// <summary>
/// Provides information about the position of an element.
/// </summary>
[ScriptImport]
[ScriptIgnoreNamespace]
[ScriptName("Object")]
public sealed class jQueryPosition {
public jQueryPosition() {
}
public jQueryPosition(params object[] nameValuePairs) {
}
/// <summary>
/// Gets the left coordinate.
/// </summary>
[ScriptField]
public int Left {
get {
return 0;
}
set {
}
}
/// <summary>
/// Gets the top coordinate.
/// </summary>
[ScriptField]
public int Top {
get {
return 0;
}
set {
}
}
public static implicit operator Dictionary(jQueryPosition position) {
return null;
}
}
}