Example #1
0
		public static DropdownTab DropdownTab(TabPanel parent , string text, string iconClass)
		{
			var o = UI.Cast<DropdownTab> (DropdownMenu(text,iconClass));

			o.SetToAtomProperty ("add", (Action<Tab>)((tab) => {
				o.Nav.Add(tab.Item);
				parent.Content.Append (tab.Body);
			}));

			var i = new HtmlListItem ("dropdown");
			jQuery.FromElement (i).Append (o).Append (o.Nav);
			parent.Links.Append (i);
			return o;
		}
Example #2
0
		protected internal DropdownTab (TabPanel parent, string text, string iconClass)
		{
		}