Skip to main content

MediaRules

Assembly: ServiceStack.Client.dll
View Source
Declaration
public static class MediaRules

Fields

ExtraSmall

View Source
Declaration
public static MediaRuleCreator ExtraSmall

Small

View Source
Declaration
public static MediaRuleCreator Small

Medium

View Source
Declaration
public static MediaRuleCreator Medium

Large

View Source
Declaration
public static MediaRuleCreator Large

ExtraLarge

View Source
Declaration
public static MediaRuleCreator ExtraLarge

ExtraLarge2x

View Source
Declaration
public static MediaRuleCreator ExtraLarge2x

Methods

MinVisibleSize(IEnumerable<MediaRule>, String)

Returns the minimum visible size when the target should be visible. Returns next Size if no rule was defined for the target. Returns ExtraSmall (xs) if there were no 'Show' Media Rules.

View Source
Declaration
public static string MinVisibleSize(this IEnumerable<MediaRule> mediaRules, string target)
Returns

System.String

Parameters
TypeNameDescription
System.Collections.Generic.IEnumerable<ServiceStack.MediaRule>mediaRules

| | System.String | target | Property Name

|