C# 클래스 Automobile.Mobile.Framework.JQuery

Builds JQuery statements
파일 보기 프로젝트 열기: vistaprint/automobile

공개 메소드들

메소드 설명
AttributeSelector ( string attrName, string value ) : string

Formats an attribute selector with no modifier

AttributeSelector ( string attrName, string value, string mod ) : string

Formats an attribute selector

ChildSelector ( string parent ) : string

Selects all immediate children of a parent

ChildSelector ( string parent, string child ) : string

Applies a selector on all children of a parent

ClassSelector ( string className ) : string

Formats a class selector

ContainsSelector ( string text ) : string

Formats a contains selector

Format ( string selector ) : string

Formats the JQuery constructor with a selector

Format ( string selector, string member ) : string

Formats the JQuery constructor with a selector and member

IdSelector ( string id ) : string

Formats an id selector

IndexSelector ( string baseSelector, int index ) : string

Formats an index selector

ParentSelector ( string child ) : string

Formats a selector which is eqivalent to selecting the first parent of the child

메소드 상세

AttributeSelector() 공개 정적인 메소드

Formats an attribute selector with no modifier
public static AttributeSelector ( string attrName, string value ) : string
attrName string name of the attribute
value string value of the attribute
리턴 string

AttributeSelector() 공개 정적인 메소드

Formats an attribute selector
public static AttributeSelector ( string attrName, string value, string mod ) : string
attrName string name of the attribute
value string value of the attribute
mod string Modifier (|, *, ~, $, !, ^)
리턴 string

ChildSelector() 공개 정적인 메소드

Selects all immediate children of a parent
public static ChildSelector ( string parent ) : string
parent string
리턴 string

ChildSelector() 공개 정적인 메소드

Applies a selector on all children of a parent
public static ChildSelector ( string parent, string child ) : string
parent string
child string
리턴 string

ClassSelector() 공개 정적인 메소드

Formats a class selector
public static ClassSelector ( string className ) : string
className string class to select
리턴 string

ContainsSelector() 공개 정적인 메소드

Formats a contains selector
public static ContainsSelector ( string text ) : string
text string Text too search for
리턴 string

Format() 공개 정적인 메소드

Formats the JQuery constructor with a selector
public static Format ( string selector ) : string
selector string selector to use
리턴 string

Format() 공개 정적인 메소드

Formats the JQuery constructor with a selector and member
public static Format ( string selector, string member ) : string
selector string selector to use
member string member to call
리턴 string

IdSelector() 공개 정적인 메소드

Formats an id selector
public static IdSelector ( string id ) : string
id string The id to select
리턴 string

IndexSelector() 공개 정적인 메소드

Formats an index selector
public static IndexSelector ( string baseSelector, int index ) : string
baseSelector string base selector to index
index int index
리턴 string

ParentSelector() 공개 정적인 메소드

Formats a selector which is eqivalent to selecting the first parent of the child
public static ParentSelector ( string child ) : string
child string Child to select the parent of
리턴 string