Skip to content

Commit af39144

Browse files
Update WebForms.cs
1 parent 62e1d8d commit af39144

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

class/WebForms.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ public void SetModuleMethodEventListener(string InputPlace, string HtmlEventList
374374

375375
// Service Worker
376376
// To Use Service Worker, You Need To Add The Elanat Dedicated Module (service-worker.js) On The Client Side
377-
public void ServiceWorkerRegister(string Path = null, string ScobePath = null) => Add("wR", Path + "|" + ScobePath);
377+
public void ServiceWorkerRegister(string Path = null, string ScopePath = null) => Add("wR", Path + "|" + ScopePath);
378378
public void ServiceWorkerPreCacheStatic(string[] PathList) => Add("wp",string.Join("|", PathList));
379379
public void ServiceWorkerDynamicCache(string Path, int Seconds = 0) => Add("wc", Path + (Seconds > 0 ? "|" + Seconds : ""));
380380
public void ServiceWorkerDeleteDynamicCache() => Add("wd");
@@ -906,10 +906,13 @@ public class InputPlace
906906
public static string Id(string Id) => Id;
907907
public static string Name(string Name) => '(' + Name + ')';
908908
public static string Name(string Name, int Index) => '(' + Name + ')' + Index;
909+
public static string AllNames(string Name) => "(" + Name + ")*";
909910
public static string Tag(string Tag) => '<' + Tag + '>';
910911
public static string Tag(string Tag, int Index) => '<' + Tag + '>' + Index;
912+
public static string AllTags(string Tag) => "<" + Tag + ">*";
911913
public static string Class(string Class) => '{' + Class + '}';
912914
public static string Class(string Class, int Index) => '{' + Class + '}' + Index;
915+
public static string AllClasses(string Class) => "{" + Class + "}*";
913916
public static string Query(string Query) => "*" + Query.Replace("=", "$[eq];");
914917
public static string QueryAll(string Query) => "[" + Query.Replace("=", "$[eq];");
915918
}
@@ -1284,7 +1287,7 @@ public static string AppendPlace(this string Text, string Value)
12841287
return Text + "|" + Value;
12851288
}
12861289

1287-
public static string AppendParrent(this string Text)
1290+
public static string AppendParent(this string Text)
12881291
{
12891292
return "/" + Text;
12901293
}

0 commit comments

Comments
 (0)