kendo.mobile-vsdoc.js 283 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065
  1. // jshint unused: false
  2. var kendo = {
  3. ui: {},
  4. mobile: {ui: {}},
  5. dataviz: {ui: {}},
  6. data: {}
  7. };
  8. if (!kendo.kendo) {
  9. kendo.kendo = {};
  10. }
  11. kendo.Class = function() { };
  12. kendo.Class.prototype = {
  13. bind: function(event, callback) {
  14. /// <summary>
  15. /// Binds to a widget event.
  16. /// </summary>
  17. /// <param name="event" type="String">The event name</param>
  18. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  19. },
  20. unbind: function(event, callback) {
  21. /// <summary>
  22. /// Unbinds a callback from a widget event.
  23. /// </summary>
  24. /// <param name="event" type="String">The event name</param>
  25. /// <param name="callback" type="Function">The callback to be removed.</param>
  26. }
  27. };
  28. $.fn.getKendoClass = function() {
  29. /// <summary>
  30. /// Returns a reference to the kendo.Class widget, instantiated on the selector.
  31. /// </summary>
  32. /// <returns type="kendo.Class">The kendo.Class instance (if present).</returns>
  33. };
  34. $.fn.kendoClass = function(options) {
  35. /// <summary>
  36. /// Instantiates a kendo.Class widget based the DOM elements that match the selector.
  37. /// &#10;Accepts an object with the following configuration options:
  38. /// &#10;
  39. /// </summary>
  40. /// <param name="options" type="Object">
  41. /// The widget configuration options
  42. /// </param>
  43. };
  44. kendo.Color = function() { };
  45. kendo.Color.prototype = {
  46. diff: function() {
  47. /// <summary>
  48. /// Computes the relative luminance between two colors.
  49. /// </summary>
  50. /// <returns type="Number">The relative luminance.</returns>
  51. },
  52. equals: function() {
  53. /// <summary>
  54. /// Compares two color objects for equality.
  55. /// </summary>
  56. /// <returns type="Boolean">returns true if the two colors are the same. Otherwise, false</returns>
  57. },
  58. toHSV: function() {
  59. /// <summary>
  60. /// Returns the color in HSV representation. As HSV object, it has the following properties: h -- hue, an integer between 0 and 360; s -- saturation, floating point between 0 and 1; v -- value, floating point between 0 and 1 or a -- alpha, floating point between 0 and 1. This does not modify the current object, it creates a new one instead.
  61. /// </summary>
  62. /// <returns type="Object">An object with h, s, v and a fields.</returns>
  63. },
  64. toRGB: function() {
  65. /// <summary>
  66. /// Returns the color in RGB representation. The result has the following properties: r -- red component as floating point between 0 and 1; g -- green component; b -- blue component or a -- alpha. This does not modify the current object, it creates a new one instead.
  67. /// </summary>
  68. /// <returns type="Object">An object with r, g, b and a fields.</returns>
  69. },
  70. toBytes: function() {
  71. /// <summary>
  72. /// Returns the color in "Bytes" representation. It has the same properties as RGB, but r, g and b are integers between 0 and 255 instead of floats.This does not modify the current object, it creates a new one instead.
  73. /// </summary>
  74. /// <returns type="Object">An object with r, g and b fields.</returns>
  75. },
  76. toHex: function() {
  77. /// <summary>
  78. /// Returns a string in "FF0000" form (without a leading #).
  79. /// </summary>
  80. /// <returns type="String">The color in hex notation.</returns>
  81. },
  82. toCss: function() {
  83. /// <summary>
  84. /// Like toHex, but includes a leading #.
  85. /// </summary>
  86. /// <returns type="String">The color in CSS notation.</returns>
  87. },
  88. toCssRgba: function() {
  89. /// <summary>
  90. /// Returns the color in RGBA notation (includes the opacity).
  91. /// </summary>
  92. /// <returns type="String">The color in RGBA notation.</returns>
  93. },
  94. toDisplay: function() {
  95. /// <summary>
  96. /// Returns the color in the best notation supported by the current browser. In IE < 9 this returns the #FF0000 form; in all other browsers it returns the RGBA form.
  97. /// </summary>
  98. /// <returns type="String">The color in the best notation supported by the current browser.</returns>
  99. },
  100. bind: function(event, callback) {
  101. /// <summary>
  102. /// Binds to a widget event.
  103. /// </summary>
  104. /// <param name="event" type="String">The event name</param>
  105. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  106. },
  107. unbind: function(event, callback) {
  108. /// <summary>
  109. /// Unbinds a callback from a widget event.
  110. /// </summary>
  111. /// <param name="event" type="String">The event name</param>
  112. /// <param name="callback" type="Function">The callback to be removed.</param>
  113. }
  114. };
  115. $.fn.getKendoColor = function() {
  116. /// <summary>
  117. /// Returns a reference to the kendo.Color widget, instantiated on the selector.
  118. /// </summary>
  119. /// <returns type="kendo.Color">The kendo.Color instance (if present).</returns>
  120. };
  121. $.fn.kendoColor = function(options) {
  122. /// <summary>
  123. /// Instantiates a kendo.Color widget based the DOM elements that match the selector.
  124. /// &#10;Accepts an object with the following configuration options:
  125. /// &#10;
  126. /// </summary>
  127. /// <param name="options" type="Object">
  128. /// The widget configuration options
  129. /// </param>
  130. };
  131. kendo.Layout = function() { };
  132. kendo.Layout.prototype = {
  133. showIn: function(container,view,transitionClass) {
  134. /// <summary>
  135. /// Renders the View element in the element specified by the selector
  136. /// </summary>
  137. /// <param name="container" type="String" >The selector of the container in which the view element will be appended.</param>
  138. /// <param name="view" type="kendo.View" >The view instance that will be rendered.</param>
  139. /// <param name="transitionClass" type="string" >Optional. If provided, the new view will replace the current one with a replace effect.</param>
  140. },
  141. bind: function(event, callback) {
  142. /// <summary>
  143. /// Binds to a widget event.
  144. /// </summary>
  145. /// <param name="event" type="String">The event name</param>
  146. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  147. },
  148. unbind: function(event, callback) {
  149. /// <summary>
  150. /// Unbinds a callback from a widget event.
  151. /// </summary>
  152. /// <param name="event" type="String">The event name</param>
  153. /// <param name="callback" type="Function">The callback to be removed.</param>
  154. }
  155. };
  156. $.fn.getKendoLayout = function() {
  157. /// <summary>
  158. /// Returns a reference to the kendo.Layout widget, instantiated on the selector.
  159. /// </summary>
  160. /// <returns type="kendo.Layout">The kendo.Layout instance (if present).</returns>
  161. };
  162. $.fn.kendoLayout = function(options) {
  163. /// <summary>
  164. /// Instantiates a kendo.Layout widget based the DOM elements that match the selector.
  165. /// &#10;Accepts an object with the following configuration options:
  166. /// &#10;
  167. /// </summary>
  168. /// <param name="options" type="Object">
  169. /// The widget configuration options
  170. /// </param>
  171. };
  172. kendo.Observable = function() { };
  173. kendo.Observable.prototype = {
  174. bind: function(eventName,handler) {
  175. /// <summary>
  176. /// Attaches a handler to an event.
  177. /// </summary>
  178. /// <param name="eventName" type="String" >The name of the event.</param>
  179. /// <param name="handler" type="Function" >A function to execute each time the event is triggered. That function should have a single parameter which will contain any event specific data.</param>
  180. },
  181. one: function(eventName,handler) {
  182. /// <summary>
  183. /// Attaches a handler to an event. The handler is executed only once.
  184. /// </summary>
  185. /// <param name="eventName" type="String" >The name of the event.</param>
  186. /// <param name="handler" type="Function" >A function to execute each time the event is triggered. That function should have a single parameter which will contain any event specific data.</param>
  187. },
  188. trigger: function(eventName,eventData) {
  189. /// <summary>
  190. /// Executes all handlers attached to the given event.
  191. /// </summary>
  192. /// <param name="eventName" type="String" >The name of the event to trigger.</param>
  193. /// <param name="eventData" type="Object" >Optional event data which will be passed as an argument to the event handlers.</param>
  194. },
  195. unbind: function(eventName,handler) {
  196. /// <summary>
  197. /// Remove a previously attached event handler.
  198. /// </summary>
  199. /// <param name="eventName" type="String" >The name of the event. If not specified all handlers of all events will be removed.</param>
  200. /// <param name="handler" type="Function" >The handler which should no longer be executed. If not specified all handlers listening to that event will be removed.</param>
  201. },
  202. self: null
  203. };
  204. $.fn.getKendoObservable = function() {
  205. /// <summary>
  206. /// Returns a reference to the kendo.Observable widget, instantiated on the selector.
  207. /// </summary>
  208. /// <returns type="kendo.Observable">The kendo.Observable instance (if present).</returns>
  209. };
  210. $.fn.kendoObservable = function(options) {
  211. /// <summary>
  212. /// Instantiates a kendo.Observable widget based the DOM elements that match the selector.
  213. /// &#10;Accepts an object with the following configuration options:
  214. /// &#10;
  215. /// </summary>
  216. /// <param name="options" type="Object">
  217. /// The widget configuration options
  218. /// </param>
  219. };
  220. kendo.Router = function() { };
  221. kendo.Router.prototype = {
  222. start: function() {
  223. /// <summary>
  224. /// Activates the router binding to the URL changes.
  225. /// </summary>
  226. },
  227. route: function(route,callback) {
  228. /// <summary>
  229. ///
  230. /// </summary>
  231. /// <param name="route" type="String" >The route definition.</param>
  232. /// <param name="callback" type="Function" >The callback to be executed when the route is matched.</param>
  233. },
  234. navigate: function(route,silent) {
  235. /// <summary>
  236. /// Navigates to the given route.
  237. /// </summary>
  238. /// <param name="route" type="String" >The route to navigate to.</param>
  239. /// <param name="silent" type="Boolean" >If set to true, the router callbacks will not be called.</param>
  240. },
  241. replace: function(route,silent) {
  242. /// <summary>
  243. /// Navigates to the given route, replacing the current view in the history stack (like window.history.replaceState or location.replace work).
  244. /// </summary>
  245. /// <param name="route" type="String" >The route to navigate to.</param>
  246. /// <param name="silent" type="Boolean" >If set to true, the router callbacks will not be called.</param>
  247. },
  248. destroy: function() {
  249. /// <summary>
  250. /// Unbinds the router instance listeners from the URL fragment part changes.
  251. /// </summary>
  252. },
  253. bind: function(event, callback) {
  254. /// <summary>
  255. /// Binds to a widget event.
  256. /// </summary>
  257. /// <param name="event" type="String">The event name</param>
  258. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  259. },
  260. unbind: function(event, callback) {
  261. /// <summary>
  262. /// Unbinds a callback from a widget event.
  263. /// </summary>
  264. /// <param name="event" type="String">The event name</param>
  265. /// <param name="callback" type="Function">The callback to be removed.</param>
  266. }
  267. };
  268. $.fn.getKendoRouter = function() {
  269. /// <summary>
  270. /// Returns a reference to the kendo.Router widget, instantiated on the selector.
  271. /// </summary>
  272. /// <returns type="kendo.Router">The kendo.Router instance (if present).</returns>
  273. };
  274. $.fn.kendoRouter = function(options) {
  275. /// <summary>
  276. /// Instantiates a kendo.Router widget based the DOM elements that match the selector.
  277. /// &#10;Accepts an object with the following configuration options:
  278. /// &#10;
  279. /// &#10;ignoreCase - Boolean (default: true)
  280. /// &#10;Introduced with Q3 2014. If set to false, the router instance will perform case sensitive match of the url against the defined routes.
  281. /// &#10;
  282. /// &#10;pushState - Boolean (default: false)
  283. /// &#10;If set to true, the router will use the history pushState API.
  284. /// &#10;
  285. /// &#10;root - String (default: "/")
  286. /// &#10;Applicable if pushState is used and the application is deployed to a path different than /. If the application start page is hosted on http://foo.com/myapp/, the root option should be set to /myapp/.
  287. /// &#10;
  288. /// &#10;hashBang - Boolean (default: false)
  289. /// &#10;Introduced in the 2014 Q1 Service Pack 1 release. If set to true, the hash based navigation will parse and prefix the fragment value with !, which should be SEO friendly, and allows non-prefixed anchor links to work as expected.
  290. /// &#10;
  291. /// </summary>
  292. /// <param name="options" type="Object">
  293. /// The widget configuration options
  294. /// </param>
  295. };
  296. kendo.View = function() { };
  297. kendo.View.prototype = {
  298. destroy: function() {
  299. /// <summary>
  300. /// Removes the View element from the DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets.
  301. /// </summary>
  302. },
  303. render: function(container) {
  304. /// <summary>
  305. /// Renders the view contents. Accepts a jQuery selector (or jQuery object) to which the contents will be appended. Alternatively, the render method can be called without parameters in order to retrieve the View element for manual insertion/further manipulation.
  306. /// </summary>
  307. /// <param name="container" type="jQuery" >(optional) the element in which the view element will be appended.</param>
  308. /// <returns type="jQuery">the view element.</returns>
  309. },
  310. bind: function(event, callback) {
  311. /// <summary>
  312. /// Binds to a widget event.
  313. /// </summary>
  314. /// <param name="event" type="String">The event name</param>
  315. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  316. },
  317. unbind: function(event, callback) {
  318. /// <summary>
  319. /// Unbinds a callback from a widget event.
  320. /// </summary>
  321. /// <param name="event" type="String">The event name</param>
  322. /// <param name="callback" type="Function">The callback to be removed.</param>
  323. }
  324. };
  325. $.fn.getKendoView = function() {
  326. /// <summary>
  327. /// Returns a reference to the kendo.View widget, instantiated on the selector.
  328. /// </summary>
  329. /// <returns type="kendo.View">The kendo.View instance (if present).</returns>
  330. };
  331. $.fn.kendoView = function(options) {
  332. /// <summary>
  333. /// Instantiates a kendo.View widget based the DOM elements that match the selector.
  334. /// &#10;Accepts an object with the following configuration options:
  335. /// &#10;
  336. /// &#10;evalTemplate - Boolean (default: false)
  337. /// &#10;If set to true, the view template will be treated as kendo template and evaluated against the provided model instance.
  338. /// &#10;
  339. /// &#10;tagName - String (default: "div")
  340. /// &#10;The tag used for the root element of the view.
  341. /// &#10;
  342. /// &#10;wrap - Boolean (default: true)
  343. /// &#10;If set to false, the view will not wrap its contents in a root element. In that case, the view element will point to the root element in the template. If false, the view template should have a single root element.
  344. /// &#10;
  345. /// </summary>
  346. /// <param name="options" type="Object">
  347. /// The widget configuration options
  348. /// </param>
  349. };
  350. kendo.data.Binder = function() { };
  351. kendo.data.Binder.prototype = {
  352. refresh: function() {
  353. /// <summary>
  354. /// Invoked by the Kendo UI MVVM framework when the bound view-model value is changed. The Binder should update the UI (the HTML element or the Kendo UI widget) to reflect the view-model change.
  355. /// </summary>
  356. },
  357. bind: function(event, callback) {
  358. /// <summary>
  359. /// Binds to a widget event.
  360. /// </summary>
  361. /// <param name="event" type="String">The event name</param>
  362. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  363. },
  364. unbind: function(event, callback) {
  365. /// <summary>
  366. /// Unbinds a callback from a widget event.
  367. /// </summary>
  368. /// <param name="event" type="String">The event name</param>
  369. /// <param name="callback" type="Function">The callback to be removed.</param>
  370. }
  371. };
  372. $.fn.getKendoBinder = function() {
  373. /// <summary>
  374. /// Returns a reference to the kendo.data.Binder widget, instantiated on the selector.
  375. /// </summary>
  376. /// <returns type="kendo.data.Binder">The kendo.data.Binder instance (if present).</returns>
  377. };
  378. $.fn.kendoBinder = function(options) {
  379. /// <summary>
  380. /// Instantiates a kendo.data.Binder widget based the DOM elements that match the selector.
  381. /// &#10;Accepts an object with the following configuration options:
  382. /// &#10;
  383. /// </summary>
  384. /// <param name="options" type="Object">
  385. /// The widget configuration options
  386. /// </param>
  387. };
  388. kendo.data.DataSource = function() { };
  389. kendo.data.DataSource.prototype = {
  390. add: function(model) {
  391. /// <summary>
  392. /// Appends a data item to the data source.
  393. /// </summary>
  394. /// <param name="model" type="Object" >Either a kendo.data.Model instance or JavaScript object containing the data item field values.</param>
  395. /// <returns type="kendo.data.Model">—The data item which is inserted.</returns>
  396. },
  397. aggregate: function(value) {
  398. /// <summary>
  399. /// Gets or sets the aggregate configuration.
  400. /// </summary>
  401. /// <param name="value" type="Object" >The aggregate configuration. Accepts the same values as the aggregate option.</param>
  402. /// <returns type="Array">—The current aggregate configuration.</returns>
  403. },
  404. aggregates: function() {
  405. /// <summary>
  406. /// Returns the aggregate results.
  407. /// </summary>
  408. /// <returns type="Object">—The aggregate results. There is a key for every aggregated field.</returns>
  409. },
  410. at: function(index) {
  411. /// <summary>
  412. /// Returns the data item at the specified index. The index is zero-based.
  413. /// </summary>
  414. /// <param name="index" type="Number" >The zero-based index of the data item.</param>
  415. /// <returns type="kendo.data.ObservableObject">—The data item at the specified index. Returns undefined if a data item is not found at the specified index. Returns a kendo.data.Model instance if the schema.model option is set.</returns>
  416. },
  417. cancelChanges: function(model) {
  418. /// <summary>
  419. /// Cancels any pending changes in the data source. Deleted data items are restored, new data items are removed, and updated data items are restored to their initial state. Every data item uid will be reset.
  420. /// </summary>
  421. /// <param name="model" type="kendo.data.Model" >The optional data item (model). If specified, only the changes of this data item will be discarded. If omitted, all changes will be discarded.</param>
  422. },
  423. data: function(value) {
  424. /// <summary>
  425. /// Gets or sets the data items of the data source.If the data source is bound to a remote service (via the transport option), the data method will return the service response. Every item from the response is wrapped in a kendo.data.ObservableObject or kendo.data.Model (if the schema.model option is set).If the data source is bound to a JavaScript array (via the data option), the data method will return the items of that array. Every item from the array is wrapped in a kendo.data.ObservableObject or kendo.data.Model (if the schema.model option is set).If the data source is grouped (via the group option or the group method) and the serverGrouping is set to true, the data method will return the group items.Compare with the view method, which will return the data items that correspond to the current page, filter, sort and group configuration.
  426. /// </summary>
  427. /// <param name="value" type="Object" >The data items which will replace the current ones in the data source. If omitted the current data items will be returned.</param>
  428. /// <returns type="kendo.data.ObservableArray">—The data items of the data source. Returns an empty array if the data source was not populated with data items via the read, fetch, or query methods.</returns>
  429. },
  430. fetch: function(callback) {
  431. /// <summary>
  432. /// Reads the data items from a remote service (if the transport option is set) or from a JavaScript array (if the data option is set).
  433. /// </summary>
  434. /// <param name="callback" type="Function" >The optional function which is executed when the remote request is finished. The function context (available via the this keyword) will be set to the data source instance.</param>
  435. /// <returns type="Promise">—A promise that will be resolved when the data has been loaded, or rejected if an HTTP error occurs.</returns>
  436. },
  437. filter: function(value) {
  438. /// <summary>
  439. /// Gets or sets the filter configuration.
  440. /// </summary>
  441. /// <param name="value" type="Object" >The filter configuration. Accepts the same values as the filter option (check there for more examples).</param>
  442. /// <returns type="Object">—The current filter configuration. Returns null if no filter criteria are currently applied. Returns undefined if the DataSource instance has not performed filtering so far.</returns>
  443. },
  444. get: function(id) {
  445. /// <summary>
  446. /// Gets the data item (model) with the specified id.
  447. /// </summary>
  448. /// <param name="id" type="Object" >The id of the model to look for.</param>
  449. /// <returns type="kendo.data.Model">—The model instance. Returns undefined if a model with the specified id is not found.</returns>
  450. },
  451. getByUid: function(uid) {
  452. /// <summary>
  453. /// Gets the data item (model) with the specified uid.
  454. /// </summary>
  455. /// <param name="uid" type="String" >The uid of the model to look for.</param>
  456. /// <returns type="kendo.data.ObservableObject">—The model instance. Returns undefined if a model with the specified uid is not found.</returns>
  457. },
  458. group: function(value) {
  459. /// <summary>
  460. /// Gets or sets the grouping configuration.
  461. /// </summary>
  462. /// <param name="value" type="Object" >The grouping configuration. Accepts the same values as the group option.</param>
  463. /// <returns type="Array">—The current grouping configuration.</returns>
  464. },
  465. hasChanges: function() {
  466. /// <summary>
  467. /// Checks if the data items have changed.
  468. /// </summary>
  469. /// <returns type="Boolean">—Returns true if the data items have changed. Otherwise, returns false.</returns>
  470. },
  471. indexOf: function(dataItem) {
  472. /// <summary>
  473. /// Gets the index of the specified data item.
  474. /// </summary>
  475. /// <param name="dataItem" type="kendo.data.ObservableObject" >The target data item.</param>
  476. /// <returns type="Number">—The index of the specified data item. Returns -1 if the data item is not found.</returns>
  477. },
  478. insert: function(index,model) {
  479. /// <summary>
  480. /// Inserts a data item in the data source at the specified index.
  481. /// </summary>
  482. /// <param name="index" type="Number" >The zero-based index at which the data item will be inserted.</param>
  483. /// <param name="model" type="Object" >Either a kendo.data.Model instance or a JavaScript object containing the field values.</param>
  484. /// <returns type="kendo.data.Model">—The data item which is inserted.</returns>
  485. },
  486. online: function(value) {
  487. /// <summary>
  488. /// Gets or sets the online state of the data source.
  489. /// </summary>
  490. /// <param name="value" type="Boolean" >The online state - true for online, false for offline.</param>
  491. /// <returns type="Boolean">—The current online state - true if online. Otherwise, false.</returns>
  492. },
  493. offlineData: function(data) {
  494. /// <summary>
  495. /// Gets or sets the offline state of the data source.
  496. /// </summary>
  497. /// <param name="data" type="Array" >The array of data items that replace the current offline state of the data source.</param>
  498. /// <returns type="Array">—An array of JavaScript objects that represent the data items. Changed data items have a __state__ field attached. That field indicates the type of change: "create", "update", or "destroy". Unmodified data items do not have a __state__ field.</returns>
  499. },
  500. page: function(page) {
  501. /// <summary>
  502. /// Gets or sets the current page.
  503. /// </summary>
  504. /// <param name="page" type="Number" >The new page.</param>
  505. /// <returns type="Number">—The current page.</returns>
  506. },
  507. pageSize: function(size) {
  508. /// <summary>
  509. /// Gets or sets the current page size.
  510. /// </summary>
  511. /// <param name="size" type="Number" >The new page size.</param>
  512. /// <returns type="Number">—The current page size.</returns>
  513. },
  514. pushCreate: function(items) {
  515. /// <summary>
  516. /// Appends the specified data items to the data source without marking them as "new". The data source will not sync data items appended via pushCreate.
  517. /// </summary>
  518. /// <param name="items" type="Object" >The data item or data items to append to the data source.</param>
  519. },
  520. pushDestroy: function(items) {
  521. /// <summary>
  522. /// Removes the specified data items from the data source without marking them as "removed". The data source will not sync data items appended via pushDestroy.
  523. /// </summary>
  524. /// <param name="items" type="Object" >The data item or data items to remove from the data source.</param>
  525. },
  526. pushInsert: function(index,items) {
  527. /// <summary>
  528. /// Appends the specified data items to the data source without marking them as "new". The data source will not sync data items appended via pushInsert.
  529. /// </summary>
  530. /// <param name="index" type="Number" >The zero-based index at which the data item will be inserted.</param>
  531. /// <param name="items" type="Object" >The data item or data items to append to the data source.</param>
  532. },
  533. pushUpdate: function(items) {
  534. /// <summary>
  535. /// Updates the specified data items without marking them as "dirty". The data source will not sync data items appended via pushUpdate. If the data items are not found (using schema.model.id), they will be appended.
  536. /// </summary>
  537. /// <param name="items" type="Object" >The data item or data items to update.</param>
  538. },
  539. query: function(options) {
  540. /// <summary>
  541. /// Executes the specified query over the data items. Makes an HTTP request if bound to a remote service.This method is useful when you need to modify several parameters of the data request at the same time (e.g. filtering and sorting). If you execute filter() and then sort(), the DataSource will make two separate requests. With query(), it will make one request.
  542. /// </summary>
  543. /// <param name="options" type="" >The query options which should be applied.</param>
  544. /// <returns type="Promise">—A promise that will be resolved when the data has been loaded or rejected if an HTTP error occurs.</returns>
  545. },
  546. read: function(data) {
  547. /// <summary>
  548. /// Reads data items from a remote/custom transport (if the transport option is set) or from a JavaScript array (if the data option is set).
  549. /// </summary>
  550. /// <param name="data" type="Object" >Optional data to pass to the remote service. If you need to filter, it is better to use the filter() method or the query() method with a filter parameter.</param>
  551. /// <returns type="Promise">—A promise that will be resolved when the data has been loaded or rejected if an HTTP error occurs.</returns>
  552. },
  553. remove: function(model) {
  554. /// <summary>
  555. /// Removes the specified data item from the data source.
  556. /// </summary>
  557. /// <param name="model" type="kendo.data.Model" >The data item which should be removed.</param>
  558. },
  559. skip: function() {
  560. /// <summary>
  561. /// Gets the current skip parameter of the dataSource. The skip parameter indicates the number of data items that should be skipped when a new page is formed.
  562. /// </summary>
  563. /// <returns type="Number">—The current skip parameter.</returns>
  564. },
  565. sort: function(value) {
  566. /// <summary>
  567. /// Gets or sets the sort order which will be applied over the data items.
  568. /// </summary>
  569. /// <param name="value" type="Object" >The sort configuration. Accepts the same values as the sort option.</param>
  570. /// <returns type="Array">—The current sort configuration. Returns undefined instead of an empty array if the DataSource instance has not performed any sorting so far.</returns>
  571. },
  572. sync: function() {
  573. /// <summary>
  574. /// Saves any data item changes.The sync method will request the remote service if: The transport.create option is set and the data source contains new data items.; The transport.destroy option is set and data items have been removed from the data source. or The transport.update option is set and the data source contains updated data items..
  575. /// </summary>
  576. /// <returns type="Promise">—A promise that will be resolved when all sync requests have finished successfully, or rejected if any single request fails.</returns>
  577. },
  578. total: function() {
  579. /// <summary>
  580. /// Gets the total number of data items. Uses schema.total if the transport.read option is set.
  581. /// </summary>
  582. /// <returns type="Number">—The total number of data items. Returns the length of the array returned by the data method if schema.total or transport.read are not set. Returns 0 if the data source was not populated with data items via the read, fetch, or query methods.</returns>
  583. },
  584. totalPages: function() {
  585. /// <summary>
  586. /// Gets the number of available pages.
  587. /// </summary>
  588. /// <returns type="Number">—The available pages.</returns>
  589. },
  590. view: function() {
  591. /// <summary>
  592. /// Returns the data items which correspond to the current page, filter, sort, and group configuration. Compare with the data method, which will return data items from all pages, if local data binding and paging are used.To ensure that data is available this method should be used within the change event handler or the fetch method.
  593. /// </summary>
  594. /// <returns type="kendo.data.ObservableArray">—The data items. Returns groups if the data items are grouped (via the group option or the group method).</returns>
  595. },
  596. bind: function(event, callback) {
  597. /// <summary>
  598. /// Binds to a widget event.
  599. /// </summary>
  600. /// <param name="event" type="String">The event name</param>
  601. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  602. },
  603. unbind: function(event, callback) {
  604. /// <summary>
  605. /// Unbinds a callback from a widget event.
  606. /// </summary>
  607. /// <param name="event" type="String">The event name</param>
  608. /// <param name="callback" type="Function">The callback to be removed.</param>
  609. }
  610. };
  611. $.fn.getKendoDataSource = function() {
  612. /// <summary>
  613. /// Returns a reference to the kendo.data.DataSource widget, instantiated on the selector.
  614. /// </summary>
  615. /// <returns type="kendo.data.DataSource">The kendo.data.DataSource instance (if present).</returns>
  616. };
  617. $.fn.kendoDataSource = function(options) {
  618. /// <summary>
  619. /// Instantiates a kendo.data.DataSource widget based the DOM elements that match the selector.
  620. /// &#10;Accepts an object with the following configuration options:
  621. /// &#10;
  622. /// &#10;accentFoldingFiltering - String
  623. /// &#10;It allows the filtering operation to be performed considering the diacritic characters for specific language.Introduced in the Kendo UI 2019 R1 SP1 (2019.1.220) release.
  624. /// &#10;
  625. /// &#10;aggregate - Array
  626. /// &#10;The aggregates which are calculated when the data source populates with data.The supported aggregates are: "average" - Only for Number.; "count" - String, Number and Date.; "max" - Number and Date.; "min" - Number and Date. or "sum" - Only for Number..
  627. /// &#10;
  628. /// &#10;autoSync - Boolean (default: false)
  629. /// &#10;If set to true, the data source would automatically save any changed data items by calling the sync method. By default, changes are not automatically saved.
  630. /// &#10;
  631. /// &#10;batch - Boolean (default: false)
  632. /// &#10;If set to true, the data source will batch CRUD operation requests. For example, updating two data items would cause one HTTP request instead of two. By default, the data source makes an HTTP request for every CRUD operation.
  633. /// &#10;
  634. /// &#10;data - Array|String
  635. /// &#10;The array of data items which the data source contains. The data source will wrap those items as kendo.data.ObservableObject or kendo.data.Model (if schema.model is set).Can be set to a string value if the schema.type option is set to "xml".
  636. /// &#10;
  637. /// &#10;filter - Array|Object
  638. /// &#10;The filters which are applied over the data items. By default, no filter is applied.
  639. /// &#10;
  640. /// &#10;group - Array|Object
  641. /// &#10;The grouping configuration of the data source. If set, the data items will be grouped when the data source is populated. By default, grouping is not applied.
  642. /// &#10;
  643. /// &#10;inPlaceSort - Boolean (default: false)
  644. /// &#10;If set to true, the original Array used as data will be sorted when sorting operation is performed. This setting supported only with local data, bound to a JavaScript array via the data option.
  645. /// &#10;
  646. /// &#10;offlineStorage - String|Object
  647. /// &#10;The offline storage key or custom offline storage implementation.
  648. /// &#10;
  649. /// &#10;page - Number
  650. /// &#10;The page of data which the data source will return when the view method is invoked or request from the remote service.
  651. /// &#10;
  652. /// &#10;pageSize - Number
  653. /// &#10;The number of data items per page. The property has no default value. Therefore, to use paging, make sure some pageSize value is set.
  654. /// &#10;
  655. /// &#10;schema - Object
  656. /// &#10;The configuration used to parse the remote service response.
  657. /// &#10;
  658. /// &#10;serverAggregates - Boolean (default: false)
  659. /// &#10;If set to true, the data source will leave the aggregate calculation to the remote service. By default, the data source calculates aggregates client-side.For more information and tips about client and server data operations, refer to the introductory article on the DataSource.
  660. /// &#10;
  661. /// &#10;serverFiltering - Boolean (default: false)
  662. /// &#10;If set to true, the data source will leave the filtering implementation to the remote service. By default, the data source performs filtering client-side.By default, the filter is sent to the server following jQuery conventions.For example, the filter { logic: "and", filters: [ { field: "name", operator: "startswith", value: "Jane" } ] } is sent as: filter[logic]: and; filter[filters][0][field]: name; filter[filters][0][operator]: startswith or filter[filters][0][value]: Jane. Use the parameterMap option to send the filter option in a different format.For more information and tips about client and server data operations, refer to the introductory article on the DataSource.
  663. /// &#10;
  664. /// &#10;serverGrouping - Boolean (default: false)
  665. /// &#10;If set to true, the data source will leave the grouping implementation to the remote service. By default, the data source performs grouping client-side.By default, the group is sent to the server following jQuery conventions.For example, the group { field: "category", dir: "desc" } is sent as: group[0][field]: category or group[0][dir]: desc. Use the parameterMap option to send the group option in a different format.For more information and tips about client and server data operations, refer to the introductory article on the DataSource.
  666. /// &#10;
  667. /// &#10;serverPaging - Boolean (default: false)
  668. /// &#10;If set to true, the data source will leave the data item paging implementation to the remote service. By default, the data source performs paging client-side.The following options are sent to the server when server paging is enabled: page - The page of data item to return (1 means the first page).; pageSize - The number of items to return.; skip - The number of data items to skip. or take - The number of data items to return (the same as pageSize).. Use the parameterMap option to send the paging options in a different format.For more information and tips about client and server data operations, refer to the introductory article on the DataSource.
  669. /// &#10;
  670. /// &#10;serverSorting - Boolean (default: false)
  671. /// &#10;If set to true, the data source will leave the data item sorting implementation to the remote service. By default, the data source performs sorting client-side.By default, the sort is sent to the server following jQuery conventions.For example, the sort { field: "age", dir: "desc" } is sent as: sort[0][field]: age or sort[0][dir]: desc. Use the parameterMap option to send the paging options in a different format.For more information and tips about client and server data operations, refer to the introductory article on the DataSource.
  672. /// &#10;
  673. /// &#10;sort - Array|Object
  674. /// &#10;The sort order which will be applied over the data items. By default, the data items are not sorted.
  675. /// &#10;
  676. /// &#10;transport - Object
  677. /// &#10;The configuration used to load and save the data items. A data source is remote or local based on the way it retrieves data items.Remote data sources load and save data items from and to a remote end-point (also known as remote service or server). The transport option describes the remote service configuration - URL, HTTP verb, HTTP headers, and others. The transport option can also be used to implement custom data loading and saving.Local data sources are bound to a JavaScript array via the data option.
  678. /// &#10;
  679. /// &#10;type - String
  680. /// &#10;If set, the data source will use a predefined transport and/or schema.The supported values are: "odata" which supports the OData v.2 protocol; "odata-v4" which partially supports odata version 4 or "signalr".
  681. /// &#10;
  682. /// </summary>
  683. /// <param name="options" type="Object">
  684. /// The widget configuration options
  685. /// </param>
  686. };
  687. kendo.data.GanttDataSource = function() { };
  688. kendo.data.GanttDataSource.prototype = {
  689. taskAllChildren: function(task) {
  690. /// <summary>
  691. /// Returns a list of all child tasks. The search is recursive.
  692. /// </summary>
  693. /// <param name="task" type="kendo.data.GanttTask" >The parent task. If this parameter is not specified, all Gantt tasks will be returned.</param>
  694. /// <returns type="Array">—The list of all child tasks.</returns>
  695. },
  696. taskChildren: function(task) {
  697. /// <summary>
  698. /// Returns a list of all direct child tasks.
  699. /// </summary>
  700. /// <param name="task" type="kendo.data.GanttTask" >The parent task. If this parameter is not specified, all root-level tasks will be returned.</param>
  701. /// <returns type="Array">—The list of all direct child tasks.</returns>
  702. },
  703. taskLevel: function(task) {
  704. /// <summary>
  705. /// Returns the level of the task in the hierarchy. 0 for root-level tasks.
  706. /// </summary>
  707. /// <param name="task" type="kendo.data.GanttTask" >The reference task.</param>
  708. /// <returns type="Number">—The level of the task in the hierarchy.</returns>
  709. },
  710. taskParent: function(task) {
  711. /// <summary>
  712. /// Returns the parent task of a certain task.
  713. /// </summary>
  714. /// <param name="task" type="kendo.data.GanttTask" >The reference task.</param>
  715. /// <returns type="kendo.data.GanttTask">—The parent task.</returns>
  716. },
  717. taskSiblings: function(task) {
  718. /// <summary>
  719. /// Returns a list of all tasks that have the same parent.
  720. /// </summary>
  721. /// <param name="task" type="kendo.data.GanttTask" >The reference task.</param>
  722. /// <returns type="Array">—The list of all tasks with the same parent as the parameter task. If the parameter task is a root-level task, all root-level tasks are returned.</returns>
  723. },
  724. taskTree: function(task) {
  725. /// <summary>
  726. /// Returns a list of all child Gantt tasks, ordered by their hierarchical index (Depth-First). a parent is collapsed, it's children are not returned.
  727. /// </summary>
  728. /// <param name="task" type="kendo.data.GanttTask" >The reference task. If this parameter is specified, the result will be all child tasks of this task, ordered by their hierarchical index.</param>
  729. /// <returns type="Array">—The list of all child Gantt tasks, ordered by their hierarchical index (Depth-First).</returns>
  730. },
  731. update: function(task,taskInfo) {
  732. /// <summary>
  733. /// Updates a Gantt task.
  734. /// </summary>
  735. /// <param name="task" type="kendo.data.GanttTask" >The task to be updated.</param>
  736. /// <param name="taskInfo" type="Object" >The new values which will be used to update the task.</param>
  737. },
  738. bind: function(event, callback) {
  739. /// <summary>
  740. /// Binds to a widget event.
  741. /// </summary>
  742. /// <param name="event" type="String">The event name</param>
  743. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  744. },
  745. unbind: function(event, callback) {
  746. /// <summary>
  747. /// Unbinds a callback from a widget event.
  748. /// </summary>
  749. /// <param name="event" type="String">The event name</param>
  750. /// <param name="callback" type="Function">The callback to be removed.</param>
  751. }
  752. };
  753. $.fn.getKendoGanttDataSource = function() {
  754. /// <summary>
  755. /// Returns a reference to the kendo.data.GanttDataSource widget, instantiated on the selector.
  756. /// </summary>
  757. /// <returns type="kendo.data.GanttDataSource">The kendo.data.GanttDataSource instance (if present).</returns>
  758. };
  759. $.fn.kendoGanttDataSource = function(options) {
  760. /// <summary>
  761. /// Instantiates a kendo.data.GanttDataSource widget based the DOM elements that match the selector.
  762. /// &#10;Accepts an object with the following configuration options:
  763. /// &#10;
  764. /// &#10;schema - Object
  765. /// &#10;The schema configuration of the GanttDataSource.
  766. /// &#10;
  767. /// </summary>
  768. /// <param name="options" type="Object">
  769. /// The widget configuration options
  770. /// </param>
  771. };
  772. kendo.data.GanttDependency = function() { };
  773. kendo.data.GanttDependency.prototype = {
  774. define: function(options) {
  775. /// <summary>
  776. /// Defines a new GanttDependency type using the provided options.
  777. /// </summary>
  778. /// <param name="options" type="" >Describes the configuration options of the new Gantt dependency class.</param>
  779. },
  780. bind: function(event, callback) {
  781. /// <summary>
  782. /// Binds to a widget event.
  783. /// </summary>
  784. /// <param name="event" type="String">The event name</param>
  785. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  786. },
  787. unbind: function(event, callback) {
  788. /// <summary>
  789. /// Unbinds a callback from a widget event.
  790. /// </summary>
  791. /// <param name="event" type="String">The event name</param>
  792. /// <param name="callback" type="Function">The callback to be removed.</param>
  793. }
  794. };
  795. $.fn.getKendoGanttDependency = function() {
  796. /// <summary>
  797. /// Returns a reference to the kendo.data.GanttDependency widget, instantiated on the selector.
  798. /// </summary>
  799. /// <returns type="kendo.data.GanttDependency">The kendo.data.GanttDependency instance (if present).</returns>
  800. };
  801. $.fn.kendoGanttDependency = function(options) {
  802. /// <summary>
  803. /// Instantiates a kendo.data.GanttDependency widget based the DOM elements that match the selector.
  804. /// &#10;Accepts an object with the following configuration options:
  805. /// &#10;
  806. /// &#10;id - String|Number|Object
  807. /// &#10;The mandatory unique identifier of the dependency.
  808. /// &#10;
  809. /// &#10;predecessorId - String|Number|Object
  810. /// &#10;The mandatory id of the predecessor task.
  811. /// &#10;
  812. /// &#10;successorId - String|Number|Object
  813. /// &#10;The mandatory id of the successor task.
  814. /// &#10;
  815. /// &#10;type - String|Number|Object
  816. /// &#10;The type of the dependency. The type is a value between 0 and 3, representing the four different dependency types: 0 - Finish-Finish; 1 - Finish-Start; 2 - Start-Finish or 3 - Start-Start.
  817. /// &#10;
  818. /// </summary>
  819. /// <param name="options" type="Object">
  820. /// The widget configuration options
  821. /// </param>
  822. };
  823. kendo.data.GanttDependencyDataSource = function() { };
  824. kendo.data.GanttDependencyDataSource.prototype = {
  825. dependencies: function(id) {
  826. /// <summary>
  827. /// Returns a list of all dependencies for a certain task.
  828. /// </summary>
  829. /// <param name="id" type="Object" >The id of the Gantt task based on which the dependencies are filtered.</param>
  830. /// <returns type="Array">—The list of all task dependencies.</returns>
  831. },
  832. predecessors: function(id) {
  833. /// <summary>
  834. /// Returns a list of all predecessor dependencies for a certain task.
  835. /// </summary>
  836. /// <param name="id" type="Object" >The id of the Gantt task based on which the dependencies are filtered.</param>
  837. /// <returns type="Array">—The list of all task predecessors.</returns>
  838. },
  839. successors: function(id) {
  840. /// <summary>
  841. /// Returns a list of all successor dependencies for a certain task.
  842. /// </summary>
  843. /// <param name="id" type="Object" >The id of the Gantt task, based on which the dependencies are filtered.</param>
  844. /// <returns type="Array">—The list of all task successors.</returns>
  845. },
  846. bind: function(event, callback) {
  847. /// <summary>
  848. /// Binds to a widget event.
  849. /// </summary>
  850. /// <param name="event" type="String">The event name</param>
  851. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  852. },
  853. unbind: function(event, callback) {
  854. /// <summary>
  855. /// Unbinds a callback from a widget event.
  856. /// </summary>
  857. /// <param name="event" type="String">The event name</param>
  858. /// <param name="callback" type="Function">The callback to be removed.</param>
  859. }
  860. };
  861. $.fn.getKendoGanttDependencyDataSource = function() {
  862. /// <summary>
  863. /// Returns a reference to the kendo.data.GanttDependencyDataSource widget, instantiated on the selector.
  864. /// </summary>
  865. /// <returns type="kendo.data.GanttDependencyDataSource">The kendo.data.GanttDependencyDataSource instance (if present).</returns>
  866. };
  867. $.fn.kendoGanttDependencyDataSource = function(options) {
  868. /// <summary>
  869. /// Instantiates a kendo.data.GanttDependencyDataSource widget based the DOM elements that match the selector.
  870. /// &#10;Accepts an object with the following configuration options:
  871. /// &#10;
  872. /// &#10;schema - Object
  873. /// &#10;The schema configuration of the GanttDependencyDataSource.
  874. /// &#10;
  875. /// </summary>
  876. /// <param name="options" type="Object">
  877. /// The widget configuration options
  878. /// </param>
  879. };
  880. kendo.data.GanttTask = function() { };
  881. kendo.data.GanttTask.prototype = {
  882. define: function(options) {
  883. /// <summary>
  884. /// Defines a new GanttTask type using the provided options.
  885. /// </summary>
  886. /// <param name="options" type="" >Describes the configuration options of the new Gantt task class.</param>
  887. },
  888. duration: function() {
  889. /// <summary>
  890. /// Returns the Gantt task length in milliseconds.
  891. /// </summary>
  892. /// <returns type="Number">—The length of the task.</returns>
  893. },
  894. isMilestone: function() {
  895. /// <summary>
  896. /// Checks whether the event has zero duration.
  897. /// </summary>
  898. /// <returns type="Boolean">—Returns true if the task start is equal to the task end.</returns>
  899. },
  900. bind: function(event, callback) {
  901. /// <summary>
  902. /// Binds to a widget event.
  903. /// </summary>
  904. /// <param name="event" type="String">The event name</param>
  905. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  906. },
  907. unbind: function(event, callback) {
  908. /// <summary>
  909. /// Unbinds a callback from a widget event.
  910. /// </summary>
  911. /// <param name="event" type="String">The event name</param>
  912. /// <param name="callback" type="Function">The callback to be removed.</param>
  913. }
  914. };
  915. $.fn.getKendoGanttTask = function() {
  916. /// <summary>
  917. /// Returns a reference to the kendo.data.GanttTask widget, instantiated on the selector.
  918. /// </summary>
  919. /// <returns type="kendo.data.GanttTask">The kendo.data.GanttTask instance (if present).</returns>
  920. };
  921. $.fn.kendoGanttTask = function(options) {
  922. /// <summary>
  923. /// Instantiates a kendo.data.GanttTask widget based the DOM elements that match the selector.
  924. /// &#10;Accepts an object with the following configuration options:
  925. /// &#10;
  926. /// &#10;end - Date
  927. /// &#10;The date at which the Gantt task ends. The end date is mandatory.
  928. /// &#10;
  929. /// &#10;expanded - Boolean (default: true)
  930. /// &#10;If set to true, the task is expanded and the tasks of its child are visible.
  931. /// &#10;
  932. /// &#10;id - String|Number|Object
  933. /// &#10;The mandatory unique identifier of the task.
  934. /// &#10;
  935. /// &#10;orderId - String|Number|Object (default: 0)
  936. /// &#10;The position of the task relative to its sibling tasks.
  937. /// &#10;
  938. /// &#10;parentId - String|Number|Object (default: null)
  939. /// &#10;The id of the parent task. Required for child tasks.
  940. /// &#10;
  941. /// &#10;percentComplete - String|Number|Object (default: 0)
  942. /// &#10;The completion percentage of the task. A value between 0 and 1 representing how much of a task is completed.
  943. /// &#10;
  944. /// &#10;start - Date
  945. /// &#10;The date at which the Gantt task starts. The start date is mandatory.
  946. /// &#10;
  947. /// &#10;summary - Boolean (default: true)
  948. /// &#10;If set to true, the task has child tasks.
  949. /// &#10;
  950. /// &#10;title - String (default: "")
  951. /// &#10;The title of the task which is displayed by the Gantt widget.
  952. /// &#10;
  953. /// </summary>
  954. /// <param name="options" type="Object">
  955. /// The widget configuration options
  956. /// </param>
  957. };
  958. kendo.data.HierarchicalDataSource = function() { };
  959. kendo.data.HierarchicalDataSource.prototype = {
  960. filter: function(value) {
  961. /// <summary>
  962. /// Gets or sets the filter configuration. It applies the filter to all loaded nodes and creates views from the nodes that match the filter and their parent nodes up to the root of the hierarchy. Currently, nodes that are not loaded are not filtered.
  963. /// </summary>
  964. /// <param name="value" type="Object" >The filter configuration. Accepts the same values as the filter option.</param>
  965. /// <returns type="Object">—The current filter configuration. Returns undefined if the DataSource instance has not performed filtering so far.</returns>
  966. },
  967. bind: function(event, callback) {
  968. /// <summary>
  969. /// Binds to a widget event.
  970. /// </summary>
  971. /// <param name="event" type="String">The event name</param>
  972. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  973. },
  974. unbind: function(event, callback) {
  975. /// <summary>
  976. /// Unbinds a callback from a widget event.
  977. /// </summary>
  978. /// <param name="event" type="String">The event name</param>
  979. /// <param name="callback" type="Function">The callback to be removed.</param>
  980. }
  981. };
  982. $.fn.getKendoHierarchicalDataSource = function() {
  983. /// <summary>
  984. /// Returns a reference to the kendo.data.HierarchicalDataSource widget, instantiated on the selector.
  985. /// </summary>
  986. /// <returns type="kendo.data.HierarchicalDataSource">The kendo.data.HierarchicalDataSource instance (if present).</returns>
  987. };
  988. $.fn.kendoHierarchicalDataSource = function(options) {
  989. /// <summary>
  990. /// Instantiates a kendo.data.HierarchicalDataSource widget based the DOM elements that match the selector.
  991. /// &#10;Accepts an object with the following configuration options:
  992. /// &#10;
  993. /// &#10;filter - Array|Object
  994. /// &#10;The filters which are applied over the data items. It applies the filter to all loaded nodes and creates views from the nodes that match the filter and their parent nodes up to the root of the hierarchy. Currently, nodes that are not loaded are not filtered. By default, no filter is applied.
  995. /// &#10;
  996. /// &#10;schema - Object
  997. /// &#10;The schema configuration. See the DataSource.schema configuration for all available options.
  998. /// &#10;
  999. /// </summary>
  1000. /// <param name="options" type="Object">
  1001. /// The widget configuration options
  1002. /// </param>
  1003. };
  1004. kendo.data.Model = function() { };
  1005. kendo.data.Model.prototype = {
  1006. bind: function() {
  1007. /// <summary>
  1008. /// Attaches a handler to an event. For more information and examples, refer to the bind API reference.
  1009. /// </summary>
  1010. },
  1011. define: function(options) {
  1012. /// <summary>
  1013. /// Defines a new Model type by using the provided options. The returned value inherits from the kendo.data.Model class.
  1014. /// </summary>
  1015. /// <param name="options" type="" >Describes the configuration options of the new model type.</param>
  1016. },
  1017. editable: function(field) {
  1018. /// <summary>
  1019. /// Determines if the specified field is editable or not.
  1020. /// </summary>
  1021. /// <param name="field" type="String" >The field that will be checked.</param>
  1022. /// <returns type="Boolean">—Returns true if the field is editable. Otherwise, returns false.</returns>
  1023. },
  1024. get: function() {
  1025. /// <summary>
  1026. /// Gets the value of the specified field. Inherited from kendo.data.ObservableObject. For more information and examples, refer to the get API reference.
  1027. /// </summary>
  1028. },
  1029. isNew: function() {
  1030. /// <summary>
  1031. /// Checks if the Model is new or not. The id field is used to determine if a model instance is new or existing. If the value of the specified field is equal to the default value that is specified through the fields configuration, the model is considered new.
  1032. /// </summary>
  1033. /// <returns type="Boolean">—Returns true if the field is editable. Otherwise, returns false.</returns>
  1034. },
  1035. set: function() {
  1036. /// <summary>
  1037. /// Sets the value of the specified field. Inherited from kendo.data.ObservableObject. For more information and examples, refer to the set API reference.
  1038. /// </summary>
  1039. },
  1040. toJSON: function() {
  1041. /// <summary>
  1042. /// Creates a plain JavaScript object which contains all fields of the Model. Inherited from kendo.data.ObservableObject. For more information and examples, refer to the toJSON API reference.
  1043. /// </summary>
  1044. },
  1045. unbind: function(event, callback) {
  1046. /// <summary>
  1047. /// Unbinds a callback from a widget event.
  1048. /// </summary>
  1049. /// <param name="event" type="String">The event name</param>
  1050. /// <param name="callback" type="Function">The callback to be removed.</param>
  1051. }
  1052. };
  1053. $.fn.getKendoModel = function() {
  1054. /// <summary>
  1055. /// Returns a reference to the kendo.data.Model widget, instantiated on the selector.
  1056. /// </summary>
  1057. /// <returns type="kendo.data.Model">The kendo.data.Model instance (if present).</returns>
  1058. };
  1059. $.fn.kendoModel = function(options) {
  1060. /// <summary>
  1061. /// Instantiates a kendo.data.Model widget based the DOM elements that match the selector.
  1062. /// &#10;Accepts an object with the following configuration options:
  1063. /// &#10;
  1064. /// </summary>
  1065. /// <param name="options" type="Object">
  1066. /// The widget configuration options
  1067. /// </param>
  1068. };
  1069. kendo.data.Node = function() { };
  1070. kendo.data.Node.prototype = {
  1071. append: function(model) {
  1072. /// <summary>
  1073. /// Appends a new item to the children data source and initializes it if necessary.
  1074. /// </summary>
  1075. /// <param name="model" type="Object" >The data for the new item.</param>
  1076. },
  1077. level: function() {
  1078. /// <summary>
  1079. /// Gets the current nesting level of the node within the data source.
  1080. /// </summary>
  1081. /// <returns type="Number">—The zero-based level of the node.</returns>
  1082. },
  1083. load: function() {
  1084. /// <summary>
  1085. /// Loads the child nodes in the child data source and supplies the id of the Node to the request.
  1086. /// </summary>
  1087. },
  1088. loaded: function() {
  1089. /// <summary>
  1090. /// Gets or sets the loaded flag of the Node. Setting the loaded flag to false allows the reloading of child items.
  1091. /// </summary>
  1092. },
  1093. parentNode: function() {
  1094. /// <summary>
  1095. /// Gets the parent node.
  1096. /// </summary>
  1097. /// <returns type="kendo.data.Node">—The parent of the node. Returns null if the node is a root node or does not have a parent.</returns>
  1098. },
  1099. bind: function(event, callback) {
  1100. /// <summary>
  1101. /// Binds to a widget event.
  1102. /// </summary>
  1103. /// <param name="event" type="String">The event name</param>
  1104. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  1105. },
  1106. unbind: function(event, callback) {
  1107. /// <summary>
  1108. /// Unbinds a callback from a widget event.
  1109. /// </summary>
  1110. /// <param name="event" type="String">The event name</param>
  1111. /// <param name="callback" type="Function">The callback to be removed.</param>
  1112. }
  1113. };
  1114. $.fn.getKendoNode = function() {
  1115. /// <summary>
  1116. /// Returns a reference to the kendo.data.Node widget, instantiated on the selector.
  1117. /// </summary>
  1118. /// <returns type="kendo.data.Node">The kendo.data.Node instance (if present).</returns>
  1119. };
  1120. $.fn.kendoNode = function(options) {
  1121. /// <summary>
  1122. /// Instantiates a kendo.data.Node widget based the DOM elements that match the selector.
  1123. /// &#10;Accepts an object with the following configuration options:
  1124. /// &#10;
  1125. /// </summary>
  1126. /// <param name="options" type="Object">
  1127. /// The widget configuration options
  1128. /// </param>
  1129. };
  1130. kendo.data.ObservableArray = function() { };
  1131. kendo.data.ObservableArray.prototype = {
  1132. bind: function(eventName,handler) {
  1133. /// <summary>
  1134. /// Attaches an event handler for the specified event.
  1135. /// </summary>
  1136. /// <param name="eventName" type="String" >The name of the event.</param>
  1137. /// <param name="handler" type="Function" >The function which will be invoked when the event is fired.</param>
  1138. },
  1139. join: function(separator) {
  1140. /// <summary>
  1141. /// Joins all items of an ObservableArray into a string. An equivalent of Array.prototype.join.
  1142. /// </summary>
  1143. /// <param name="separator" type="String" >Specifies the string to separate each item of the array. If omitted, the array items are separated with a comma (,).</param>
  1144. },
  1145. parent: function() {
  1146. /// <summary>
  1147. /// Gets the parent of the array if such a parent exists.
  1148. /// </summary>
  1149. /// <returns type="kendo.data.ObservableObject">—The parent of the array. Returns undefined if the array is not nested and does not have a parent.</returns>
  1150. },
  1151. pop: function() {
  1152. /// <summary>
  1153. /// Removes the last item from an array and returns that item. An equivalent of Array.prototype.pop.
  1154. /// </summary>
  1155. /// <returns type="Object">—The item which was removed.</returns>
  1156. },
  1157. push: function() {
  1158. /// <summary>
  1159. /// Appends the given items to the array and returns the new length of the array. An equivalent of Array.prototype.push. The new items are wrapped as an ObservableObject if they are complex objects.
  1160. /// </summary>
  1161. /// <returns type="Number">—The new length of the array.</returns>
  1162. },
  1163. slice: function(begin,end) {
  1164. /// <summary>
  1165. /// Returns a single-level deep copy of a portion of an array. An equivalent of Array.prototype.slice. The result of the slice method is not an instance of ObvservableArray—it is a regular JavaScript Array object.
  1166. /// </summary>
  1167. /// <param name="begin" type="Number" >A zero-based index at which the extraction will start.</param>
  1168. /// <param name="end" type="Number" >A zero-based index at which the extraction will end. If end is omitted, slice extracts to the end of the sequence.</param>
  1169. },
  1170. splice: function(index,howMany) {
  1171. /// <summary>
  1172. /// Changes an ObservableArray by adding new items while removing old items. An equivalent of Array.prototype.splice.
  1173. /// </summary>
  1174. /// <param name="index" type="Number" >An index at which the changing of the array will start.</param>
  1175. /// <param name="howMany" type="Number" >An integer which indicates the number of the items for removal. If set to 0, no items will be removed. In this case, you have to specify at least one new item.</param>
  1176. /// <returns type="Array">—Contains the removed items. The result of the splice method is not an instance of ObvservableArray.</returns>
  1177. },
  1178. shift: function() {
  1179. /// <summary>
  1180. /// Removes the first item from an ObvservableArray and returns that item. An equivalent of Array.prototype.shift.
  1181. /// </summary>
  1182. /// <returns type="Object">—The item which was removed.</returns>
  1183. },
  1184. toJSON: function() {
  1185. /// <summary>
  1186. /// Returns a JavaScript Array object which represents the contents of the ObservableArray.
  1187. /// </summary>
  1188. },
  1189. unshift: function() {
  1190. /// <summary>
  1191. /// Adds one or more items to the beginning of an ObservableArray and returns the new length. An equivalent of Array.prototype.unshift.
  1192. /// </summary>
  1193. /// <returns type="Number">—The new length of the array.</returns>
  1194. },
  1195. unbind: function(event, callback) {
  1196. /// <summary>
  1197. /// Unbinds a callback from a widget event.
  1198. /// </summary>
  1199. /// <param name="event" type="String">The event name</param>
  1200. /// <param name="callback" type="Function">The callback to be removed.</param>
  1201. }
  1202. };
  1203. $.fn.getKendoObservableArray = function() {
  1204. /// <summary>
  1205. /// Returns a reference to the kendo.data.ObservableArray widget, instantiated on the selector.
  1206. /// </summary>
  1207. /// <returns type="kendo.data.ObservableArray">The kendo.data.ObservableArray instance (if present).</returns>
  1208. };
  1209. $.fn.kendoObservableArray = function(options) {
  1210. /// <summary>
  1211. /// Instantiates a kendo.data.ObservableArray widget based the DOM elements that match the selector.
  1212. /// &#10;Accepts an object with the following configuration options:
  1213. /// &#10;
  1214. /// </summary>
  1215. /// <param name="options" type="Object">
  1216. /// The widget configuration options
  1217. /// </param>
  1218. };
  1219. kendo.data.ObservableObject = function() { };
  1220. kendo.data.ObservableObject.prototype = {
  1221. bind: function() {
  1222. /// <summary>
  1223. /// Attaches a handler to an event. For more information and examples, refer to the bind API reference.
  1224. /// </summary>
  1225. },
  1226. get: function(name) {
  1227. /// <summary>
  1228. /// Gets the value of the specified field.
  1229. /// </summary>
  1230. /// <param name="name" type="String" >The name of the field whose value will be returned.</param>
  1231. /// <returns type="Object">—The value of the specified field.</returns>
  1232. },
  1233. parent: function() {
  1234. /// <summary>
  1235. /// Gets the parent of the object if such a parent exists.
  1236. /// </summary>
  1237. /// <returns type="kendo.data.ObservableObject">—The parent of the object. Returns undefined if the object is not nested and does not have a parent.</returns>
  1238. },
  1239. set: function(name,value) {
  1240. /// <summary>
  1241. /// Sets the value of the specified field.
  1242. /// </summary>
  1243. /// <param name="name" type="String" >The name of the field whose value will be returned.</param>
  1244. /// <param name="value" type="Object" >The new value of the field.</param>
  1245. },
  1246. toJSON: function() {
  1247. /// <summary>
  1248. /// Creates a plain JavaScript object which contains all fields of the ObservableObject.
  1249. /// </summary>
  1250. /// <returns type="Object">—Contains only the fields of the ObservableObject.</returns>
  1251. },
  1252. unbind: function(event, callback) {
  1253. /// <summary>
  1254. /// Unbinds a callback from a widget event.
  1255. /// </summary>
  1256. /// <param name="event" type="String">The event name</param>
  1257. /// <param name="callback" type="Function">The callback to be removed.</param>
  1258. }
  1259. };
  1260. $.fn.getKendoObservableObject = function() {
  1261. /// <summary>
  1262. /// Returns a reference to the kendo.data.ObservableObject widget, instantiated on the selector.
  1263. /// </summary>
  1264. /// <returns type="kendo.data.ObservableObject">The kendo.data.ObservableObject instance (if present).</returns>
  1265. };
  1266. $.fn.kendoObservableObject = function(options) {
  1267. /// <summary>
  1268. /// Instantiates a kendo.data.ObservableObject widget based the DOM elements that match the selector.
  1269. /// &#10;Accepts an object with the following configuration options:
  1270. /// &#10;
  1271. /// </summary>
  1272. /// <param name="options" type="Object">
  1273. /// The widget configuration options
  1274. /// </param>
  1275. };
  1276. kendo.data.PivotDataSource = function() { };
  1277. kendo.data.PivotDataSource.prototype = {
  1278. axes: function() {
  1279. /// <summary>
  1280. /// Gets the parsed axes data.
  1281. /// </summary>
  1282. /// <returns type="Object">—The parsed axes data.</returns>
  1283. },
  1284. catalog: function(name) {
  1285. /// <summary>
  1286. /// Gets or sets the current catalog name.
  1287. /// </summary>
  1288. /// <param name="name" type="String" >The name of the catalog.</param>
  1289. /// <returns type="String">—The current catalog name.</returns>
  1290. },
  1291. columns: function(val) {
  1292. /// <summary>
  1293. /// Gets or sets the columns configuration.
  1294. /// </summary>
  1295. /// <param name="val" type="Array" >The columns configuration. Accepts the same values as the columns option.</param>
  1296. /// <returns type="Array">—The current columns configuration.</returns>
  1297. },
  1298. cube: function(name) {
  1299. /// <summary>
  1300. /// Gets or sets the current cube name.
  1301. /// </summary>
  1302. /// <param name="name" type="String" >The name of the cube.</param>
  1303. /// <returns type="String">—The current cube name.</returns>
  1304. },
  1305. discover: function(options) {
  1306. /// <summary>
  1307. /// Starts the discover request with the specified options.
  1308. /// </summary>
  1309. /// <param name="options" type="String" >The options of the discover request.</param>
  1310. /// <returns type="Object">—The deferred object.</returns>
  1311. },
  1312. expandColumn: function(path) {
  1313. /// <summary>
  1314. /// Expands a column tuple member that has children.
  1315. /// </summary>
  1316. /// <param name="path" type="Array" >The path that uniquely specifies the tuple member that needs to be expanded.</param>
  1317. },
  1318. expandRow: function(path) {
  1319. /// <summary>
  1320. /// Expands a row tuple member that has children.
  1321. /// </summary>
  1322. /// <param name="path" type="Array" >The path which uniquely specifies the tuple member that needs to be expanded.</param>
  1323. },
  1324. measures: function(val) {
  1325. /// <summary>
  1326. /// Gets or sets the measures configuration.
  1327. /// </summary>
  1328. /// <param name="val" type="Array" >The measures configuration. Accepts the same values as the measures option.</param>
  1329. /// <returns type="Array">—The current measures configuration.</returns>
  1330. },
  1331. measuresAxis: function() {
  1332. /// <summary>
  1333. /// Gets the name of the axis on which the measures are displayed.
  1334. /// </summary>
  1335. /// <returns type="String">—The axis name.</returns>
  1336. },
  1337. rows: function(val) {
  1338. /// <summary>
  1339. /// Gets or sets the rows configuration.
  1340. /// </summary>
  1341. /// <param name="val" type="Array" >The rows configuration. Accepts the same values as the row option.</param>
  1342. /// <returns type="Array">—The current rows configuration.</returns>
  1343. },
  1344. schemaCatalogs: function() {
  1345. /// <summary>
  1346. /// Requests the catalogs information.
  1347. /// </summary>
  1348. /// <returns type="Object">—The deferred object.</returns>
  1349. },
  1350. schemaCubes: function() {
  1351. /// <summary>
  1352. /// Requests the cubes schema information.
  1353. /// </summary>
  1354. /// <returns type="Object">—The deferred object.</returns>
  1355. },
  1356. schemaDimensions: function() {
  1357. /// <summary>
  1358. /// Requests the dimensions schema information.
  1359. /// </summary>
  1360. /// <returns type="Object">—The deferred object.</returns>
  1361. },
  1362. schemaHierarchies: function(dimensionName) {
  1363. /// <summary>
  1364. /// Requests the hierarchies schema information.
  1365. /// </summary>
  1366. /// <param name="dimensionName" type="String" >The name of the dimensions which is the "owner" of the hierarchy.</param>
  1367. /// <returns type="Object">—The deferred object.</returns>
  1368. },
  1369. schemaLevels: function(hierarchyName) {
  1370. /// <summary>
  1371. /// Requests the levels schema information.
  1372. /// </summary>
  1373. /// <param name="hierarchyName" type="String" >The name of the hierarchy which is the "owner" of the level.</param>
  1374. /// <returns type="Object">—The deferred object.</returns>
  1375. },
  1376. schemaMeasures: function() {
  1377. /// <summary>
  1378. /// Requests the measures schema information.
  1379. /// </summary>
  1380. /// <returns type="Object">—The deferred object.</returns>
  1381. },
  1382. bind: function(event, callback) {
  1383. /// <summary>
  1384. /// Binds to a widget event.
  1385. /// </summary>
  1386. /// <param name="event" type="String">The event name</param>
  1387. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  1388. },
  1389. unbind: function(event, callback) {
  1390. /// <summary>
  1391. /// Unbinds a callback from a widget event.
  1392. /// </summary>
  1393. /// <param name="event" type="String">The event name</param>
  1394. /// <param name="callback" type="Function">The callback to be removed.</param>
  1395. }
  1396. };
  1397. $.fn.getKendoPivotDataSource = function() {
  1398. /// <summary>
  1399. /// Returns a reference to the kendo.data.PivotDataSource widget, instantiated on the selector.
  1400. /// </summary>
  1401. /// <returns type="kendo.data.PivotDataSource">The kendo.data.PivotDataSource instance (if present).</returns>
  1402. };
  1403. $.fn.kendoPivotDataSource = function(options) {
  1404. /// <summary>
  1405. /// Instantiates a kendo.data.PivotDataSource widget based the DOM elements that match the selector.
  1406. /// &#10;Accepts an object with the following configuration options:
  1407. /// &#10;
  1408. /// &#10;columns - Array
  1409. /// &#10;The configuration of the column axis members. An array of JavaScript objects or strings. A JavaScript objects are interpreted as column descriptors. Strings are interpreted as the hierarchical name of the member.
  1410. /// &#10;
  1411. /// &#10;measures - Array|Object
  1412. /// &#10;The configuration of measures. A string array whose values are interpreted as the name of the measures that will be loaded. Measures can be defined as a list of objects with the name and type fields.
  1413. /// &#10;
  1414. /// &#10;rows - Array
  1415. /// &#10;The configuration of the row axis members. An array of JavaScript objects or strings. A JavaScript objects are interpreted as rows descriptors. Strings are interpreted as the hierarchical name of the member.
  1416. /// &#10;
  1417. /// &#10;transport - Object
  1418. /// &#10;The configuration used to load data items and discover schema information.
  1419. /// &#10;
  1420. /// &#10;schema - Object
  1421. /// &#10;The schema configuration of the PivotDataSource.
  1422. /// &#10;
  1423. /// </summary>
  1424. /// <param name="options" type="Object">
  1425. /// The widget configuration options
  1426. /// </param>
  1427. };
  1428. kendo.data.Query = function() { };
  1429. kendo.data.Query.prototype = {
  1430. toArray: function() {
  1431. /// <summary>
  1432. /// Returns the internal data collection
  1433. /// </summary>
  1434. /// <returns type="Array">Returns plain JavaScript array which represents the internal data collection</returns>
  1435. },
  1436. skip: function(count) {
  1437. /// <summary>
  1438. /// Skip a given amount it items
  1439. /// </summary>
  1440. /// <param name="count" type="Number" >The number of items that should be skipped</param>
  1441. /// <returns type="kendo.data.Query">Returns a new instance of kendo.data.Query with the first count elements of the list skipped</returns>
  1442. },
  1443. take: function(count) {
  1444. /// <summary>
  1445. /// Take a given amount it items
  1446. /// </summary>
  1447. /// <param name="count" type="Number" >The number of items that should be taken</param>
  1448. /// <returns type="kendo.data.Query">Returns a new instance of kendo.data.Query containing only the first count elements of the list</returns>
  1449. },
  1450. select: function(selector) {
  1451. /// <summary>
  1452. /// Maps over the data items
  1453. /// </summary>
  1454. /// <param name="selector" type="Function" >A function that is applied to each of the items</param>
  1455. /// <returns type="kendo.data.Query">Returns a new instance of kendo.data.Query containing the mapped collection</returns>
  1456. },
  1457. order: function(selector) {
  1458. /// <summary>
  1459. /// Returns a copy of the list sorted according to the direction
  1460. /// </summary>
  1461. /// <param name="selector" type="" >The current sort configuration.</param>
  1462. /// <returns type="kendo.data.Query">Returns a new instance of kendo.data.Query containing the sorted collection</returns>
  1463. },
  1464. filter: function(expression) {
  1465. /// <summary>
  1466. /// Returns a copy of the list filtered according to the expression
  1467. /// </summary>
  1468. /// <param name="expression" type="Object" >The filter configuration. Accepts the same values as the filter option (check there for more examples).</param>
  1469. /// <returns type="kendo.data.Query">Returns a new instance of kendo.data.Query containing the filtered collection</returns>
  1470. },
  1471. groupBy: function(descriptor) {
  1472. /// <summary>
  1473. /// Returns a copy of the list grouped according to the descriptor
  1474. /// </summary>
  1475. /// <param name="descriptor" type="Object" >The grouping configuration. Accepts the same values as the group option.</param>
  1476. /// <returns type="kendo.data.Query">Returns a new instance of kendo.data.Query containing the grouped collection</returns>
  1477. },
  1478. bind: function(event, callback) {
  1479. /// <summary>
  1480. /// Binds to a widget event.
  1481. /// </summary>
  1482. /// <param name="event" type="String">The event name</param>
  1483. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  1484. },
  1485. unbind: function(event, callback) {
  1486. /// <summary>
  1487. /// Unbinds a callback from a widget event.
  1488. /// </summary>
  1489. /// <param name="event" type="String">The event name</param>
  1490. /// <param name="callback" type="Function">The callback to be removed.</param>
  1491. }
  1492. };
  1493. $.fn.getKendoQuery = function() {
  1494. /// <summary>
  1495. /// Returns a reference to the kendo.data.Query widget, instantiated on the selector.
  1496. /// </summary>
  1497. /// <returns type="kendo.data.Query">The kendo.data.Query instance (if present).</returns>
  1498. };
  1499. $.fn.kendoQuery = function(options) {
  1500. /// <summary>
  1501. /// Instantiates a kendo.data.Query widget based the DOM elements that match the selector.
  1502. /// &#10;Accepts an object with the following configuration options:
  1503. /// &#10;
  1504. /// </summary>
  1505. /// <param name="options" type="Object">
  1506. /// The widget configuration options
  1507. /// </param>
  1508. };
  1509. kendo.data.SchedulerDataSource = function() { };
  1510. kendo.data.SchedulerDataSource.prototype = {
  1511. expand: function(start,end) {
  1512. /// <summary>
  1513. /// Expands all recurring events in the data and returns a list of events for a specific period.
  1514. /// </summary>
  1515. /// <param name="start" type="Date" >The start date of the period.</param>
  1516. /// <param name="end" type="Date" >The end date of the period.</param>
  1517. /// <returns type="Array">the expanded list of scheduler events filtered by the specified start/end period.</returns>
  1518. },
  1519. bind: function(event, callback) {
  1520. /// <summary>
  1521. /// Binds to a widget event.
  1522. /// </summary>
  1523. /// <param name="event" type="String">The event name</param>
  1524. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  1525. },
  1526. unbind: function(event, callback) {
  1527. /// <summary>
  1528. /// Unbinds a callback from a widget event.
  1529. /// </summary>
  1530. /// <param name="event" type="String">The event name</param>
  1531. /// <param name="callback" type="Function">The callback to be removed.</param>
  1532. }
  1533. };
  1534. $.fn.getKendoSchedulerDataSource = function() {
  1535. /// <summary>
  1536. /// Returns a reference to the kendo.data.SchedulerDataSource widget, instantiated on the selector.
  1537. /// </summary>
  1538. /// <returns type="kendo.data.SchedulerDataSource">The kendo.data.SchedulerDataSource instance (if present).</returns>
  1539. };
  1540. $.fn.kendoSchedulerDataSource = function(options) {
  1541. /// <summary>
  1542. /// Instantiates a kendo.data.SchedulerDataSource widget based the DOM elements that match the selector.
  1543. /// &#10;Accepts an object with the following configuration options:
  1544. /// &#10;
  1545. /// &#10;schema - Object
  1546. /// &#10;The schema configuration of the SchedulerDataSource.
  1547. /// &#10;
  1548. /// </summary>
  1549. /// <param name="options" type="Object">
  1550. /// The widget configuration options
  1551. /// </param>
  1552. };
  1553. kendo.data.SchedulerEvent = function() { };
  1554. kendo.data.SchedulerEvent.prototype = {
  1555. define: function(options) {
  1556. /// <summary>
  1557. /// Defines a new SchedulerEvent type using the provided options.
  1558. /// </summary>
  1559. /// <param name="options" type="" >Describes the configuration options of the new scheduler event class.</param>
  1560. },
  1561. clone: function(options,updateUid) {
  1562. /// <summary>
  1563. /// Clones the scheduler event.
  1564. /// </summary>
  1565. /// <param name="options" type="Object" >Additional options passed to the SchedulerEvent constructor.</param>
  1566. /// <param name="updateUid" type="Boolean" >If you pass true the uid of the event will be updated.</param>
  1567. /// <returns type="kendo.data.SchedulerEvent">the cloned scheduler event.</returns>
  1568. },
  1569. duration: function() {
  1570. /// <summary>
  1571. /// Returns the scheduler event length in milliseconds.
  1572. /// </summary>
  1573. /// <returns type="Number">the length of the event.</returns>
  1574. },
  1575. expand: function(start,end,timeZoneId) {
  1576. /// <summary>
  1577. /// Expands the event for a specific period based on the recurrenceRule option.
  1578. /// </summary>
  1579. /// <param name="start" type="Date" >The start date of the occurrence period.</param>
  1580. /// <param name="end" type="Date" >The end date of the occurrence period.</param>
  1581. /// <param name="timeZoneId" type="String" >The time zone ID used to convert the recurrence rule dates.</param>
  1582. /// <returns type="Array">list of occurrences.</returns>
  1583. },
  1584. update: function(eventInfo) {
  1585. /// <summary>
  1586. /// Updates the scheduler event.
  1587. /// </summary>
  1588. /// <param name="eventInfo" type="Object" >The new values, which will be used to update the event.</param>
  1589. },
  1590. isMultiDay: function() {
  1591. /// <summary>
  1592. /// Checks whether the event is equal to or longer then twenty four hours.
  1593. /// </summary>
  1594. /// <returns type="Boolean">return true if event is equal to or longer then 24 hours.</returns>
  1595. },
  1596. isException: function() {
  1597. /// <summary>
  1598. /// Checks whether the event is a recurrence exception.
  1599. /// </summary>
  1600. /// <returns type="Boolean">return true if event is a recurrence exception.</returns>
  1601. },
  1602. isOccurrence: function() {
  1603. /// <summary>
  1604. /// Checks whether the event is an occurrence part of a recurring series.
  1605. /// </summary>
  1606. /// <returns type="Boolean">return true if event is an occurrence.</returns>
  1607. },
  1608. isRecurring: function() {
  1609. /// <summary>
  1610. /// Checks whether the event is part of a recurring series.
  1611. /// </summary>
  1612. /// <returns type="Boolean">return true if event is recurring.</returns>
  1613. },
  1614. isRecurrenceHead: function() {
  1615. /// <summary>
  1616. /// Checks whether the event is the head of a recurring series.
  1617. /// </summary>
  1618. /// <returns type="Boolean">return true if event is a recurrence head.</returns>
  1619. },
  1620. toOccurrence: function(options) {
  1621. /// <summary>
  1622. /// Converts the scheduler event to a event occurrence. Method will remove recurrenceRule, recurrenceException options, will add a recurrenceId field and will set id to the default one.
  1623. /// </summary>
  1624. /// <param name="options" type="Object" >Additional options passed to the SchedulerEvent constructor.</param>
  1625. /// <returns type="kendo.data.SchedulerEvent">the occurrence.</returns>
  1626. },
  1627. bind: function(event, callback) {
  1628. /// <summary>
  1629. /// Binds to a widget event.
  1630. /// </summary>
  1631. /// <param name="event" type="String">The event name</param>
  1632. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  1633. },
  1634. unbind: function(event, callback) {
  1635. /// <summary>
  1636. /// Unbinds a callback from a widget event.
  1637. /// </summary>
  1638. /// <param name="event" type="String">The event name</param>
  1639. /// <param name="callback" type="Function">The callback to be removed.</param>
  1640. }
  1641. };
  1642. $.fn.getKendoSchedulerEvent = function() {
  1643. /// <summary>
  1644. /// Returns a reference to the kendo.data.SchedulerEvent widget, instantiated on the selector.
  1645. /// </summary>
  1646. /// <returns type="kendo.data.SchedulerEvent">The kendo.data.SchedulerEvent instance (if present).</returns>
  1647. };
  1648. $.fn.kendoSchedulerEvent = function(options) {
  1649. /// <summary>
  1650. /// Instantiates a kendo.data.SchedulerEvent widget based the DOM elements that match the selector.
  1651. /// &#10;Accepts an object with the following configuration options:
  1652. /// &#10;
  1653. /// &#10;description - String (default: "")
  1654. /// &#10;The optional event description.
  1655. /// &#10;
  1656. /// &#10;end - Date
  1657. /// &#10;The date at which the scheduler event ends. The end date is mandatory.
  1658. /// &#10;
  1659. /// &#10;endTimezone - String (default: undefined)
  1660. /// &#10;The timezone of the end date. If not specified the timezone will be used.The complete list of the supported timezones is available in the List of IANA time zones Wikipedia page.
  1661. /// &#10;
  1662. /// &#10;id - String|Number|Object
  1663. /// &#10;The mandatory unique identifier of the event.
  1664. /// &#10;
  1665. /// &#10;isAllDay - Boolean (default: false)
  1666. /// &#10;If set to true the event is "all day". By default events are not all day.
  1667. /// &#10;
  1668. /// &#10;recurrenceException - String (default: undefined)
  1669. /// &#10;The recurrence exceptions. A list of comma separated dates formatted using the yyyyMMddTHHmmssZ format string.
  1670. /// &#10;
  1671. /// &#10;recurrenceId - String|Number|Object (default: undefined)
  1672. /// &#10;The id of the recurrence parent event. Required for events that are recurrence exceptions.
  1673. /// &#10;
  1674. /// &#10;recurrenceRule - String (default: undefined)
  1675. /// &#10;The recurrence rule describing the recurring pattern of the event. The format follows the iCal specification.
  1676. /// &#10;
  1677. /// &#10;start - Date
  1678. /// &#10;The date at which the scheduler event starts. The start date is mandatory.
  1679. /// &#10;
  1680. /// &#10;startTimezone - String (default: undefined)
  1681. /// &#10;The timezone of the start date. If not specified the timezone will be used.The complete list of the supported timezones is available in the List of IANA time zones Wikipedia page.
  1682. /// &#10;
  1683. /// &#10;title - String (default: "")
  1684. /// &#10;The title of the event which is displayed by the scheduler widget.
  1685. /// &#10;
  1686. /// </summary>
  1687. /// <param name="options" type="Object">
  1688. /// The widget configuration options
  1689. /// </param>
  1690. };
  1691. kendo.data.TreeListDataSource = function() { };
  1692. kendo.data.TreeListDataSource.prototype = {
  1693. load: function(model) {
  1694. /// <summary>
  1695. /// Loads the child nodes of a model.
  1696. /// </summary>
  1697. /// <param name="model" type="kendo.data.TreeListModel" >The model that must be loaded.</param>
  1698. /// <returns type="Promise">A promise that will be resolved when the child nodes have been loaded, or rejected if an HTTP error occurs.</returns>
  1699. },
  1700. childNodes: function(model) {
  1701. /// <summary>
  1702. /// Child nodes for model.
  1703. /// </summary>
  1704. /// <param name="model" type="kendo.data.TreeListModel" >The model whose children must be returned.</param>
  1705. /// <returns type="Array">of the child items.</returns>
  1706. },
  1707. rootNodes: function() {
  1708. /// <summary>
  1709. /// Return all root nodes.
  1710. /// </summary>
  1711. /// <returns type="Array">of the root items.</returns>
  1712. },
  1713. parentNode: function(model) {
  1714. /// <summary>
  1715. /// The parent of given node.
  1716. /// </summary>
  1717. /// <param name="model" type="kendo.data.TreeListModel" >The model whose parent must be returned.</param>
  1718. /// <returns type="kendo.data.TreeListModel">parent of the node.</returns>
  1719. },
  1720. level: function(model) {
  1721. /// <summary>
  1722. /// The hierarchical level of the node.
  1723. /// </summary>
  1724. /// <param name="model" type="kendo.data.TreeListModel" >The model whose level must be calculated.</param>
  1725. /// <returns type="Number">the hierarchy level of the node.</returns>
  1726. },
  1727. bind: function(event, callback) {
  1728. /// <summary>
  1729. /// Binds to a widget event.
  1730. /// </summary>
  1731. /// <param name="event" type="String">The event name</param>
  1732. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  1733. },
  1734. unbind: function(event, callback) {
  1735. /// <summary>
  1736. /// Unbinds a callback from a widget event.
  1737. /// </summary>
  1738. /// <param name="event" type="String">The event name</param>
  1739. /// <param name="callback" type="Function">The callback to be removed.</param>
  1740. }
  1741. };
  1742. $.fn.getKendoTreeListDataSource = function() {
  1743. /// <summary>
  1744. /// Returns a reference to the kendo.data.TreeListDataSource widget, instantiated on the selector.
  1745. /// </summary>
  1746. /// <returns type="kendo.data.TreeListDataSource">The kendo.data.TreeListDataSource instance (if present).</returns>
  1747. };
  1748. $.fn.kendoTreeListDataSource = function(options) {
  1749. /// <summary>
  1750. /// Instantiates a kendo.data.TreeListDataSource widget based the DOM elements that match the selector.
  1751. /// &#10;Accepts an object with the following configuration options:
  1752. /// &#10;
  1753. /// &#10;schema - Object
  1754. /// &#10;The schema configuration of the TreeListDataSource.
  1755. /// &#10;
  1756. /// </summary>
  1757. /// <param name="options" type="Object">
  1758. /// The widget configuration options
  1759. /// </param>
  1760. };
  1761. kendo.data.TreeListModel = function() { };
  1762. kendo.data.TreeListModel.prototype = {
  1763. loaded: function() {
  1764. /// <summary>
  1765. /// Gets or sets the loaded flag of the TreeList. Setting the loaded flag to false allows reloading of child items.
  1766. /// </summary>
  1767. },
  1768. bind: function(event, callback) {
  1769. /// <summary>
  1770. /// Binds to a widget event.
  1771. /// </summary>
  1772. /// <param name="event" type="String">The event name</param>
  1773. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  1774. },
  1775. unbind: function(event, callback) {
  1776. /// <summary>
  1777. /// Unbinds a callback from a widget event.
  1778. /// </summary>
  1779. /// <param name="event" type="String">The event name</param>
  1780. /// <param name="callback" type="Function">The callback to be removed.</param>
  1781. }
  1782. };
  1783. $.fn.getKendoTreeListModel = function() {
  1784. /// <summary>
  1785. /// Returns a reference to the kendo.data.TreeListModel widget, instantiated on the selector.
  1786. /// </summary>
  1787. /// <returns type="kendo.data.TreeListModel">The kendo.data.TreeListModel instance (if present).</returns>
  1788. };
  1789. $.fn.kendoTreeListModel = function(options) {
  1790. /// <summary>
  1791. /// Instantiates a kendo.data.TreeListModel widget based the DOM elements that match the selector.
  1792. /// &#10;Accepts an object with the following configuration options:
  1793. /// &#10;
  1794. /// </summary>
  1795. /// <param name="options" type="Object">
  1796. /// The widget configuration options
  1797. /// </param>
  1798. };
  1799. if (!kendo.date) {
  1800. kendo.date = {};
  1801. }
  1802. if (!kendo.drawing) {
  1803. kendo.drawing = {};
  1804. }
  1805. kendo.drawing.Arc = function() { };
  1806. kendo.drawing.Arc.prototype = {
  1807. bbox: function() {
  1808. /// <summary>
  1809. /// Returns the bounding box of the element with transformations applied. Inherited from Element.bbox
  1810. /// </summary>
  1811. /// <returns type="kendo.geometry.Rect">The bounding box of the element with transformations applied.</returns>
  1812. },
  1813. clip: function(clip) {
  1814. /// <summary>
  1815. /// Gets or sets the element clipping path. Inherited from Element.clip
  1816. /// </summary>
  1817. /// <param name="clip" type="kendo.drawing.Path" >The element clipping path.</param>
  1818. /// <returns type="kendo.drawing.Path">The current element clipping path.</returns>
  1819. },
  1820. clippedBBox: function() {
  1821. /// <summary>
  1822. /// Returns the bounding box of the element with clipping and transformations applied. Inherited from Element.clippedBBox
  1823. /// </summary>
  1824. /// <returns type="kendo.geometry.Rect">The bounding box of the element with clipping transformations applied.</returns>
  1825. },
  1826. containsPoint: function(point) {
  1827. /// <summary>
  1828. /// Returns true if the shape contains the specified point.
  1829. /// </summary>
  1830. /// <param name="point" type="kendo.geometry.Point" >The point that should be checked.</param>
  1831. /// <returns type="Boolean">value indicating if the shape contains the point.</returns>
  1832. },
  1833. geometry: function(value) {
  1834. /// <summary>
  1835. /// Gets or sets the arc geometry.
  1836. /// </summary>
  1837. /// <param name="value" type="kendo.geometry.Arc" >The new geometry to use.</param>
  1838. /// <returns type="kendo.geometry.Arc">The current arc geometry.</returns>
  1839. },
  1840. fill: function(color,opacity) {
  1841. /// <summary>
  1842. /// Sets the shape fill.
  1843. /// </summary>
  1844. /// <param name="color" type="String" >The fill color to set.</param>
  1845. /// <param name="opacity" type="Number" >The fill opacity to set.</param>
  1846. /// <returns type="kendo.drawing.Arc">The current instance to allow chaining.</returns>
  1847. },
  1848. opacity: function(opacity) {
  1849. /// <summary>
  1850. /// Gets or sets the element opacity. Inherited from Element.opacityIf set, the stroke and fill opacity will be multiplied by the element opacity.
  1851. /// </summary>
  1852. /// <param name="opacity" type="Number" >The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).</param>
  1853. /// <returns type="Number">The current element opacity.</returns>
  1854. },
  1855. stroke: function(color,width,opacity) {
  1856. /// <summary>
  1857. /// Sets the shape stroke.
  1858. /// </summary>
  1859. /// <param name="color" type="String" >The stroke color to set.</param>
  1860. /// <param name="width" type="Number" >The stroke width to set.</param>
  1861. /// <param name="opacity" type="Number" >The stroke opacity to set.</param>
  1862. /// <returns type="kendo.drawing.Arc">The current instance to allow chaining.</returns>
  1863. },
  1864. transform: function(transform) {
  1865. /// <summary>
  1866. /// Gets or sets the transformation of the element. Inherited from Element.transform
  1867. /// </summary>
  1868. /// <param name="transform" type="kendo.geometry.Transformation" >The transformation to apply to the element.</param>
  1869. /// <returns type="kendo.geometry.Transformation">The current transformation on the element.</returns>
  1870. },
  1871. visible: function(visible) {
  1872. /// <summary>
  1873. /// Gets or sets the visibility of the element. Inherited from Element.visible
  1874. /// </summary>
  1875. /// <param name="visible" type="Boolean" >A flag indicating if the element should be visible.</param>
  1876. /// <returns type="Boolean">true if the element is visible; false otherwise.</returns>
  1877. },
  1878. bind: function(event, callback) {
  1879. /// <summary>
  1880. /// Binds to a widget event.
  1881. /// </summary>
  1882. /// <param name="event" type="String">The event name</param>
  1883. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  1884. },
  1885. unbind: function(event, callback) {
  1886. /// <summary>
  1887. /// Unbinds a callback from a widget event.
  1888. /// </summary>
  1889. /// <param name="event" type="String">The event name</param>
  1890. /// <param name="callback" type="Function">The callback to be removed.</param>
  1891. }
  1892. };
  1893. $.fn.getKendoArc = function() {
  1894. /// <summary>
  1895. /// Returns a reference to the kendo.drawing.Arc widget, instantiated on the selector.
  1896. /// </summary>
  1897. /// <returns type="kendo.drawing.Arc">The kendo.drawing.Arc instance (if present).</returns>
  1898. };
  1899. $.fn.kendoArc = function(options) {
  1900. /// <summary>
  1901. /// Instantiates a kendo.drawing.Arc widget based the DOM elements that match the selector.
  1902. /// &#10;Accepts an object with the following configuration options:
  1903. /// &#10;
  1904. /// &#10;clip - kendo.drawing.Path
  1905. /// &#10;The element clipping path. Inherited from Element.clip
  1906. /// &#10;
  1907. /// &#10;cursor - String
  1908. /// &#10;The element cursor. Inherited from Element.cursor
  1909. /// &#10;
  1910. /// &#10;fill - kendo.drawing.FillOptions
  1911. /// &#10;The fill options of the shape.
  1912. /// &#10;
  1913. /// &#10;opacity - Number
  1914. /// &#10;The element opacity. Inherited from Element.opacity
  1915. /// &#10;
  1916. /// &#10;stroke - kendo.drawing.StrokeOptions
  1917. /// &#10;The stroke options of the shape.
  1918. /// &#10;
  1919. /// &#10;tooltip - kendo.drawing.TooltipOptions
  1920. /// &#10;The tooltip options of the shape.
  1921. /// &#10;
  1922. /// &#10;transform - kendo.geometry.Transformation
  1923. /// &#10;The transformation to apply to this element. Inherited from Element.transform
  1924. /// &#10;
  1925. /// &#10;visible - Boolean
  1926. /// &#10;A flag, indicating if the element is visible. Inherited from Element.visible
  1927. /// &#10;
  1928. /// </summary>
  1929. /// <param name="options" type="Object">
  1930. /// The widget configuration options
  1931. /// </param>
  1932. };
  1933. kendo.drawing.Circle = function() { };
  1934. kendo.drawing.Circle.prototype = {
  1935. bbox: function() {
  1936. /// <summary>
  1937. /// Returns the bounding box of the element with transformations applied. Inherited from Element.bbox
  1938. /// </summary>
  1939. /// <returns type="kendo.geometry.Rect">The bounding box of the element with transformations applied.</returns>
  1940. },
  1941. clip: function(clip) {
  1942. /// <summary>
  1943. /// Gets or sets the element clipping path. Inherited from Element.clip
  1944. /// </summary>
  1945. /// <param name="clip" type="kendo.drawing.Path" >The element clipping path.</param>
  1946. /// <returns type="kendo.drawing.Path">The current element clipping path.</returns>
  1947. },
  1948. clippedBBox: function() {
  1949. /// <summary>
  1950. /// Returns the bounding box of the element with clipping and transformations applied. Inherited from Element.clippedBBox
  1951. /// </summary>
  1952. /// <returns type="kendo.geometry.Rect">The bounding box of the element with clipping transformations applied.</returns>
  1953. },
  1954. containsPoint: function(point) {
  1955. /// <summary>
  1956. /// Returns true if the shape contains the specified point.
  1957. /// </summary>
  1958. /// <param name="point" type="kendo.geometry.Point" >The point that should be checked.</param>
  1959. /// <returns type="Boolean">value indicating if the shape contains the point.</returns>
  1960. },
  1961. geometry: function(value) {
  1962. /// <summary>
  1963. /// Gets or sets the circle geometry.
  1964. /// </summary>
  1965. /// <param name="value" type="kendo.geometry.Circle" >The new geometry to use.</param>
  1966. /// <returns type="kendo.geometry.Circle">The current circle geometry.</returns>
  1967. },
  1968. fill: function(color,opacity) {
  1969. /// <summary>
  1970. /// Sets the shape fill.
  1971. /// </summary>
  1972. /// <param name="color" type="String" >The fill color to set.</param>
  1973. /// <param name="opacity" type="Number" >The fill opacity to set.</param>
  1974. /// <returns type="kendo.drawing.Circle">The current instance to allow chaining.</returns>
  1975. },
  1976. opacity: function(opacity) {
  1977. /// <summary>
  1978. /// Gets or sets the element opacity. Inherited from Element.opacityIf set, the stroke and fill opacity will be multiplied by the element opacity.
  1979. /// </summary>
  1980. /// <param name="opacity" type="Number" >The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).</param>
  1981. /// <returns type="Number">The current element opacity.</returns>
  1982. },
  1983. stroke: function(color,width,opacity) {
  1984. /// <summary>
  1985. /// Sets the shape stroke.
  1986. /// </summary>
  1987. /// <param name="color" type="String" >The stroke color to set.</param>
  1988. /// <param name="width" type="Number" >The stroke width to set.</param>
  1989. /// <param name="opacity" type="Number" >The stroke opacity to set.</param>
  1990. /// <returns type="kendo.drawing.Circle">The current instance to allow chaining.</returns>
  1991. },
  1992. transform: function(transform) {
  1993. /// <summary>
  1994. /// Gets or sets the transformation of the element. Inherited from Element.transform
  1995. /// </summary>
  1996. /// <param name="transform" type="kendo.geometry.Transformation" >The transformation to apply to the element.</param>
  1997. /// <returns type="kendo.geometry.Transformation">The current transformation on the element.</returns>
  1998. },
  1999. visible: function(visible) {
  2000. /// <summary>
  2001. /// Gets or sets the visibility of the element. Inherited from Element.visible
  2002. /// </summary>
  2003. /// <param name="visible" type="Boolean" >A flag indicating if the element should be visible.</param>
  2004. /// <returns type="Boolean">true if the element is visible; false otherwise.</returns>
  2005. },
  2006. bind: function(event, callback) {
  2007. /// <summary>
  2008. /// Binds to a widget event.
  2009. /// </summary>
  2010. /// <param name="event" type="String">The event name</param>
  2011. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  2012. },
  2013. unbind: function(event, callback) {
  2014. /// <summary>
  2015. /// Unbinds a callback from a widget event.
  2016. /// </summary>
  2017. /// <param name="event" type="String">The event name</param>
  2018. /// <param name="callback" type="Function">The callback to be removed.</param>
  2019. }
  2020. };
  2021. $.fn.getKendoCircle = function() {
  2022. /// <summary>
  2023. /// Returns a reference to the kendo.drawing.Circle widget, instantiated on the selector.
  2024. /// </summary>
  2025. /// <returns type="kendo.drawing.Circle">The kendo.drawing.Circle instance (if present).</returns>
  2026. };
  2027. $.fn.kendoCircle = function(options) {
  2028. /// <summary>
  2029. /// Instantiates a kendo.drawing.Circle widget based the DOM elements that match the selector.
  2030. /// &#10;Accepts an object with the following configuration options:
  2031. /// &#10;
  2032. /// &#10;clip - kendo.drawing.Path
  2033. /// &#10;The element clipping path. Inherited from Element.clip
  2034. /// &#10;
  2035. /// &#10;cursor - String
  2036. /// &#10;The element cursor. Inherited from Element.cursor
  2037. /// &#10;
  2038. /// &#10;fill - kendo.drawing.FillOptions
  2039. /// &#10;The fill options of the shape.
  2040. /// &#10;
  2041. /// &#10;opacity - Number
  2042. /// &#10;The element opacity. Inherited from Element.opacity
  2043. /// &#10;
  2044. /// &#10;stroke - kendo.drawing.StrokeOptions
  2045. /// &#10;The stroke options of the shape.
  2046. /// &#10;
  2047. /// &#10;tooltip - kendo.drawing.TooltipOptions
  2048. /// &#10;The tooltip options of the shape.
  2049. /// &#10;
  2050. /// &#10;transform - kendo.geometry.Transformation
  2051. /// &#10;The transformation to apply to this element. Inherited from Element.transform
  2052. /// &#10;
  2053. /// &#10;visible - Boolean
  2054. /// &#10;A flag, indicating if the element is visible. Inherited from Element.visible
  2055. /// &#10;
  2056. /// </summary>
  2057. /// <param name="options" type="Object">
  2058. /// The widget configuration options
  2059. /// </param>
  2060. };
  2061. kendo.drawing.Element = function() { };
  2062. kendo.drawing.Element.prototype = {
  2063. bbox: function() {
  2064. /// <summary>
  2065. /// Returns the bounding box of the element with transformations applied.
  2066. /// </summary>
  2067. /// <returns type="kendo.geometry.Rect">The bounding box of the element with transformations applied.</returns>
  2068. },
  2069. clip: function(clip) {
  2070. /// <summary>
  2071. /// Gets or sets the element clipping path.
  2072. /// </summary>
  2073. /// <param name="clip" type="kendo.drawing.Path" >The element clipping path.</param>
  2074. /// <returns type="kendo.drawing.Path">The current element clipping path.</returns>
  2075. },
  2076. clippedBBox: function() {
  2077. /// <summary>
  2078. /// Returns the bounding box of the element with clipping and transformations applied.This is the rectangle that will fit around the actual rendered element.
  2079. /// </summary>
  2080. /// <returns type="kendo.geometry.Rect">The bounding box of the element with clipping and transformations applied.</returns>
  2081. },
  2082. containsPoint: function(point) {
  2083. /// <summary>
  2084. /// Returns true if the shape contains the specified point.
  2085. /// </summary>
  2086. /// <param name="point" type="kendo.geometry.Point" >The point that should be checked.</param>
  2087. /// <returns type="Boolean">value indicating if the shape contains the point.</returns>
  2088. },
  2089. opacity: function(opacity) {
  2090. /// <summary>
  2091. /// Gets or sets the element opacity.
  2092. /// </summary>
  2093. /// <param name="opacity" type="Number" >The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).</param>
  2094. /// <returns type="Number">The current element opacity.</returns>
  2095. },
  2096. transform: function(transform) {
  2097. /// <summary>
  2098. /// Gets or sets the transformation of the element.
  2099. /// </summary>
  2100. /// <param name="transform" type="kendo.geometry.Transformation" >The transformation to apply to the element.</param>
  2101. /// <returns type="kendo.geometry.Transformation">The current transformation on the element.</returns>
  2102. },
  2103. visible: function(visible) {
  2104. /// <summary>
  2105. /// Gets or sets the visibility of the element.
  2106. /// </summary>
  2107. /// <param name="visible" type="Boolean" >A flag indicating if the element should be visible.</param>
  2108. /// <returns type="Boolean">true if the element is visible; false otherwise.</returns>
  2109. },
  2110. bind: function(event, callback) {
  2111. /// <summary>
  2112. /// Binds to a widget event.
  2113. /// </summary>
  2114. /// <param name="event" type="String">The event name</param>
  2115. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  2116. },
  2117. unbind: function(event, callback) {
  2118. /// <summary>
  2119. /// Unbinds a callback from a widget event.
  2120. /// </summary>
  2121. /// <param name="event" type="String">The event name</param>
  2122. /// <param name="callback" type="Function">The callback to be removed.</param>
  2123. }
  2124. };
  2125. $.fn.getKendoElement = function() {
  2126. /// <summary>
  2127. /// Returns a reference to the kendo.drawing.Element widget, instantiated on the selector.
  2128. /// </summary>
  2129. /// <returns type="kendo.drawing.Element">The kendo.drawing.Element instance (if present).</returns>
  2130. };
  2131. $.fn.kendoElement = function(options) {
  2132. /// <summary>
  2133. /// Instantiates a kendo.drawing.Element widget based the DOM elements that match the selector.
  2134. /// &#10;Accepts an object with the following configuration options:
  2135. /// &#10;
  2136. /// &#10;clip - kendo.drawing.Path
  2137. /// &#10;The clipping path for this element.The path instance will be monitored for changes. It can be replaced by calling the clip method.
  2138. /// &#10;
  2139. /// &#10;cursor - String
  2140. /// &#10;The element CSS cursor.Applicable to an SVG output.
  2141. /// &#10;
  2142. /// &#10;opacity - Number
  2143. /// &#10;The element opacity.
  2144. /// &#10;
  2145. /// &#10;transform - kendo.geometry.Transformation
  2146. /// &#10;The transformation to apply to this element.
  2147. /// &#10;
  2148. /// &#10;visible - Boolean
  2149. /// &#10;A flag, indicating if the element is visible.
  2150. /// &#10;
  2151. /// </summary>
  2152. /// <param name="options" type="Object">
  2153. /// The widget configuration options
  2154. /// </param>
  2155. };
  2156. kendo.drawing.FillOptions = function() { };
  2157. kendo.drawing.FillOptions.prototype = {
  2158. bind: function(event, callback) {
  2159. /// <summary>
  2160. /// Binds to a widget event.
  2161. /// </summary>
  2162. /// <param name="event" type="String">The event name</param>
  2163. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  2164. },
  2165. unbind: function(event, callback) {
  2166. /// <summary>
  2167. /// Unbinds a callback from a widget event.
  2168. /// </summary>
  2169. /// <param name="event" type="String">The event name</param>
  2170. /// <param name="callback" type="Function">The callback to be removed.</param>
  2171. }
  2172. };
  2173. $.fn.getKendoFillOptions = function() {
  2174. /// <summary>
  2175. /// Returns a reference to the kendo.drawing.FillOptions widget, instantiated on the selector.
  2176. /// </summary>
  2177. /// <returns type="kendo.drawing.FillOptions">The kendo.drawing.FillOptions instance (if present).</returns>
  2178. };
  2179. $.fn.kendoFillOptions = function(options) {
  2180. /// <summary>
  2181. /// Instantiates a kendo.drawing.FillOptions widget based the DOM elements that match the selector.
  2182. /// &#10;Accepts an object with the following configuration options:
  2183. /// &#10;
  2184. /// </summary>
  2185. /// <param name="options" type="Object">
  2186. /// The widget configuration options
  2187. /// </param>
  2188. };
  2189. kendo.drawing.Gradient = function() { };
  2190. kendo.drawing.Gradient.prototype = {
  2191. addStop: function(offset,color,opacity) {
  2192. /// <summary>
  2193. /// Adds a color stop to the gradient.
  2194. /// </summary>
  2195. /// <param name="offset" type="Number" >The stop offset from the start of the element. Ranges from 0 (start of gradient) to 1 (end of gradient).</param>
  2196. /// <param name="color" type="String" >The color in any of the following formats.| Format | Description | --- | --- | --- | red | Basic or Extended CSS Color name | #ff0000 | Hex RGB value | rgb(255, 0, 0) | RGB valueSpecifying 'none', 'transparent' or '' (empty string) will clear the fill.</param>
  2197. /// <param name="opacity" type="Number" >The fill opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).</param>
  2198. /// <returns type="kendo.drawing.GradientStop">The new gradient color stop.</returns>
  2199. },
  2200. removeStop: function(stop) {
  2201. /// <summary>
  2202. /// Removes a color stop from the gradient.
  2203. /// </summary>
  2204. /// <param name="stop" type="kendo.drawing.GradientStop" >The gradient color stop to remove.</param>
  2205. },
  2206. bind: function(event, callback) {
  2207. /// <summary>
  2208. /// Binds to a widget event.
  2209. /// </summary>
  2210. /// <param name="event" type="String">The event name</param>
  2211. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  2212. },
  2213. unbind: function(event, callback) {
  2214. /// <summary>
  2215. /// Unbinds a callback from a widget event.
  2216. /// </summary>
  2217. /// <param name="event" type="String">The event name</param>
  2218. /// <param name="callback" type="Function">The callback to be removed.</param>
  2219. }
  2220. };
  2221. $.fn.getKendoGradient = function() {
  2222. /// <summary>
  2223. /// Returns a reference to the kendo.drawing.Gradient widget, instantiated on the selector.
  2224. /// </summary>
  2225. /// <returns type="kendo.drawing.Gradient">The kendo.drawing.Gradient instance (if present).</returns>
  2226. };
  2227. $.fn.kendoGradient = function(options) {
  2228. /// <summary>
  2229. /// Instantiates a kendo.drawing.Gradient widget based the DOM elements that match the selector.
  2230. /// &#10;Accepts an object with the following configuration options:
  2231. /// &#10;
  2232. /// &#10;stops - Array
  2233. /// &#10;The color stops of the gradient. Can contain either plain objects or GradientStop instances.
  2234. /// &#10;
  2235. /// </summary>
  2236. /// <param name="options" type="Object">
  2237. /// The widget configuration options
  2238. /// </param>
  2239. };
  2240. kendo.drawing.GradientStop = function() { };
  2241. kendo.drawing.GradientStop.prototype = {
  2242. bind: function(event, callback) {
  2243. /// <summary>
  2244. /// Binds to a widget event.
  2245. /// </summary>
  2246. /// <param name="event" type="String">The event name</param>
  2247. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  2248. },
  2249. unbind: function(event, callback) {
  2250. /// <summary>
  2251. /// Unbinds a callback from a widget event.
  2252. /// </summary>
  2253. /// <param name="event" type="String">The event name</param>
  2254. /// <param name="callback" type="Function">The callback to be removed.</param>
  2255. }
  2256. };
  2257. $.fn.getKendoGradientStop = function() {
  2258. /// <summary>
  2259. /// Returns a reference to the kendo.drawing.GradientStop widget, instantiated on the selector.
  2260. /// </summary>
  2261. /// <returns type="kendo.drawing.GradientStop">The kendo.drawing.GradientStop instance (if present).</returns>
  2262. };
  2263. $.fn.kendoGradientStop = function(options) {
  2264. /// <summary>
  2265. /// Instantiates a kendo.drawing.GradientStop widget based the DOM elements that match the selector.
  2266. /// &#10;Accepts an object with the following configuration options:
  2267. /// &#10;
  2268. /// &#10;offset - Number
  2269. /// &#10;The stop offset from the start of the element. Ranges from 0 (start of gradient) to 1 (end of gradient).
  2270. /// &#10;
  2271. /// &#10;color - String
  2272. /// &#10;The color in any of the following formats.| Format | Description | --- | --- | --- | red | Basic or Extended CSS Color name | #ff0000 | Hex RGB value | rgb(255, 0, 0) | RGB valueSpecifying 'none', 'transparent' or '' (empty string) will clear the fill.
  2273. /// &#10;
  2274. /// &#10;opacity - Number
  2275. /// &#10;The fill opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).
  2276. /// &#10;
  2277. /// </summary>
  2278. /// <param name="options" type="Object">
  2279. /// The widget configuration options
  2280. /// </param>
  2281. };
  2282. kendo.drawing.Group = function() { };
  2283. kendo.drawing.Group.prototype = {
  2284. append: function(element) {
  2285. /// <summary>
  2286. /// Appends the specified element as a last child of the group.
  2287. /// </summary>
  2288. /// <param name="element" type="kendo.drawing.Element" >The element to append. Multiple parameters are accepted.</param>
  2289. },
  2290. clear: function() {
  2291. /// <summary>
  2292. /// Removes all child elements from the group.
  2293. /// </summary>
  2294. },
  2295. clip: function(clip) {
  2296. /// <summary>
  2297. /// Gets or sets the group clipping path. Inherited from Element.clip
  2298. /// </summary>
  2299. /// <param name="clip" type="kendo.drawing.Path" >The group clipping path.</param>
  2300. /// <returns type="kendo.drawing.Path">The current group clipping path.</returns>
  2301. },
  2302. clippedBBox: function() {
  2303. /// <summary>
  2304. /// Returns the bounding box of the element with clipping and transformations applied. Inherited from Element.clippedBBox
  2305. /// </summary>
  2306. /// <returns type="kendo.geometry.Rect">The bounding box of the element with clipping transformations applied.</returns>
  2307. },
  2308. containsPoint: function(point) {
  2309. /// <summary>
  2310. /// Returns true if the shape contains the specified point.
  2311. /// </summary>
  2312. /// <param name="point" type="kendo.geometry.Point" >The point that should be checked.</param>
  2313. /// <returns type="Boolean">value indicating if the shape contains the point.</returns>
  2314. },
  2315. insert: function(position,element) {
  2316. /// <summary>
  2317. /// Inserts an element at the specified position.
  2318. /// </summary>
  2319. /// <param name="position" type="Number" >The position to insert the element at. Existing children beyond this position will be shifted right.</param>
  2320. /// <param name="element" type="kendo.drawing.Element" >The element to insert.</param>
  2321. },
  2322. opacity: function(opacity) {
  2323. /// <summary>
  2324. /// Gets or sets the group opacity. Inherited from Element.opacityThe opacity of any child groups and elements will be multiplied by this value.
  2325. /// </summary>
  2326. /// <param name="opacity" type="Number" >The group opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).</param>
  2327. /// <returns type="Number">The current group opacity.</returns>
  2328. },
  2329. remove: function(element) {
  2330. /// <summary>
  2331. /// Removes the specified element from the group.
  2332. /// </summary>
  2333. /// <param name="element" type="kendo.drawing.Element" >The element to remove.</param>
  2334. },
  2335. removeAt: function(index) {
  2336. /// <summary>
  2337. /// Removes the child element at the specified position.
  2338. /// </summary>
  2339. /// <param name="index" type="Number" >The index at which the element currently resides.</param>
  2340. },
  2341. visible: function(visible) {
  2342. /// <summary>
  2343. /// Gets or sets the visibility of the element.
  2344. /// </summary>
  2345. /// <param name="visible" type="Boolean" >A flag indicating if the element should be visible.</param>
  2346. /// <returns type="Boolean">true if the element is visible; false otherwise.</returns>
  2347. },
  2348. bind: function(event, callback) {
  2349. /// <summary>
  2350. /// Binds to a widget event.
  2351. /// </summary>
  2352. /// <param name="event" type="String">The event name</param>
  2353. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  2354. },
  2355. unbind: function(event, callback) {
  2356. /// <summary>
  2357. /// Unbinds a callback from a widget event.
  2358. /// </summary>
  2359. /// <param name="event" type="String">The event name</param>
  2360. /// <param name="callback" type="Function">The callback to be removed.</param>
  2361. }
  2362. };
  2363. $.fn.getKendoGroup = function() {
  2364. /// <summary>
  2365. /// Returns a reference to the kendo.drawing.Group widget, instantiated on the selector.
  2366. /// </summary>
  2367. /// <returns type="kendo.drawing.Group">The kendo.drawing.Group instance (if present).</returns>
  2368. };
  2369. $.fn.kendoGroup = function(options) {
  2370. /// <summary>
  2371. /// Instantiates a kendo.drawing.Group widget based the DOM elements that match the selector.
  2372. /// &#10;Accepts an object with the following configuration options:
  2373. /// &#10;
  2374. /// &#10;clip - kendo.drawing.Path
  2375. /// &#10;The group clipping path. Inherited from Element.clip
  2376. /// &#10;
  2377. /// &#10;cursor - String
  2378. /// &#10;The group cursor. Inherited from Element.cursor
  2379. /// &#10;
  2380. /// &#10;opacity - Number
  2381. /// &#10;The group opacity. Inherited from Element.opacityThe opacity of any child groups and elements will be multiplied by this value.
  2382. /// &#10;
  2383. /// &#10;pdf - kendo.drawing.PDFOptions
  2384. /// &#10;Page options to apply during PDF export.
  2385. /// &#10;
  2386. /// &#10;tooltip - kendo.drawing.TooltipOptions
  2387. /// &#10;The tooltip options of the shape.
  2388. /// &#10;
  2389. /// &#10;transform - kendo.geometry.Transformation
  2390. /// &#10;The transformation to apply to this group and its children. Inherited from Element.transform
  2391. /// &#10;
  2392. /// &#10;visible - Boolean
  2393. /// &#10;A flag, indicating if the group and its children are visible. Inherited from Element.visible
  2394. /// &#10;
  2395. /// </summary>
  2396. /// <param name="options" type="Object">
  2397. /// The widget configuration options
  2398. /// </param>
  2399. };
  2400. kendo.drawing.Image = function() { };
  2401. kendo.drawing.Image.prototype = {
  2402. bbox: function() {
  2403. /// <summary>
  2404. /// Returns the bounding box of the element with transformations applied. Inherited from Element.bbox
  2405. /// </summary>
  2406. /// <returns type="kendo.geometry.Rect">The bounding box of the element with transformations applied.</returns>
  2407. },
  2408. clip: function(clip) {
  2409. /// <summary>
  2410. /// Gets or sets the element clipping path. Inherited from Element.clip
  2411. /// </summary>
  2412. /// <param name="clip" type="kendo.drawing.Path" >The element clipping path.</param>
  2413. /// <returns type="kendo.drawing.Path">The current element clipping path.</returns>
  2414. },
  2415. clippedBBox: function() {
  2416. /// <summary>
  2417. /// Returns the bounding box of the element with clipping and transformations applied. Inherited from Element.clippedBBox
  2418. /// </summary>
  2419. /// <returns type="kendo.geometry.Rect">The bounding box of the element with clipping transformations applied.</returns>
  2420. },
  2421. containsPoint: function(point) {
  2422. /// <summary>
  2423. /// Returns true if the shape contains the specified point.
  2424. /// </summary>
  2425. /// <param name="point" type="kendo.geometry.Point" >The point that should be checked.</param>
  2426. /// <returns type="Boolean">value indicating if the shape contains the point.</returns>
  2427. },
  2428. opacity: function(opacity) {
  2429. /// <summary>
  2430. /// Gets or sets the element opacity. Inherited from Element.opacity
  2431. /// </summary>
  2432. /// <param name="opacity" type="Number" >The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).</param>
  2433. /// <returns type="Number">The current element opacity.</returns>
  2434. },
  2435. src: function(value) {
  2436. /// <summary>
  2437. /// Gets or sets the image source URL.
  2438. /// </summary>
  2439. /// <param name="value" type="String" >The new source URL.</param>
  2440. /// <returns type="String">The current image source URL.</returns>
  2441. },
  2442. rect: function(value) {
  2443. /// <summary>
  2444. /// Gets or sets the rectangle defines the image position and size.
  2445. /// </summary>
  2446. /// <param name="value" type="kendo.geometry.Rect" >The new image rectangle.</param>
  2447. /// <returns type="kendo.geometry.Rect">The current image rectangle.</returns>
  2448. },
  2449. transform: function(transform) {
  2450. /// <summary>
  2451. /// Gets or sets the transformation of the element. Inherited from Element.transform
  2452. /// </summary>
  2453. /// <param name="transform" type="kendo.geometry.Transformation" >The transformation to apply to the element.</param>
  2454. /// <returns type="kendo.geometry.Transformation">The current transformation on the element.</returns>
  2455. },
  2456. visible: function(visible) {
  2457. /// <summary>
  2458. /// Gets or sets the visibility of the element. Inherited from Element.visible
  2459. /// </summary>
  2460. /// <param name="visible" type="Boolean" >A flag indicating if the element should be visible.</param>
  2461. /// <returns type="Boolean">true if the element is visible; false otherwise.</returns>
  2462. },
  2463. bind: function(event, callback) {
  2464. /// <summary>
  2465. /// Binds to a widget event.
  2466. /// </summary>
  2467. /// <param name="event" type="String">The event name</param>
  2468. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  2469. },
  2470. unbind: function(event, callback) {
  2471. /// <summary>
  2472. /// Unbinds a callback from a widget event.
  2473. /// </summary>
  2474. /// <param name="event" type="String">The event name</param>
  2475. /// <param name="callback" type="Function">The callback to be removed.</param>
  2476. }
  2477. };
  2478. $.fn.getKendoImage = function() {
  2479. /// <summary>
  2480. /// Returns a reference to the kendo.drawing.Image widget, instantiated on the selector.
  2481. /// </summary>
  2482. /// <returns type="kendo.drawing.Image">The kendo.drawing.Image instance (if present).</returns>
  2483. };
  2484. $.fn.kendoImage = function(options) {
  2485. /// <summary>
  2486. /// Instantiates a kendo.drawing.Image widget based the DOM elements that match the selector.
  2487. /// &#10;Accepts an object with the following configuration options:
  2488. /// &#10;
  2489. /// &#10;clip - kendo.drawing.Path
  2490. /// &#10;The element clipping path. Inherited from Element.clip
  2491. /// &#10;
  2492. /// &#10;cursor - String
  2493. /// &#10;The element cursor. Inherited from Element.cursor
  2494. /// &#10;
  2495. /// &#10;opacity - Number
  2496. /// &#10;The element opacity. Inherited from Element.opacity
  2497. /// &#10;
  2498. /// &#10;tooltip - kendo.drawing.TooltipOptions
  2499. /// &#10;The tooltip options of the shape.
  2500. /// &#10;
  2501. /// &#10;transform - kendo.geometry.Transformation
  2502. /// &#10;The transformation to apply to this element. Inherited from Element.transform
  2503. /// &#10;
  2504. /// &#10;visible - Boolean
  2505. /// &#10;A flag, indicating if the element is visible. Inherited from Element.visible
  2506. /// &#10;
  2507. /// </summary>
  2508. /// <param name="options" type="Object">
  2509. /// The widget configuration options
  2510. /// </param>
  2511. };
  2512. kendo.drawing.Layout = function() { };
  2513. kendo.drawing.Layout.prototype = {
  2514. rect: function(rect) {
  2515. /// <summary>
  2516. /// Gets or sets the layout rectangle.
  2517. /// </summary>
  2518. /// <param name="rect" type="kendo.geometry.Rect" >The layout rectangle.</param>
  2519. /// <returns type="kendo.geometry.Rect">The current rectangle.</returns>
  2520. },
  2521. reflow: function() {
  2522. /// <summary>
  2523. /// Arranges the elements based on the current options.
  2524. /// </summary>
  2525. },
  2526. bind: function(event, callback) {
  2527. /// <summary>
  2528. /// Binds to a widget event.
  2529. /// </summary>
  2530. /// <param name="event" type="String">The event name</param>
  2531. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  2532. },
  2533. unbind: function(event, callback) {
  2534. /// <summary>
  2535. /// Unbinds a callback from a widget event.
  2536. /// </summary>
  2537. /// <param name="event" type="String">The event name</param>
  2538. /// <param name="callback" type="Function">The callback to be removed.</param>
  2539. }
  2540. };
  2541. $.fn.getKendoLayout = function() {
  2542. /// <summary>
  2543. /// Returns a reference to the kendo.drawing.Layout widget, instantiated on the selector.
  2544. /// </summary>
  2545. /// <returns type="kendo.drawing.Layout">The kendo.drawing.Layout instance (if present).</returns>
  2546. };
  2547. $.fn.kendoLayout = function(options) {
  2548. /// <summary>
  2549. /// Instantiates a kendo.drawing.Layout widget based the DOM elements that match the selector.
  2550. /// &#10;Accepts an object with the following configuration options:
  2551. /// &#10;
  2552. /// &#10;alignContent - String (default: "start")
  2553. /// &#10;Specifies the alignment of the content. The supported values are: "start" - aligns the content to the rectangle origin.; "center" - aligns the content to the rectangle center. or "end" - aligns the content to the rectangle end..
  2554. /// &#10;
  2555. /// &#10;alignItems - String (default: "start")
  2556. /// &#10;Specifies the alignment of the items based on the largest one. The supported values are: "start" - aligns the items to the start of the largest element.; "center" - aligns the items to the center of the largest element. or "end" - aligns the items to the end of the largest element..
  2557. /// &#10;
  2558. /// &#10;justifyContent - String (default: "start")
  2559. /// &#10;Specifies how should the content be justified. The supported values are: "start" - aligns the items to the rectangle origin.; "center" - aligns the items to the rectangle center. or "end" - aligns the items to the rectangle end..
  2560. /// &#10;
  2561. /// &#10;lineSpacing - Number (default: 0)
  2562. /// &#10;Specifies the distance between the lines for wrapped layout.
  2563. /// &#10;
  2564. /// &#10;spacing - Number (default: 0)
  2565. /// &#10;Specifies the distance between the elements.
  2566. /// &#10;
  2567. /// &#10;orientation - String (default: "horizontal")
  2568. /// &#10;Specifies layout orientation. The supported values are: "horizontal" - the elements are arranged horizontally. or "vertical" - the elements are arranged vertically..
  2569. /// &#10;
  2570. /// &#10;wrap - Boolean (default: true)
  2571. /// &#10;Specifies the behavior when the elements size exceeds the rectangle size. If set to true, the elements will be moved to the next "line". If set to false, the layout will be scaled so that the elements fit in the rectangle.
  2572. /// &#10;
  2573. /// </summary>
  2574. /// <param name="options" type="Object">
  2575. /// The widget configuration options
  2576. /// </param>
  2577. };
  2578. kendo.drawing.LinearGradient = function() { };
  2579. kendo.drawing.LinearGradient.prototype = {
  2580. addStop: function(offset,color,opacity) {
  2581. /// <summary>
  2582. /// Adds a color stop to the gradient. Inherited from Gradient.addStop
  2583. /// </summary>
  2584. /// <param name="offset" type="Number" ></param>
  2585. /// <param name="color" type="String" >The color of the stop.</param>
  2586. /// <param name="opacity" type="Number" >The fill opacity.</param>
  2587. /// <returns type="kendo.drawing.GradientStop">The new gradient color stop.</returns>
  2588. },
  2589. end: function(end) {
  2590. /// <summary>
  2591. /// Gets or sets the end point of the gradient.
  2592. /// </summary>
  2593. /// <param name="end" type="Object" >The end point of the gradient.Coordinates are relative to the shape bounding box. For example [0, 0] is top left and [1, 1] is bottom right.</param>
  2594. /// <returns type="kendo.geometry.Point">The current end point of the gradient.</returns>
  2595. },
  2596. start: function(start) {
  2597. /// <summary>
  2598. /// Gets or sets the start point of the gradient.
  2599. /// </summary>
  2600. /// <param name="start" type="Object" >The start point of the gradient.Coordinates are relative to the shape bounding box. For example [0, 0] is top left and [1, 1] is bottom right.</param>
  2601. /// <returns type="kendo.geometry.Point">The current start point of the gradient.</returns>
  2602. },
  2603. removeStop: function(stop) {
  2604. /// <summary>
  2605. /// Removes a color stop from the gradient. Inherited from Gradient.removeStop
  2606. /// </summary>
  2607. /// <param name="stop" type="kendo.drawing.GradientStop" >The gradient color stop to remove.</param>
  2608. },
  2609. bind: function(event, callback) {
  2610. /// <summary>
  2611. /// Binds to a widget event.
  2612. /// </summary>
  2613. /// <param name="event" type="String">The event name</param>
  2614. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  2615. },
  2616. unbind: function(event, callback) {
  2617. /// <summary>
  2618. /// Unbinds a callback from a widget event.
  2619. /// </summary>
  2620. /// <param name="event" type="String">The event name</param>
  2621. /// <param name="callback" type="Function">The callback to be removed.</param>
  2622. }
  2623. };
  2624. $.fn.getKendoLinearGradient = function() {
  2625. /// <summary>
  2626. /// Returns a reference to the kendo.drawing.LinearGradient widget, instantiated on the selector.
  2627. /// </summary>
  2628. /// <returns type="kendo.drawing.LinearGradient">The kendo.drawing.LinearGradient instance (if present).</returns>
  2629. };
  2630. $.fn.kendoLinearGradient = function(options) {
  2631. /// <summary>
  2632. /// Instantiates a kendo.drawing.LinearGradient widget based the DOM elements that match the selector.
  2633. /// &#10;Accepts an object with the following configuration options:
  2634. /// &#10;
  2635. /// &#10;stops - Array
  2636. /// &#10;The color stops of the gradient. Can contain either plain objects or GradientStop instances.
  2637. /// &#10;
  2638. /// </summary>
  2639. /// <param name="options" type="Object">
  2640. /// The widget configuration options
  2641. /// </param>
  2642. };
  2643. kendo.drawing.MultiPath = function() { };
  2644. kendo.drawing.MultiPath.prototype = {
  2645. bbox: function() {
  2646. /// <summary>
  2647. /// Returns the bounding box of the element with transformations applied. Inherited from Element.bbox
  2648. /// </summary>
  2649. /// <returns type="kendo.geometry.Rect">The bounding box of the element with transformations applied.</returns>
  2650. },
  2651. clip: function(clip) {
  2652. /// <summary>
  2653. /// Gets or sets the element clipping path. Inherited from Element.clip
  2654. /// </summary>
  2655. /// <param name="clip" type="kendo.drawing.Path" >The element clipping path.</param>
  2656. /// <returns type="kendo.drawing.Path">The current element clipping path.</returns>
  2657. },
  2658. clippedBBox: function() {
  2659. /// <summary>
  2660. /// Returns the bounding box of the element with clipping and transformations applied. Inherited from Element.clippedBBox
  2661. /// </summary>
  2662. /// <returns type="kendo.geometry.Rect">The bounding box of the element with clipping transformations applied.</returns>
  2663. },
  2664. close: function() {
  2665. /// <summary>
  2666. /// Closes the current sub-path by linking its current end point with its start point.
  2667. /// </summary>
  2668. /// <returns type="kendo.drawing.MultiPath">The current instance to allow chaining.</returns>
  2669. },
  2670. containsPoint: function(point) {
  2671. /// <summary>
  2672. /// Returns true if the shape contains the specified point.
  2673. /// </summary>
  2674. /// <param name="point" type="kendo.geometry.Point" >The point that should be checked.</param>
  2675. /// <returns type="Boolean">value indicating if the shape contains the point.</returns>
  2676. },
  2677. curveTo: function(controlOut,controlIn,endPoint) {
  2678. /// <summary>
  2679. /// Draws a cubic Bézier curve (with two control points).A quadratic Bézier curve (with one control point) can be plotted by making the control point equal.
  2680. /// </summary>
  2681. /// <param name="controlOut" type="Object" >The first control point for the curve.</param>
  2682. /// <param name="controlIn" type="Object" >The second control point for the curve.</param>
  2683. /// <param name="endPoint" type="Object" >The curve end point.</param>
  2684. /// <returns type="kendo.drawing.MultiPath">The current instance to allow chaining.</returns>
  2685. },
  2686. fill: function(color,opacity) {
  2687. /// <summary>
  2688. /// Sets the shape fill.
  2689. /// </summary>
  2690. /// <param name="color" type="String" >The fill color to set.</param>
  2691. /// <param name="opacity" type="Number" >The fill opacity to set.</param>
  2692. /// <returns type="kendo.drawing.MultiPath">The current instance to allow chaining.</returns>
  2693. },
  2694. lineTo: function(x,y) {
  2695. /// <summary>
  2696. /// Draws a straight line to the specified absolute coordinates.
  2697. /// </summary>
  2698. /// <param name="x" type="Object" >The line end X coordinate or a Point/Array with X and Y coordinates.</param>
  2699. /// <param name="y" type="Number" >The line end Y coordinate.Optional if the first parameter is a Point/Array.</param>
  2700. /// <returns type="kendo.drawing.MultiPath">The current instance to allow chaining.</returns>
  2701. },
  2702. moveTo: function(x,y) {
  2703. /// <summary>
  2704. /// Creates a new sub-path or clears all segments and moves the starting point to the specified absolute coordinates.
  2705. /// </summary>
  2706. /// <param name="x" type="Object" >The starting X coordinate or a Point/Array with X and Y coordinates.</param>
  2707. /// <param name="y" type="Number" >The starting Y coordinate.Optional if the first parameter is a Point/Array.</param>
  2708. /// <returns type="kendo.drawing.MultiPath">The current instance to allow chaining.</returns>
  2709. },
  2710. opacity: function(opacity) {
  2711. /// <summary>
  2712. /// Gets or sets the element opacity. Inherited from Element.opacityIf set, the stroke and fill opacity will be multiplied by the element opacity.
  2713. /// </summary>
  2714. /// <param name="opacity" type="Number" >The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).</param>
  2715. /// <returns type="Number">The current element opacity.</returns>
  2716. },
  2717. stroke: function(color,width,opacity) {
  2718. /// <summary>
  2719. /// Sets the shape stroke.
  2720. /// </summary>
  2721. /// <param name="color" type="String" >The stroke color to set.</param>
  2722. /// <param name="width" type="Number" >The stroke width to set.</param>
  2723. /// <param name="opacity" type="Number" >The stroke opacity to set.</param>
  2724. /// <returns type="kendo.drawing.MultiPath">The current instance to allow chaining.</returns>
  2725. },
  2726. transform: function(transform) {
  2727. /// <summary>
  2728. /// Gets or sets the transformation of the element. Inherited from Element.transform
  2729. /// </summary>
  2730. /// <param name="transform" type="kendo.geometry.Transformation" >The transformation to apply to the element.</param>
  2731. /// <returns type="kendo.geometry.Transformation">The current transformation on the element.</returns>
  2732. },
  2733. visible: function(visible) {
  2734. /// <summary>
  2735. /// Gets or sets the visibility of the element. Inherited from Element.visible
  2736. /// </summary>
  2737. /// <param name="visible" type="Boolean" >A flag indicating if the element should be visible.</param>
  2738. /// <returns type="Boolean">true if the element is visible; false otherwise.</returns>
  2739. },
  2740. bind: function(event, callback) {
  2741. /// <summary>
  2742. /// Binds to a widget event.
  2743. /// </summary>
  2744. /// <param name="event" type="String">The event name</param>
  2745. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  2746. },
  2747. unbind: function(event, callback) {
  2748. /// <summary>
  2749. /// Unbinds a callback from a widget event.
  2750. /// </summary>
  2751. /// <param name="event" type="String">The event name</param>
  2752. /// <param name="callback" type="Function">The callback to be removed.</param>
  2753. }
  2754. };
  2755. $.fn.getKendoMultiPath = function() {
  2756. /// <summary>
  2757. /// Returns a reference to the kendo.drawing.MultiPath widget, instantiated on the selector.
  2758. /// </summary>
  2759. /// <returns type="kendo.drawing.MultiPath">The kendo.drawing.MultiPath instance (if present).</returns>
  2760. };
  2761. $.fn.kendoMultiPath = function(options) {
  2762. /// <summary>
  2763. /// Instantiates a kendo.drawing.MultiPath widget based the DOM elements that match the selector.
  2764. /// &#10;Accepts an object with the following configuration options:
  2765. /// &#10;
  2766. /// &#10;clip - kendo.drawing.Path
  2767. /// &#10;The element clipping path. Inherited from Element.clip
  2768. /// &#10;
  2769. /// &#10;cursor - String
  2770. /// &#10;The element cursor. Inherited from Element.cursor
  2771. /// &#10;
  2772. /// &#10;fill - kendo.drawing.FillOptions
  2773. /// &#10;The fill options of the shape.
  2774. /// &#10;
  2775. /// &#10;opacity - Number
  2776. /// &#10;The element opacity. Inherited from Element.opacity
  2777. /// &#10;
  2778. /// &#10;stroke - kendo.drawing.StrokeOptions
  2779. /// &#10;The stroke options of the shape.
  2780. /// &#10;
  2781. /// &#10;tooltip - kendo.drawing.TooltipOptions
  2782. /// &#10;The tooltip options of the shape.
  2783. /// &#10;
  2784. /// &#10;transform - kendo.geometry.Transformation
  2785. /// &#10;The transformation to apply to this element. Inherited from Element.transform
  2786. /// &#10;
  2787. /// &#10;visible - Boolean
  2788. /// &#10;A flag, indicating if the element is visible. Inherited from Element.visible
  2789. /// &#10;
  2790. /// </summary>
  2791. /// <param name="options" type="Object">
  2792. /// The widget configuration options
  2793. /// </param>
  2794. };
  2795. kendo.drawing.OptionsStore = function() { };
  2796. kendo.drawing.OptionsStore.prototype = {
  2797. get: function(field) {
  2798. /// <summary>
  2799. /// Gets the value of the specified option.
  2800. /// </summary>
  2801. /// <param name="field" type="String" >The field name to retrieve. Must be a fully qualified name (e.g. "foo.bar") for nested options.</param>
  2802. /// <returns type="Object">The current option value.</returns>
  2803. },
  2804. set: function(field,value) {
  2805. /// <summary>
  2806. /// Sets the value of the specified option.
  2807. /// </summary>
  2808. /// <param name="field" type="String" >The name of the option to set. Must be a fully qualified name (e.g. "foo.bar") for nested options.</param>
  2809. /// <param name="value" type="Object" >The new option value.If the new value is exactly the same as the new value the operation will not trigger options change on the observer (if any).</param>
  2810. },
  2811. bind: function(event, callback) {
  2812. /// <summary>
  2813. /// Binds to a widget event.
  2814. /// </summary>
  2815. /// <param name="event" type="String">The event name</param>
  2816. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  2817. },
  2818. unbind: function(event, callback) {
  2819. /// <summary>
  2820. /// Unbinds a callback from a widget event.
  2821. /// </summary>
  2822. /// <param name="event" type="String">The event name</param>
  2823. /// <param name="callback" type="Function">The callback to be removed.</param>
  2824. }
  2825. };
  2826. $.fn.getKendoOptionsStore = function() {
  2827. /// <summary>
  2828. /// Returns a reference to the kendo.drawing.OptionsStore widget, instantiated on the selector.
  2829. /// </summary>
  2830. /// <returns type="kendo.drawing.OptionsStore">The kendo.drawing.OptionsStore instance (if present).</returns>
  2831. };
  2832. $.fn.kendoOptionsStore = function(options) {
  2833. /// <summary>
  2834. /// Instantiates a kendo.drawing.OptionsStore widget based the DOM elements that match the selector.
  2835. /// &#10;Accepts an object with the following configuration options:
  2836. /// &#10;
  2837. /// </summary>
  2838. /// <param name="options" type="Object">
  2839. /// The widget configuration options
  2840. /// </param>
  2841. };
  2842. kendo.drawing.PDFOptions = function() { };
  2843. kendo.drawing.PDFOptions.prototype = {
  2844. bind: function(event, callback) {
  2845. /// <summary>
  2846. /// Binds to a widget event.
  2847. /// </summary>
  2848. /// <param name="event" type="String">The event name</param>
  2849. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  2850. },
  2851. unbind: function(event, callback) {
  2852. /// <summary>
  2853. /// Unbinds a callback from a widget event.
  2854. /// </summary>
  2855. /// <param name="event" type="String">The event name</param>
  2856. /// <param name="callback" type="Function">The callback to be removed.</param>
  2857. }
  2858. };
  2859. $.fn.getKendoPDFOptions = function() {
  2860. /// <summary>
  2861. /// Returns a reference to the kendo.drawing.PDFOptions widget, instantiated on the selector.
  2862. /// </summary>
  2863. /// <returns type="kendo.drawing.PDFOptions">The kendo.drawing.PDFOptions instance (if present).</returns>
  2864. };
  2865. $.fn.kendoPDFOptions = function(options) {
  2866. /// <summary>
  2867. /// Instantiates a kendo.drawing.PDFOptions widget based the DOM elements that match the selector.
  2868. /// &#10;Accepts an object with the following configuration options:
  2869. /// &#10;
  2870. /// </summary>
  2871. /// <param name="options" type="Object">
  2872. /// The widget configuration options
  2873. /// </param>
  2874. };
  2875. kendo.drawing.Path = function() { };
  2876. kendo.drawing.Path.prototype = {
  2877. bbox: function() {
  2878. /// <summary>
  2879. /// Returns the bounding box of the element with transformations applied. Inherited from Element.bbox
  2880. /// </summary>
  2881. /// <returns type="kendo.geometry.Rect">The bounding box of the element with transformations applied.</returns>
  2882. },
  2883. clip: function(clip) {
  2884. /// <summary>
  2885. /// Gets or sets the element clipping path. Inherited from Element.clip
  2886. /// </summary>
  2887. /// <param name="clip" type="kendo.drawing.Path" >The element clipping path.</param>
  2888. /// <returns type="kendo.drawing.Path">The current element clipping path.</returns>
  2889. },
  2890. clippedBBox: function() {
  2891. /// <summary>
  2892. /// Returns the bounding box of the element with clipping and transformations applied. Inherited from Element.clippedBBox
  2893. /// </summary>
  2894. /// <returns type="kendo.geometry.Rect">The bounding box of the element with clipping transformations applied.</returns>
  2895. },
  2896. close: function() {
  2897. /// <summary>
  2898. /// Closes the path by linking the current end point with the start point.
  2899. /// </summary>
  2900. /// <returns type="kendo.drawing.Path">The current instance to allow chaining.</returns>
  2901. },
  2902. containsPoint: function(point) {
  2903. /// <summary>
  2904. /// Returns true if the shape contains the specified point.
  2905. /// </summary>
  2906. /// <param name="point" type="kendo.geometry.Point" >The point that should be checked.</param>
  2907. /// <returns type="Boolean">value indicating if the shape contains the point.</returns>
  2908. },
  2909. curveTo: function(controlOut,controlIn,endPoint) {
  2910. /// <summary>
  2911. /// Draws a cubic Bézier curve (with two control points).A quadratic Bézier curve (with one control point) can be plotted by making the control point equal.
  2912. /// </summary>
  2913. /// <param name="controlOut" type="Object" >The first control point for the curve.</param>
  2914. /// <param name="controlIn" type="Object" >The second control point for the curve.</param>
  2915. /// <param name="endPoint" type="Object" >The curve end point.</param>
  2916. /// <returns type="kendo.drawing.Path">The current instance to allow chaining.</returns>
  2917. },
  2918. fill: function(color,opacity) {
  2919. /// <summary>
  2920. /// Sets the shape fill.
  2921. /// </summary>
  2922. /// <param name="color" type="String" >The fill color to set.</param>
  2923. /// <param name="opacity" type="Number" >The fill opacity to set.</param>
  2924. /// <returns type="kendo.drawing.Path">The current instance to allow chaining.</returns>
  2925. },
  2926. lineTo: function(x,y) {
  2927. /// <summary>
  2928. /// Draws a straight line to the specified absolute coordinates.
  2929. /// </summary>
  2930. /// <param name="x" type="Object" >The line end X coordinate or a Point/Array with X and Y coordinates.</param>
  2931. /// <param name="y" type="Number" >The line end Y coordinate.Optional if the first parameter is a Point/Array.</param>
  2932. /// <returns type="kendo.drawing.Path">The current instance to allow chaining.</returns>
  2933. },
  2934. moveTo: function(x,y) {
  2935. /// <summary>
  2936. /// Clears all existing segments and moves the starting point to the specified absolute coordinates.
  2937. /// </summary>
  2938. /// <param name="x" type="Object" >The starting X coordinate or a Point/Array with X and Y coordinates.</param>
  2939. /// <param name="y" type="Number" >The starting Y coordinate.Optional if the first parameter is a Point/Array.</param>
  2940. /// <returns type="kendo.drawing.Path">The current instance to allow chaining.</returns>
  2941. },
  2942. opacity: function(opacity) {
  2943. /// <summary>
  2944. /// Gets or sets the element opacity. Inherited from Element.opacityIf set, the stroke and fill opacity will be multiplied by the element opacity.
  2945. /// </summary>
  2946. /// <param name="opacity" type="Number" >The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).</param>
  2947. /// <returns type="Number">The current element opacity.</returns>
  2948. },
  2949. stroke: function(color,width,opacity) {
  2950. /// <summary>
  2951. /// Sets the shape stroke.
  2952. /// </summary>
  2953. /// <param name="color" type="String" >The stroke color to set.</param>
  2954. /// <param name="width" type="Number" >The stroke width to set.</param>
  2955. /// <param name="opacity" type="Number" >The stroke opacity to set.</param>
  2956. /// <returns type="kendo.drawing.Path">The current instance to allow chaining.</returns>
  2957. },
  2958. transform: function(transform) {
  2959. /// <summary>
  2960. /// Gets or sets the transformation of the element. Inherited from Element.transform
  2961. /// </summary>
  2962. /// <param name="transform" type="kendo.geometry.Transformation" >The transformation to apply to the element.</param>
  2963. /// <returns type="kendo.geometry.Transformation">The current transformation on the element.</returns>
  2964. },
  2965. visible: function(visible) {
  2966. /// <summary>
  2967. /// Gets or sets the visibility of the element. Inherited from Element.visible
  2968. /// </summary>
  2969. /// <param name="visible" type="Boolean" >A flag indicating if the element should be visible.</param>
  2970. /// <returns type="Boolean">true if the element is visible; false otherwise.</returns>
  2971. },
  2972. bind: function(event, callback) {
  2973. /// <summary>
  2974. /// Binds to a widget event.
  2975. /// </summary>
  2976. /// <param name="event" type="String">The event name</param>
  2977. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  2978. },
  2979. unbind: function(event, callback) {
  2980. /// <summary>
  2981. /// Unbinds a callback from a widget event.
  2982. /// </summary>
  2983. /// <param name="event" type="String">The event name</param>
  2984. /// <param name="callback" type="Function">The callback to be removed.</param>
  2985. }
  2986. };
  2987. $.fn.getKendoPath = function() {
  2988. /// <summary>
  2989. /// Returns a reference to the kendo.drawing.Path widget, instantiated on the selector.
  2990. /// </summary>
  2991. /// <returns type="kendo.drawing.Path">The kendo.drawing.Path instance (if present).</returns>
  2992. };
  2993. $.fn.kendoPath = function(options) {
  2994. /// <summary>
  2995. /// Instantiates a kendo.drawing.Path widget based the DOM elements that match the selector.
  2996. /// &#10;Accepts an object with the following configuration options:
  2997. /// &#10;
  2998. /// &#10;clip - kendo.drawing.Path
  2999. /// &#10;The element clipping path. Inherited from Element.clip
  3000. /// &#10;
  3001. /// &#10;cursor - String
  3002. /// &#10;The element cursor. Inherited from Element.cursor
  3003. /// &#10;
  3004. /// &#10;fill - kendo.drawing.FillOptions
  3005. /// &#10;The fill options of the shape.
  3006. /// &#10;
  3007. /// &#10;opacity - Number
  3008. /// &#10;The element opacity. Inherited from Element.opacity
  3009. /// &#10;
  3010. /// &#10;stroke - kendo.drawing.StrokeOptions
  3011. /// &#10;The stroke options of the shape.
  3012. /// &#10;
  3013. /// &#10;tooltip - kendo.drawing.TooltipOptions
  3014. /// &#10;The tooltip options of the shape.
  3015. /// &#10;
  3016. /// &#10;transform - kendo.geometry.Transformation
  3017. /// &#10;The transformation to apply to this element. Inherited from Element.transform
  3018. /// &#10;
  3019. /// &#10;visible - Boolean
  3020. /// &#10;A flag, indicating if the element is visible. Inherited from Element.visible
  3021. /// &#10;
  3022. /// </summary>
  3023. /// <param name="options" type="Object">
  3024. /// The widget configuration options
  3025. /// </param>
  3026. };
  3027. kendo.drawing.RadialGradient = function() { };
  3028. kendo.drawing.RadialGradient.prototype = {
  3029. addStop: function(offset,color,opacity) {
  3030. /// <summary>
  3031. /// Adds a color stop to the gradient. Inherited from Gradient.addStop
  3032. /// </summary>
  3033. /// <param name="offset" type="Number" ></param>
  3034. /// <param name="color" type="String" >The color of the stop.</param>
  3035. /// <param name="opacity" type="Number" >The fill opacity.</param>
  3036. /// <returns type="kendo.drawing.GradientStop">The new gradient color stop.</returns>
  3037. },
  3038. center: function(center) {
  3039. /// <summary>
  3040. /// Gets or sets the center point of the gradient.
  3041. /// </summary>
  3042. /// <param name="center" type="Object" >The center point of the gradient.Coordinates are relative to the shape bounding box. For example [0, 0] is top left and [1, 1] is bottom right.</param>
  3043. /// <returns type="kendo.geometry.Point">The current radius of the gradient.</returns>
  3044. },
  3045. radius: function(value) {
  3046. /// <summary>
  3047. /// Gets or sets the radius of the gradient.
  3048. /// </summary>
  3049. /// <param name="value" type="Number" >The new radius of the gradient.</param>
  3050. /// <returns type="Number">The current radius of the gradient.</returns>
  3051. },
  3052. removeStop: function(stop) {
  3053. /// <summary>
  3054. /// Removes a color stop from the gradient. Inherited from Gradient.removeStop
  3055. /// </summary>
  3056. /// <param name="stop" type="kendo.drawing.GradientStop" >The gradient color stop to remove.</param>
  3057. },
  3058. bind: function(event, callback) {
  3059. /// <summary>
  3060. /// Binds to a widget event.
  3061. /// </summary>
  3062. /// <param name="event" type="String">The event name</param>
  3063. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  3064. },
  3065. unbind: function(event, callback) {
  3066. /// <summary>
  3067. /// Unbinds a callback from a widget event.
  3068. /// </summary>
  3069. /// <param name="event" type="String">The event name</param>
  3070. /// <param name="callback" type="Function">The callback to be removed.</param>
  3071. }
  3072. };
  3073. $.fn.getKendoRadialGradient = function() {
  3074. /// <summary>
  3075. /// Returns a reference to the kendo.drawing.RadialGradient widget, instantiated on the selector.
  3076. /// </summary>
  3077. /// <returns type="kendo.drawing.RadialGradient">The kendo.drawing.RadialGradient instance (if present).</returns>
  3078. };
  3079. $.fn.kendoRadialGradient = function(options) {
  3080. /// <summary>
  3081. /// Instantiates a kendo.drawing.RadialGradient widget based the DOM elements that match the selector.
  3082. /// &#10;Accepts an object with the following configuration options:
  3083. /// &#10;
  3084. /// &#10;center - Array|kendo.geometry.Point
  3085. /// &#10;The center of the gradient.Coordinates are relative to the shape bounding box. For example [0, 0] is top left and [1, 1] is bottom right.
  3086. /// &#10;
  3087. /// &#10;radius - Number (default: 1)
  3088. /// &#10;The radius of the radial gradient relative to the shape bounding box.
  3089. /// &#10;
  3090. /// &#10;stops - Array
  3091. /// &#10;The color stops of the gradient. Can contain either plain objects or GradientStop instances.
  3092. /// &#10;
  3093. /// </summary>
  3094. /// <param name="options" type="Object">
  3095. /// The widget configuration options
  3096. /// </param>
  3097. };
  3098. kendo.drawing.Rect = function() { };
  3099. kendo.drawing.Rect.prototype = {
  3100. bbox: function() {
  3101. /// <summary>
  3102. /// Returns the bounding box of the element with transformations applied. Inherited from Element.bbox
  3103. /// </summary>
  3104. /// <returns type="kendo.geometry.Rect">The bounding box of the element with transformations applied.</returns>
  3105. },
  3106. clip: function(clip) {
  3107. /// <summary>
  3108. /// Gets or sets the element clipping path. Inherited from Element.clip
  3109. /// </summary>
  3110. /// <param name="clip" type="kendo.drawing.Path" >The element clipping path.</param>
  3111. /// <returns type="kendo.drawing.Path">The current element clipping path.</returns>
  3112. },
  3113. clippedBBox: function() {
  3114. /// <summary>
  3115. /// Returns the bounding box of the element with clipping and transformations applied. Inherited from Element.clippedBBox
  3116. /// </summary>
  3117. /// <returns type="kendo.geometry.Rect">The bounding box of the element with clipping transformations applied.</returns>
  3118. },
  3119. containsPoint: function(point) {
  3120. /// <summary>
  3121. /// Returns true if the shape contains the specified point.
  3122. /// </summary>
  3123. /// <param name="point" type="kendo.geometry.Point" >The point that should be checked.</param>
  3124. /// <returns type="Boolean">value indicating if the shape contains the point.</returns>
  3125. },
  3126. geometry: function(value) {
  3127. /// <summary>
  3128. /// Gets or sets the rectangle geometry.
  3129. /// </summary>
  3130. /// <param name="value" type="kendo.geometry.Rect" >The new geometry to use.</param>
  3131. /// <returns type="kendo.geometry.Rect">The current rectangle geometry.</returns>
  3132. },
  3133. fill: function(color,opacity) {
  3134. /// <summary>
  3135. /// Sets the shape fill.
  3136. /// </summary>
  3137. /// <param name="color" type="String" >The fill color to set.</param>
  3138. /// <param name="opacity" type="Number" >The fill opacity to set.</param>
  3139. /// <returns type="kendo.drawing.Rect">The current instance to allow chaining.</returns>
  3140. },
  3141. opacity: function(opacity) {
  3142. /// <summary>
  3143. /// Gets or sets the element opacity. Inherited from Element.opacityIf set, the stroke and fill opacity will be multiplied by the element opacity.
  3144. /// </summary>
  3145. /// <param name="opacity" type="Number" >The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).</param>
  3146. /// <returns type="Number">The current element opacity.</returns>
  3147. },
  3148. stroke: function(color,width,opacity) {
  3149. /// <summary>
  3150. /// Sets the shape stroke.
  3151. /// </summary>
  3152. /// <param name="color" type="String" >The stroke color to set.</param>
  3153. /// <param name="width" type="Number" >The stroke width to set.</param>
  3154. /// <param name="opacity" type="Number" >The stroke opacity to set.</param>
  3155. /// <returns type="kendo.drawing.Rect">The current instance to allow chaining.</returns>
  3156. },
  3157. transform: function(transform) {
  3158. /// <summary>
  3159. /// Gets or sets the transformation of the element. Inherited from Element.transform
  3160. /// </summary>
  3161. /// <param name="transform" type="kendo.geometry.Transformation" >The transformation to apply to the element.</param>
  3162. /// <returns type="kendo.geometry.Transformation">The current transformation on the element.</returns>
  3163. },
  3164. visible: function(visible) {
  3165. /// <summary>
  3166. /// Gets or sets the visibility of the element. Inherited from Element.visible
  3167. /// </summary>
  3168. /// <param name="visible" type="Boolean" >A flag indicating if the element should be visible.</param>
  3169. /// <returns type="Boolean">true if the element is visible; false otherwise.</returns>
  3170. },
  3171. bind: function(event, callback) {
  3172. /// <summary>
  3173. /// Binds to a widget event.
  3174. /// </summary>
  3175. /// <param name="event" type="String">The event name</param>
  3176. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  3177. },
  3178. unbind: function(event, callback) {
  3179. /// <summary>
  3180. /// Unbinds a callback from a widget event.
  3181. /// </summary>
  3182. /// <param name="event" type="String">The event name</param>
  3183. /// <param name="callback" type="Function">The callback to be removed.</param>
  3184. }
  3185. };
  3186. $.fn.getKendoRect = function() {
  3187. /// <summary>
  3188. /// Returns a reference to the kendo.drawing.Rect widget, instantiated on the selector.
  3189. /// </summary>
  3190. /// <returns type="kendo.drawing.Rect">The kendo.drawing.Rect instance (if present).</returns>
  3191. };
  3192. $.fn.kendoRect = function(options) {
  3193. /// <summary>
  3194. /// Instantiates a kendo.drawing.Rect widget based the DOM elements that match the selector.
  3195. /// &#10;Accepts an object with the following configuration options:
  3196. /// &#10;
  3197. /// &#10;clip - kendo.drawing.Path
  3198. /// &#10;The element clipping path. Inherited from Element.clip
  3199. /// &#10;
  3200. /// &#10;cursor - String
  3201. /// &#10;The element cursor. Inherited from Element.cursor
  3202. /// &#10;
  3203. /// &#10;fill - kendo.drawing.FillOptions
  3204. /// &#10;The fill options of the shape.
  3205. /// &#10;
  3206. /// &#10;opacity - Number
  3207. /// &#10;The element opacity. Inherited from Element.opacity
  3208. /// &#10;
  3209. /// &#10;stroke - kendo.drawing.StrokeOptions
  3210. /// &#10;The stroke options of the shape.
  3211. /// &#10;
  3212. /// &#10;tooltip - kendo.drawing.TooltipOptions
  3213. /// &#10;The tooltip options of the shape.
  3214. /// &#10;
  3215. /// &#10;transform - kendo.geometry.Transformation
  3216. /// &#10;The transformation to apply to this element. Inherited from Element.transform
  3217. /// &#10;
  3218. /// &#10;visible - Boolean
  3219. /// &#10;A flag, indicating if the element is visible. Inherited from Element.visible
  3220. /// &#10;
  3221. /// </summary>
  3222. /// <param name="options" type="Object">
  3223. /// The widget configuration options
  3224. /// </param>
  3225. };
  3226. kendo.drawing.Segment = function() { };
  3227. kendo.drawing.Segment.prototype = {
  3228. anchor: function(value) {
  3229. /// <summary>
  3230. /// Gets or sets the segment anchor point.The setter returns the current Segment to allow chaining.
  3231. /// </summary>
  3232. /// <param name="value" type="kendo.geometry.Point" >The new anchor point.</param>
  3233. /// <returns type="kendo.geometry.Point">The current anchor point.</returns>
  3234. },
  3235. controlIn: function(value) {
  3236. /// <summary>
  3237. /// Gets or sets the first curve control point of this segment.The setter returns the current Segment to allow chaining.
  3238. /// </summary>
  3239. /// <param name="value" type="kendo.geometry.Point" >The new control point.</param>
  3240. /// <returns type="kendo.geometry.Point">The current control point.</returns>
  3241. },
  3242. controlOut: function(value) {
  3243. /// <summary>
  3244. /// Gets or sets the second curve control point of this segment.The setter returns the current Segment to allow chaining.
  3245. /// </summary>
  3246. /// <param name="value" type="kendo.geometry.Point" >The new control point.</param>
  3247. /// <returns type="kendo.geometry.Point">The current control point.</returns>
  3248. },
  3249. bind: function(event, callback) {
  3250. /// <summary>
  3251. /// Binds to a widget event.
  3252. /// </summary>
  3253. /// <param name="event" type="String">The event name</param>
  3254. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  3255. },
  3256. unbind: function(event, callback) {
  3257. /// <summary>
  3258. /// Unbinds a callback from a widget event.
  3259. /// </summary>
  3260. /// <param name="event" type="String">The event name</param>
  3261. /// <param name="callback" type="Function">The callback to be removed.</param>
  3262. }
  3263. };
  3264. $.fn.getKendoSegment = function() {
  3265. /// <summary>
  3266. /// Returns a reference to the kendo.drawing.Segment widget, instantiated on the selector.
  3267. /// </summary>
  3268. /// <returns type="kendo.drawing.Segment">The kendo.drawing.Segment instance (if present).</returns>
  3269. };
  3270. $.fn.kendoSegment = function(options) {
  3271. /// <summary>
  3272. /// Instantiates a kendo.drawing.Segment widget based the DOM elements that match the selector.
  3273. /// &#10;Accepts an object with the following configuration options:
  3274. /// &#10;
  3275. /// </summary>
  3276. /// <param name="options" type="Object">
  3277. /// The widget configuration options
  3278. /// </param>
  3279. };
  3280. kendo.drawing.StrokeOptions = function() { };
  3281. kendo.drawing.StrokeOptions.prototype = {
  3282. bind: function(event, callback) {
  3283. /// <summary>
  3284. /// Binds to a widget event.
  3285. /// </summary>
  3286. /// <param name="event" type="String">The event name</param>
  3287. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  3288. },
  3289. unbind: function(event, callback) {
  3290. /// <summary>
  3291. /// Unbinds a callback from a widget event.
  3292. /// </summary>
  3293. /// <param name="event" type="String">The event name</param>
  3294. /// <param name="callback" type="Function">The callback to be removed.</param>
  3295. }
  3296. };
  3297. $.fn.getKendoStrokeOptions = function() {
  3298. /// <summary>
  3299. /// Returns a reference to the kendo.drawing.StrokeOptions widget, instantiated on the selector.
  3300. /// </summary>
  3301. /// <returns type="kendo.drawing.StrokeOptions">The kendo.drawing.StrokeOptions instance (if present).</returns>
  3302. };
  3303. $.fn.kendoStrokeOptions = function(options) {
  3304. /// <summary>
  3305. /// Instantiates a kendo.drawing.StrokeOptions widget based the DOM elements that match the selector.
  3306. /// &#10;Accepts an object with the following configuration options:
  3307. /// &#10;
  3308. /// </summary>
  3309. /// <param name="options" type="Object">
  3310. /// The widget configuration options
  3311. /// </param>
  3312. };
  3313. kendo.drawing.Surface = function() { };
  3314. kendo.drawing.Surface.prototype = {
  3315. clear: function() {
  3316. /// <summary>
  3317. /// Clears the drawing surface.
  3318. /// </summary>
  3319. },
  3320. draw: function(element) {
  3321. /// <summary>
  3322. /// Draws the element and its children on the surface. Existing elements will remain visible.
  3323. /// </summary>
  3324. /// <param name="element" type="kendo.drawing.Element" >The element to draw.</param>
  3325. },
  3326. eventTarget: function(e) {
  3327. /// <summary>
  3328. /// Returns the target drawing element of a DOM event.
  3329. /// </summary>
  3330. /// <param name="e" type="Object" >The original DOM or jQuery event object.</param>
  3331. /// <returns type="kendo.drawing.Element">The target drawing element, if any.</returns>
  3332. },
  3333. hideTooltip: function() {
  3334. /// <summary>
  3335. /// Hides the surface tooltip.
  3336. /// </summary>
  3337. },
  3338. resize: function(force) {
  3339. /// <summary>
  3340. /// Resizes the surface to match the size of the container.
  3341. /// </summary>
  3342. /// <param name="force" type="Boolean" >Whether to proceed with resizing even if the container dimensions have not changed.</param>
  3343. },
  3344. showTooltip: function(element,options) {
  3345. /// <summary>
  3346. /// Shows the surface tooltip for the passed shape.
  3347. /// </summary>
  3348. /// <param name="element" type="kendo.drawing.Element" >The element for which the tooltip should be shown.</param>
  3349. /// <param name="options" type="Object" >Options for the tooltip.</param>
  3350. },
  3351. bind: function(event, callback) {
  3352. /// <summary>
  3353. /// Binds to a widget event.
  3354. /// </summary>
  3355. /// <param name="event" type="String">The event name</param>
  3356. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  3357. },
  3358. unbind: function(event, callback) {
  3359. /// <summary>
  3360. /// Unbinds a callback from a widget event.
  3361. /// </summary>
  3362. /// <param name="event" type="String">The event name</param>
  3363. /// <param name="callback" type="Function">The callback to be removed.</param>
  3364. }
  3365. };
  3366. $.fn.getKendoSurface = function() {
  3367. /// <summary>
  3368. /// Returns a reference to the kendo.drawing.Surface widget, instantiated on the selector.
  3369. /// </summary>
  3370. /// <returns type="kendo.drawing.Surface">The kendo.drawing.Surface instance (if present).</returns>
  3371. };
  3372. $.fn.kendoSurface = function(options) {
  3373. /// <summary>
  3374. /// Instantiates a kendo.drawing.Surface widget based the DOM elements that match the selector.
  3375. /// &#10;Accepts an object with the following configuration options:
  3376. /// &#10;
  3377. /// &#10;type - String
  3378. /// &#10;The preferred type of surface to create. Supported types (case insensitive): - svg - canvasThis option will be ignored if not supported by the browser. See Supported Browsers.
  3379. /// &#10;
  3380. /// &#10;height - String (default: "100%")
  3381. /// &#10;The height of the surface element. By default the surface will expand to fill the height of the first positioned container.
  3382. /// &#10;
  3383. /// &#10;width - String (default: "100%")
  3384. /// &#10;The width of the surface element. By default the surface will expand to fill the width of the first positioned container.
  3385. /// &#10;
  3386. /// &#10;tooltip - Object
  3387. /// &#10;Specifies general options for the shapes tooltip.
  3388. /// &#10;
  3389. /// </summary>
  3390. /// <param name="options" type="Object">
  3391. /// The widget configuration options
  3392. /// </param>
  3393. };
  3394. kendo.drawing.Text = function() { };
  3395. kendo.drawing.Text.prototype = {
  3396. bbox: function() {
  3397. /// <summary>
  3398. /// Returns the bounding box of the element with transformations applied. Inherited from Element.bbox
  3399. /// </summary>
  3400. /// <returns type="kendo.geometry.Rect">The bounding box of the element with transformations applied.</returns>
  3401. },
  3402. clip: function(clip) {
  3403. /// <summary>
  3404. /// Gets or sets the element clipping path. Inherited from Element.clip
  3405. /// </summary>
  3406. /// <param name="clip" type="kendo.drawing.Path" >The element clipping path.</param>
  3407. /// <returns type="kendo.drawing.Path">The current element clipping path.</returns>
  3408. },
  3409. clippedBBox: function() {
  3410. /// <summary>
  3411. /// Returns the bounding box of the element with clipping and transformations applied. Inherited from Element.clippedBBox
  3412. /// </summary>
  3413. /// <returns type="kendo.geometry.Rect">The bounding box of the element with clipping transformations applied.</returns>
  3414. },
  3415. containsPoint: function(point) {
  3416. /// <summary>
  3417. /// Returns true if the shape contains the specified point.
  3418. /// </summary>
  3419. /// <param name="point" type="kendo.geometry.Point" >The point that should be checked.</param>
  3420. /// <returns type="Boolean">value indicating if the shape contains the point.</returns>
  3421. },
  3422. content: function(value) {
  3423. /// <summary>
  3424. /// Gets or sets the text content.
  3425. /// </summary>
  3426. /// <param name="value" type="String" >The new text content to set.</param>
  3427. /// <returns type="String">The current content of the text.</returns>
  3428. },
  3429. fill: function(color,opacity) {
  3430. /// <summary>
  3431. /// Sets the text fill.
  3432. /// </summary>
  3433. /// <param name="color" type="String" >The fill color to set.</param>
  3434. /// <param name="opacity" type="Number" >The fill opacity to set.</param>
  3435. /// <returns type="kendo.drawing.Text">The current instance to allow chaining.</returns>
  3436. },
  3437. opacity: function(opacity) {
  3438. /// <summary>
  3439. /// Gets or sets the element opacity. Inherited from Element.opacityIf set, the stroke and fill opacity will be multiplied by the element opacity.
  3440. /// </summary>
  3441. /// <param name="opacity" type="Number" >The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).</param>
  3442. /// <returns type="Number">The current element opacity.</returns>
  3443. },
  3444. position: function(value) {
  3445. /// <summary>
  3446. /// Gets or sets the position of the text upper left corner.
  3447. /// </summary>
  3448. /// <param name="value" type="kendo.geometry.Point" >The new position of the text upper left corner.</param>
  3449. /// <returns type="kendo.geometry.Point">The current position of the text upper left corner.</returns>
  3450. },
  3451. stroke: function(color,width,opacity) {
  3452. /// <summary>
  3453. /// Sets the text stroke.
  3454. /// </summary>
  3455. /// <param name="color" type="String" >The stroke color to set.</param>
  3456. /// <param name="width" type="Number" >The stroke width to set.</param>
  3457. /// <param name="opacity" type="Number" >The stroke opacity to set.</param>
  3458. /// <returns type="kendo.drawing.Text">The current instance to allow chaining.</returns>
  3459. },
  3460. transform: function(transform) {
  3461. /// <summary>
  3462. /// Gets or sets the transformation of the element. Inherited from Element.transform
  3463. /// </summary>
  3464. /// <param name="transform" type="kendo.geometry.Transformation" >The transformation to apply to the element.</param>
  3465. /// <returns type="kendo.geometry.Transformation">The current transformation on the element.</returns>
  3466. },
  3467. visible: function(visible) {
  3468. /// <summary>
  3469. /// Gets or sets the visibility of the element. Inherited from Element.visible
  3470. /// </summary>
  3471. /// <param name="visible" type="Boolean" >A flag indicating if the element should be visible.</param>
  3472. /// <returns type="Boolean">true if the element is visible; false otherwise.</returns>
  3473. },
  3474. bind: function(event, callback) {
  3475. /// <summary>
  3476. /// Binds to a widget event.
  3477. /// </summary>
  3478. /// <param name="event" type="String">The event name</param>
  3479. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  3480. },
  3481. unbind: function(event, callback) {
  3482. /// <summary>
  3483. /// Unbinds a callback from a widget event.
  3484. /// </summary>
  3485. /// <param name="event" type="String">The event name</param>
  3486. /// <param name="callback" type="Function">The callback to be removed.</param>
  3487. }
  3488. };
  3489. $.fn.getKendoText = function() {
  3490. /// <summary>
  3491. /// Returns a reference to the kendo.drawing.Text widget, instantiated on the selector.
  3492. /// </summary>
  3493. /// <returns type="kendo.drawing.Text">The kendo.drawing.Text instance (if present).</returns>
  3494. };
  3495. $.fn.kendoText = function(options) {
  3496. /// <summary>
  3497. /// Instantiates a kendo.drawing.Text widget based the DOM elements that match the selector.
  3498. /// &#10;Accepts an object with the following configuration options:
  3499. /// &#10;
  3500. /// &#10;clip - kendo.drawing.Path
  3501. /// &#10;The element clipping path. Inherited from Element.clip
  3502. /// &#10;
  3503. /// &#10;cursor - String
  3504. /// &#10;The element cursor. Inherited from Element.cursor
  3505. /// &#10;
  3506. /// &#10;fill - kendo.drawing.FillOptions
  3507. /// &#10;The fill options of the text.
  3508. /// &#10;
  3509. /// &#10;font - String
  3510. /// &#10;The font to use for rendering the text. Accepts the standard CSS font syntax.Examples of valid font values: * Size and family: "2em 'Open Sans', sans-serif" * Style, size and family: "italic 2em 'Open Sans', sans-serif"
  3511. /// &#10;
  3512. /// &#10;opacity - Number
  3513. /// &#10;The element opacity. Inherited from Element.opacity
  3514. /// &#10;
  3515. /// &#10;stroke - kendo.drawing.StrokeOptions
  3516. /// &#10;The stroke options of the text.
  3517. /// &#10;
  3518. /// &#10;tooltip - kendo.drawing.TooltipOptions
  3519. /// &#10;The tooltip options of the shape.
  3520. /// &#10;
  3521. /// &#10;transform - kendo.geometry.Transformation
  3522. /// &#10;The transformation to apply to this element. Inherited from Element.transform
  3523. /// &#10;
  3524. /// &#10;visible - Boolean
  3525. /// &#10;A flag, indicating if the element is visible. Inherited from Element.visible
  3526. /// &#10;
  3527. /// </summary>
  3528. /// <param name="options" type="Object">
  3529. /// The widget configuration options
  3530. /// </param>
  3531. };
  3532. kendo.drawing.TooltipOptions = function() { };
  3533. kendo.drawing.TooltipOptions.prototype = {
  3534. bind: function(event, callback) {
  3535. /// <summary>
  3536. /// Binds to a widget event.
  3537. /// </summary>
  3538. /// <param name="event" type="String">The event name</param>
  3539. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  3540. },
  3541. unbind: function(event, callback) {
  3542. /// <summary>
  3543. /// Unbinds a callback from a widget event.
  3544. /// </summary>
  3545. /// <param name="event" type="String">The event name</param>
  3546. /// <param name="callback" type="Function">The callback to be removed.</param>
  3547. }
  3548. };
  3549. $.fn.getKendoTooltipOptions = function() {
  3550. /// <summary>
  3551. /// Returns a reference to the kendo.drawing.TooltipOptions widget, instantiated on the selector.
  3552. /// </summary>
  3553. /// <returns type="kendo.drawing.TooltipOptions">The kendo.drawing.TooltipOptions instance (if present).</returns>
  3554. };
  3555. $.fn.kendoTooltipOptions = function(options) {
  3556. /// <summary>
  3557. /// Instantiates a kendo.drawing.TooltipOptions widget based the DOM elements that match the selector.
  3558. /// &#10;Accepts an object with the following configuration options:
  3559. /// &#10;
  3560. /// </summary>
  3561. /// <param name="options" type="Object">
  3562. /// The widget configuration options
  3563. /// </param>
  3564. };
  3565. if (!kendo.effects) {
  3566. kendo.effects = {};
  3567. }
  3568. kendo.geometry.Arc = function() { };
  3569. kendo.geometry.Arc.prototype = {
  3570. bbox: function(matrix) {
  3571. /// <summary>
  3572. /// Returns the bounding box of this arc after applying the specified transformation matrix.
  3573. /// </summary>
  3574. /// <param name="matrix" type="kendo.geometry.Matrix" >Transformation matrix to apply.</param>
  3575. /// <returns type="kendo.geometry.Rect">The bounding box after applying the transformation matrix.</returns>
  3576. },
  3577. getAnticlockwise: function() {
  3578. /// <summary>
  3579. /// Gets the arc anticlockwise flag.
  3580. /// </summary>
  3581. /// <returns type="Boolean">The anticlockwise flag of the arc.</returns>
  3582. },
  3583. getCenter: function() {
  3584. /// <summary>
  3585. /// Gets the arc center location.
  3586. /// </summary>
  3587. /// <returns type="kendo.geometry.Point">The location of the arc center.</returns>
  3588. },
  3589. getEndAngle: function() {
  3590. /// <summary>
  3591. /// Gets the end angle of the arc in decimal degrees. Measured in clockwise direction with 0 pointing "right".
  3592. /// </summary>
  3593. /// <returns type="Number">The end angle of the arc.</returns>
  3594. },
  3595. getRadiusX: function() {
  3596. /// <summary>
  3597. /// Gets the x radius of the arc.
  3598. /// </summary>
  3599. /// <returns type="Number">The x radius of the arc.</returns>
  3600. },
  3601. getRadiusY: function() {
  3602. /// <summary>
  3603. /// Gets the y radius of the arc.
  3604. /// </summary>
  3605. /// <returns type="Number">The y radius of the arc.</returns>
  3606. },
  3607. getStartAngle: function() {
  3608. /// <summary>
  3609. /// Gets the start angle of the arc in decimal degrees. Measured in clockwise direction with 0 pointing "right".
  3610. /// </summary>
  3611. /// <returns type="Number">The start angle of the arc.</returns>
  3612. },
  3613. pointAt: function(angle) {
  3614. /// <summary>
  3615. /// Gets the location of a point on the arc's circumference at a given angle.
  3616. /// </summary>
  3617. /// <param name="angle" type="Number" >Angle in decimal degrees. Measured in clockwise direction with 0 pointing "right". Negative values or values greater than 360 will be normalized.</param>
  3618. /// <returns type="kendo.geometry.Point">The point on the arc's circumference.</returns>
  3619. },
  3620. setAnticlockwise: function(value) {
  3621. /// <summary>
  3622. /// Sets the arc anticlockwise flag.
  3623. /// </summary>
  3624. /// <param name="value" type="Boolean" >The new anticlockwise value.</param>
  3625. /// <returns type="kendo.geometry.Arc">The current arc instance.</returns>
  3626. },
  3627. setCenter: function(value) {
  3628. /// <summary>
  3629. /// Sets the arc center location.
  3630. /// </summary>
  3631. /// <param name="value" type="kendo.geometry.Point" >The new arc center.</param>
  3632. /// <returns type="kendo.geometry.Arc">The current arc instance.</returns>
  3633. },
  3634. setEndAngle: function(value) {
  3635. /// <summary>
  3636. /// Sets the end angle of the arc in decimal degrees. Measured in clockwise direction with 0 pointing "right".
  3637. /// </summary>
  3638. /// <param name="value" type="Number" >The new arc end angle.</param>
  3639. /// <returns type="kendo.geometry.Arc">The current arc instance.</returns>
  3640. },
  3641. setRadiusX: function(value) {
  3642. /// <summary>
  3643. /// Sets the x radius of the arc.
  3644. /// </summary>
  3645. /// <param name="value" type="Number" >The new arc x radius.</param>
  3646. /// <returns type="kendo.geometry.Arc">The current arc instance.</returns>
  3647. },
  3648. setRadiusY: function(value) {
  3649. /// <summary>
  3650. /// Sets the y radius of the arc.
  3651. /// </summary>
  3652. /// <param name="value" type="Number" >The new arc y radius.</param>
  3653. /// <returns type="kendo.geometry.Arc">The current arc instance.</returns>
  3654. },
  3655. setStartAngle: function(value) {
  3656. /// <summary>
  3657. /// Sets the start angle of the arc in decimal degrees. Measured in clockwise direction with 0 pointing "right".
  3658. /// </summary>
  3659. /// <param name="value" type="Number" >The new arc start angle.</param>
  3660. /// <returns type="kendo.geometry.Arc">The current arc instance.</returns>
  3661. },
  3662. bind: function(event, callback) {
  3663. /// <summary>
  3664. /// Binds to a widget event.
  3665. /// </summary>
  3666. /// <param name="event" type="String">The event name</param>
  3667. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  3668. },
  3669. unbind: function(event, callback) {
  3670. /// <summary>
  3671. /// Unbinds a callback from a widget event.
  3672. /// </summary>
  3673. /// <param name="event" type="String">The event name</param>
  3674. /// <param name="callback" type="Function">The callback to be removed.</param>
  3675. }
  3676. };
  3677. $.fn.getKendoArc = function() {
  3678. /// <summary>
  3679. /// Returns a reference to the kendo.geometry.Arc widget, instantiated on the selector.
  3680. /// </summary>
  3681. /// <returns type="kendo.geometry.Arc">The kendo.geometry.Arc instance (if present).</returns>
  3682. };
  3683. $.fn.kendoArc = function(options) {
  3684. /// <summary>
  3685. /// Instantiates a kendo.geometry.Arc widget based the DOM elements that match the selector.
  3686. /// &#10;Accepts an object with the following configuration options:
  3687. /// &#10;
  3688. /// </summary>
  3689. /// <param name="options" type="Object">
  3690. /// The widget configuration options
  3691. /// </param>
  3692. };
  3693. kendo.geometry.Circle = function() { };
  3694. kendo.geometry.Circle.prototype = {
  3695. bbox: function(matrix) {
  3696. /// <summary>
  3697. /// Returns the bounding box of this circle after applying the specified transformation matrix.
  3698. /// </summary>
  3699. /// <param name="matrix" type="kendo.geometry.Matrix" >Transformation matrix to apply.</param>
  3700. /// <returns type="kendo.geometry.Rect">The bounding box after applying the transformation matrix.</returns>
  3701. },
  3702. clone: function() {
  3703. /// <summary>
  3704. /// Creates a new instance with the same center and radius.
  3705. /// </summary>
  3706. /// <returns type="kendo.geometry.Circle">A new Circle instance with the same center and radius.</returns>
  3707. },
  3708. equals: function(other) {
  3709. /// <summary>
  3710. /// Compares this circle with another instance.
  3711. /// </summary>
  3712. /// <param name="other" type="kendo.geometry.Circle" >The circle to compare with.</param>
  3713. /// <returns type="Boolean">true if the point coordinates match; false otherwise.</returns>
  3714. },
  3715. getCenter: function() {
  3716. /// <summary>
  3717. /// Gets the circle center location.
  3718. /// </summary>
  3719. /// <returns type="kendo.geometry.Point">The location of the circle center.</returns>
  3720. },
  3721. getRadius: function() {
  3722. /// <summary>
  3723. /// Gets the circle radius.
  3724. /// </summary>
  3725. /// <returns type="Number">The radius of the circle.</returns>
  3726. },
  3727. pointAt: function(angle) {
  3728. /// <summary>
  3729. /// Gets the location of a point on the circle's circumference at a given angle.
  3730. /// </summary>
  3731. /// <param name="angle" type="Number" >Angle in decimal degrees. Measured in clockwise direction with 0 pointing "right". Negative values or values greater than 360 will be normalized.</param>
  3732. /// <returns type="kendo.geometry.Point">The point on the circle's circumference.</returns>
  3733. },
  3734. setCenter: function(value) {
  3735. /// <summary>
  3736. /// Sets the location of the circle center.
  3737. /// </summary>
  3738. /// <param name="value" type="Object" >The new center Point or equivalent [x, y] array.</param>
  3739. /// <returns type="kendo.geometry.Point">The location of the circle center.</returns>
  3740. },
  3741. setRadius: function(value) {
  3742. /// <summary>
  3743. /// Sets the circle radius.
  3744. /// </summary>
  3745. /// <param name="value" type="Number" >The new circle radius.</param>
  3746. /// <returns type="kendo.geometry.Circle">The current circle instance.</returns>
  3747. },
  3748. bind: function(event, callback) {
  3749. /// <summary>
  3750. /// Binds to a widget event.
  3751. /// </summary>
  3752. /// <param name="event" type="String">The event name</param>
  3753. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  3754. },
  3755. unbind: function(event, callback) {
  3756. /// <summary>
  3757. /// Unbinds a callback from a widget event.
  3758. /// </summary>
  3759. /// <param name="event" type="String">The event name</param>
  3760. /// <param name="callback" type="Function">The callback to be removed.</param>
  3761. }
  3762. };
  3763. $.fn.getKendoCircle = function() {
  3764. /// <summary>
  3765. /// Returns a reference to the kendo.geometry.Circle widget, instantiated on the selector.
  3766. /// </summary>
  3767. /// <returns type="kendo.geometry.Circle">The kendo.geometry.Circle instance (if present).</returns>
  3768. };
  3769. $.fn.kendoCircle = function(options) {
  3770. /// <summary>
  3771. /// Instantiates a kendo.geometry.Circle widget based the DOM elements that match the selector.
  3772. /// &#10;Accepts an object with the following configuration options:
  3773. /// &#10;
  3774. /// </summary>
  3775. /// <param name="options" type="Object">
  3776. /// The widget configuration options
  3777. /// </param>
  3778. };
  3779. kendo.geometry.Matrix = function() { };
  3780. kendo.geometry.Matrix.prototype = {
  3781. clone: function() {
  3782. /// <summary>
  3783. /// Creates a new instance with the same element values.
  3784. /// </summary>
  3785. /// <returns type="kendo.geometry.Matrix">A new Matrix instance with the same element values.</returns>
  3786. },
  3787. equals: function(other) {
  3788. /// <summary>
  3789. /// Compares this matrix with another instance.
  3790. /// </summary>
  3791. /// <param name="other" type="kendo.geometry.Matrix" >The matrix instance to compare with.</param>
  3792. /// <returns type="Boolean">true if the matrix elements match; false otherwise.</returns>
  3793. },
  3794. round: function(digits) {
  3795. /// <summary>
  3796. /// Rounds the matrix elements to the specified number of fractional digits.
  3797. /// </summary>
  3798. /// <param name="digits" type="Number" >Number of fractional digits.</param>
  3799. /// <returns type="kendo.geometry.Matrix">The current matrix instance.</returns>
  3800. },
  3801. multiplyCopy: function(matrix) {
  3802. /// <summary>
  3803. /// Multiplies the matrix with another one and returns the result as new instance. The current instance elements are not altered.
  3804. /// </summary>
  3805. /// <param name="matrix" type="kendo.geometry.Matrix" >The matrix to multiply by.</param>
  3806. /// <returns type="kendo.geometry.Matrix">The result of the multiplication.</returns>
  3807. },
  3808. toArray: function(digits) {
  3809. /// <summary>
  3810. /// Returns the matrix elements as an [a, b, c, d, e, f] array.
  3811. /// </summary>
  3812. /// <param name="digits" type="Number" >(Optional) Number of fractional digits.</param>
  3813. /// <returns type="Array">An array representation of the matrix.</returns>
  3814. },
  3815. toString: function(digits,separator) {
  3816. /// <summary>
  3817. /// Formats the matrix elements as a string.
  3818. /// </summary>
  3819. /// <param name="digits" type="Number" >(Optional) Number of fractional digits.</param>
  3820. /// <param name="separator" type="String" >The separator to place between elements.</param>
  3821. /// <returns type="String">A string representation of the matrix, e.g. "1, 0, 0, 1, 0, 0".</returns>
  3822. },
  3823. bind: function(event, callback) {
  3824. /// <summary>
  3825. /// Binds to a widget event.
  3826. /// </summary>
  3827. /// <param name="event" type="String">The event name</param>
  3828. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  3829. },
  3830. unbind: function(event, callback) {
  3831. /// <summary>
  3832. /// Unbinds a callback from a widget event.
  3833. /// </summary>
  3834. /// <param name="event" type="String">The event name</param>
  3835. /// <param name="callback" type="Function">The callback to be removed.</param>
  3836. }
  3837. };
  3838. $.fn.getKendoMatrix = function() {
  3839. /// <summary>
  3840. /// Returns a reference to the kendo.geometry.Matrix widget, instantiated on the selector.
  3841. /// </summary>
  3842. /// <returns type="kendo.geometry.Matrix">The kendo.geometry.Matrix instance (if present).</returns>
  3843. };
  3844. $.fn.kendoMatrix = function(options) {
  3845. /// <summary>
  3846. /// Instantiates a kendo.geometry.Matrix widget based the DOM elements that match the selector.
  3847. /// &#10;Accepts an object with the following configuration options:
  3848. /// &#10;
  3849. /// </summary>
  3850. /// <param name="options" type="Object">
  3851. /// The widget configuration options
  3852. /// </param>
  3853. };
  3854. kendo.geometry.Point = function() { };
  3855. kendo.geometry.Point.prototype = {
  3856. clone: function() {
  3857. /// <summary>
  3858. /// Creates a new instance with the same coordinates.
  3859. /// </summary>
  3860. /// <returns type="kendo.geometry.Point">A new Point instance with the same coordinates.</returns>
  3861. },
  3862. distanceTo: function(point) {
  3863. /// <summary>
  3864. /// Calculates the distance to another point.
  3865. /// </summary>
  3866. /// <param name="point" type="kendo.geometry.Point" >The point to calculate the distance to.</param>
  3867. /// <returns type="Number">The straight line distance to the given point.</returns>
  3868. },
  3869. equals: function(other) {
  3870. /// <summary>
  3871. /// Compares this point with another instance.
  3872. /// </summary>
  3873. /// <param name="other" type="kendo.geometry.Point" >The point to compare with.</param>
  3874. /// <returns type="Boolean">true if the point coordinates match; false otherwise.</returns>
  3875. },
  3876. getX: function() {
  3877. /// <summary>
  3878. /// Gets the x coordinate value.
  3879. /// </summary>
  3880. /// <returns type="Number">The current x coordinate value.</returns>
  3881. },
  3882. getY: function() {
  3883. /// <summary>
  3884. /// Gets the y coordinate value.
  3885. /// </summary>
  3886. /// <returns type="Number">The current y coordinate value.</returns>
  3887. },
  3888. move: function(x,y) {
  3889. /// <summary>
  3890. /// Moves the point to the specified x and y coordinates.
  3891. /// </summary>
  3892. /// <param name="x" type="Number" >The new X coordinate.</param>
  3893. /// <param name="y" type="Number" >The new Y coordinate.</param>
  3894. /// <returns type="kendo.geometry.Point">The current point instance.</returns>
  3895. },
  3896. rotate: function(angle,center) {
  3897. /// <summary>
  3898. /// Rotates the point around the given center.
  3899. /// </summary>
  3900. /// <param name="angle" type="Number" >Angle in decimal degrees. Measured in clockwise direction with 0 pointing "right". Negative values or values greater than 360 will be normalized.</param>
  3901. /// <param name="center" type="Object" >The rotation center. Can be a Point instance or an [x, y] array.</param>
  3902. /// <returns type="kendo.geometry.Point">The current Point instance.</returns>
  3903. },
  3904. round: function(digits) {
  3905. /// <summary>
  3906. /// Rounds the point coordinates to the specified number of fractional digits.
  3907. /// </summary>
  3908. /// <param name="digits" type="Number" >Number of fractional digits.</param>
  3909. /// <returns type="kendo.geometry.Point">The current Point instance.</returns>
  3910. },
  3911. scale: function(scaleX,scaleY) {
  3912. /// <summary>
  3913. /// Scales the point coordinates along the x and y axis.
  3914. /// </summary>
  3915. /// <param name="scaleX" type="Number" >The x scale multiplier.</param>
  3916. /// <param name="scaleY" type="Number" >The y scale multiplier.</param>
  3917. /// <returns type="kendo.geometry.Point">The current point instance.</returns>
  3918. },
  3919. scaleCopy: function(scaleX,scaleY) {
  3920. /// <summary>
  3921. /// Scales the point coordinates on a copy of the current point. The callee coordinates will remain unchanged.
  3922. /// </summary>
  3923. /// <param name="scaleX" type="Number" >The x scale multiplier.</param>
  3924. /// <param name="scaleY" type="Number" >The y scale multiplier.</param>
  3925. /// <returns type="kendo.geometry.Point">The new Point instance.</returns>
  3926. },
  3927. setX: function(value) {
  3928. /// <summary>
  3929. /// Sets the x coordinate to a new value.
  3930. /// </summary>
  3931. /// <param name="value" type="Number" >The new x coordinate value.</param>
  3932. /// <returns type="kendo.geometry.Point">The current Point instance.</returns>
  3933. },
  3934. setY: function(value) {
  3935. /// <summary>
  3936. /// Sets the y coordinate to a new value.
  3937. /// </summary>
  3938. /// <param name="value" type="Number" >The new y coordinate value.</param>
  3939. /// <returns type="kendo.geometry.Point">The current Point instance.</returns>
  3940. },
  3941. toArray: function(digits) {
  3942. /// <summary>
  3943. /// Returns the point coordinates as an [x, y] array.
  3944. /// </summary>
  3945. /// <param name="digits" type="Number" >(Optional) Number of fractional digits.</param>
  3946. /// <returns type="Array">An array representation of the point, e.g. [10, 20]</returns>
  3947. },
  3948. toString: function(digits,separator) {
  3949. /// <summary>
  3950. /// Formats the point value to a string.
  3951. /// </summary>
  3952. /// <param name="digits" type="Number" >(Optional) Number of fractional digits.</param>
  3953. /// <param name="separator" type="String" >The separator to place between coordinates.</param>
  3954. /// <returns type="String">A string representation of the point, e.g. "10 20".</returns>
  3955. },
  3956. transform: function(tansformation) {
  3957. /// <summary>
  3958. /// Applies a transformation to the point coordinates. The current coordinates will be overriden.
  3959. /// </summary>
  3960. /// <param name="tansformation" type="kendo.geometry.Transformation" >The transformation to apply.</param>
  3961. /// <returns type="kendo.geometry.Point">The current Point instance.</returns>
  3962. },
  3963. transformCopy: function(tansformation) {
  3964. /// <summary>
  3965. /// Applies a transformation on a copy of the current point. The callee coordinates will remain unchanged.
  3966. /// </summary>
  3967. /// <param name="tansformation" type="kendo.geometry.Transformation" >The transformation to apply.</param>
  3968. /// <returns type="kendo.geometry.Point">The new Point instance.</returns>
  3969. },
  3970. translate: function(dx,dy) {
  3971. /// <summary>
  3972. /// Translates the point along the x and y axis.
  3973. /// </summary>
  3974. /// <param name="dx" type="Number" >The distance to move along the X axis.</param>
  3975. /// <param name="dy" type="Number" >The distance to move along the Y axis.</param>
  3976. /// <returns type="kendo.geometry.Point">The current point instance.</returns>
  3977. },
  3978. translateWith: function(vector) {
  3979. /// <summary>
  3980. /// Translates the point by using a Point instance as a vector of translation.
  3981. /// </summary>
  3982. /// <param name="vector" type="Object" >The vector of translation. Can be either a Point instance or an [x, y] array.</param>
  3983. /// <returns type="kendo.geometry.Point">The current point instance.</returns>
  3984. },
  3985. bind: function(event, callback) {
  3986. /// <summary>
  3987. /// Binds to a widget event.
  3988. /// </summary>
  3989. /// <param name="event" type="String">The event name</param>
  3990. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  3991. },
  3992. unbind: function(event, callback) {
  3993. /// <summary>
  3994. /// Unbinds a callback from a widget event.
  3995. /// </summary>
  3996. /// <param name="event" type="String">The event name</param>
  3997. /// <param name="callback" type="Function">The callback to be removed.</param>
  3998. }
  3999. };
  4000. $.fn.getKendoPoint = function() {
  4001. /// <summary>
  4002. /// Returns a reference to the kendo.geometry.Point widget, instantiated on the selector.
  4003. /// </summary>
  4004. /// <returns type="kendo.geometry.Point">The kendo.geometry.Point instance (if present).</returns>
  4005. };
  4006. $.fn.kendoPoint = function(options) {
  4007. /// <summary>
  4008. /// Instantiates a kendo.geometry.Point widget based the DOM elements that match the selector.
  4009. /// &#10;Accepts an object with the following configuration options:
  4010. /// &#10;
  4011. /// </summary>
  4012. /// <param name="options" type="Object">
  4013. /// The widget configuration options
  4014. /// </param>
  4015. };
  4016. kendo.geometry.Rect = function() { };
  4017. kendo.geometry.Rect.prototype = {
  4018. bbox: function(matrix) {
  4019. /// <summary>
  4020. /// Returns the bounding box of this rectangle after applying the specified transformation matrix.
  4021. /// </summary>
  4022. /// <param name="matrix" type="kendo.geometry.Matrix" >Transformation matrix to apply.</param>
  4023. /// <returns type="kendo.geometry.Rect">The bounding box after applying the transformation matrix.</returns>
  4024. },
  4025. bottomLeft: function() {
  4026. /// <summary>
  4027. /// Gets the position of the bottom-left corner of the rectangle. This is also the rectangle origin
  4028. /// </summary>
  4029. /// <returns type="kendo.geometry.Point">The position of the bottom-left corner.</returns>
  4030. },
  4031. bottomRight: function() {
  4032. /// <summary>
  4033. /// Gets the position of the bottom-right corner of the rectangle.
  4034. /// </summary>
  4035. /// <returns type="kendo.geometry.Point">The position of the bottom-right corner.</returns>
  4036. },
  4037. center: function() {
  4038. /// <summary>
  4039. /// Gets the position of the center of the rectangle.
  4040. /// </summary>
  4041. /// <returns type="kendo.geometry.Point">The position of the center.</returns>
  4042. },
  4043. clone: function() {
  4044. /// <summary>
  4045. /// Creates a new instance with the same origin and size.
  4046. /// </summary>
  4047. /// <returns type="kendo.geometry.Rect">A new Rect instance with the same origin and size.</returns>
  4048. },
  4049. equals: function(other) {
  4050. /// <summary>
  4051. /// Compares this rectangle with another instance.
  4052. /// </summary>
  4053. /// <param name="other" type="kendo.geometry.Rect" >The rectangle to compare with.</param>
  4054. /// <returns type="Boolean">true if the origin and size is the same for both rectangles; false otherwise.</returns>
  4055. },
  4056. getOrigin: function() {
  4057. /// <summary>
  4058. /// Gets the origin (top-left point) of the rectangle.
  4059. /// </summary>
  4060. /// <returns type="kendo.geometry.Point">The origin (top-left point).</returns>
  4061. },
  4062. getSize: function() {
  4063. /// <summary>
  4064. /// Gets the rectangle size.
  4065. /// </summary>
  4066. /// <returns type="kendo.geometry.Size">The current rectangle Size.</returns>
  4067. },
  4068. height: function() {
  4069. /// <summary>
  4070. /// Gets the rectangle height.
  4071. /// </summary>
  4072. /// <returns type="Number">The rectangle height.</returns>
  4073. },
  4074. setOrigin: function(value) {
  4075. /// <summary>
  4076. /// Sets the origin (top-left point) of the rectangle.
  4077. /// </summary>
  4078. /// <param name="value" type="Object" >The new origin Point or equivalent [x, y] array.</param>
  4079. /// <returns type="kendo.geometry.Rect">The current rectangle instance.</returns>
  4080. },
  4081. setSize: function(value) {
  4082. /// <summary>
  4083. /// Sets the rectangle size.
  4084. /// </summary>
  4085. /// <param name="value" type="Object" >The new rectangle Size or equivalent [width, height] array.</param>
  4086. /// <returns type="kendo.geometry.Rect">The current rectangle instance.</returns>
  4087. },
  4088. topLeft: function() {
  4089. /// <summary>
  4090. /// Gets the position of the top-left corner of the rectangle. This is also the rectangle origin
  4091. /// </summary>
  4092. /// <returns type="kendo.geometry.Point">The position of the top-left corner.</returns>
  4093. },
  4094. topRight: function() {
  4095. /// <summary>
  4096. /// Gets the position of the top-right corner of the rectangle.
  4097. /// </summary>
  4098. /// <returns type="kendo.geometry.Point">The position of the top-right corner.</returns>
  4099. },
  4100. width: function() {
  4101. /// <summary>
  4102. /// Gets the rectangle width.
  4103. /// </summary>
  4104. /// <returns type="Number">The rectangle width.</returns>
  4105. },
  4106. bind: function(event, callback) {
  4107. /// <summary>
  4108. /// Binds to a widget event.
  4109. /// </summary>
  4110. /// <param name="event" type="String">The event name</param>
  4111. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  4112. },
  4113. unbind: function(event, callback) {
  4114. /// <summary>
  4115. /// Unbinds a callback from a widget event.
  4116. /// </summary>
  4117. /// <param name="event" type="String">The event name</param>
  4118. /// <param name="callback" type="Function">The callback to be removed.</param>
  4119. }
  4120. };
  4121. $.fn.getKendoRect = function() {
  4122. /// <summary>
  4123. /// Returns a reference to the kendo.geometry.Rect widget, instantiated on the selector.
  4124. /// </summary>
  4125. /// <returns type="kendo.geometry.Rect">The kendo.geometry.Rect instance (if present).</returns>
  4126. };
  4127. $.fn.kendoRect = function(options) {
  4128. /// <summary>
  4129. /// Instantiates a kendo.geometry.Rect widget based the DOM elements that match the selector.
  4130. /// &#10;Accepts an object with the following configuration options:
  4131. /// &#10;
  4132. /// </summary>
  4133. /// <param name="options" type="Object">
  4134. /// The widget configuration options
  4135. /// </param>
  4136. };
  4137. kendo.geometry.Size = function() { };
  4138. kendo.geometry.Size.prototype = {
  4139. clone: function() {
  4140. /// <summary>
  4141. /// Creates a new instance with the same width and height.
  4142. /// </summary>
  4143. /// <returns type="kendo.geometry.Size">A new Size instance with the same dimensions.</returns>
  4144. },
  4145. equals: function(other) {
  4146. /// <summary>
  4147. /// Compares this Size with another instance.
  4148. /// </summary>
  4149. /// <param name="other" type="kendo.geometry.Size" >The Size to compare with.</param>
  4150. /// <returns type="Boolean">true if the size members match; false otherwise.</returns>
  4151. },
  4152. getWidth: function() {
  4153. /// <summary>
  4154. /// Gets the width value.
  4155. /// </summary>
  4156. /// <returns type="Number">The current width value.</returns>
  4157. },
  4158. getHeight: function() {
  4159. /// <summary>
  4160. /// Gets the height value.
  4161. /// </summary>
  4162. /// <returns type="Number">The current height value.</returns>
  4163. },
  4164. setWidth: function(value) {
  4165. /// <summary>
  4166. /// Sets the width to a new value.
  4167. /// </summary>
  4168. /// <param name="value" type="Number" >The new width value.</param>
  4169. /// <returns type="kendo.geometry.Size">The current Size instance.</returns>
  4170. },
  4171. setHeight: function(value) {
  4172. /// <summary>
  4173. /// Sets the height to a new value.
  4174. /// </summary>
  4175. /// <param name="value" type="Number" >The new height value.</param>
  4176. /// <returns type="kendo.geometry.Size">The current Size instance.</returns>
  4177. },
  4178. bind: function(event, callback) {
  4179. /// <summary>
  4180. /// Binds to a widget event.
  4181. /// </summary>
  4182. /// <param name="event" type="String">The event name</param>
  4183. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  4184. },
  4185. unbind: function(event, callback) {
  4186. /// <summary>
  4187. /// Unbinds a callback from a widget event.
  4188. /// </summary>
  4189. /// <param name="event" type="String">The event name</param>
  4190. /// <param name="callback" type="Function">The callback to be removed.</param>
  4191. }
  4192. };
  4193. $.fn.getKendoSize = function() {
  4194. /// <summary>
  4195. /// Returns a reference to the kendo.geometry.Size widget, instantiated on the selector.
  4196. /// </summary>
  4197. /// <returns type="kendo.geometry.Size">The kendo.geometry.Size instance (if present).</returns>
  4198. };
  4199. $.fn.kendoSize = function(options) {
  4200. /// <summary>
  4201. /// Instantiates a kendo.geometry.Size widget based the DOM elements that match the selector.
  4202. /// &#10;Accepts an object with the following configuration options:
  4203. /// &#10;
  4204. /// </summary>
  4205. /// <param name="options" type="Object">
  4206. /// The widget configuration options
  4207. /// </param>
  4208. };
  4209. kendo.geometry.Transformation = function() { };
  4210. kendo.geometry.Transformation.prototype = {
  4211. clone: function() {
  4212. /// <summary>
  4213. /// Creates a new instance with the same transformation matrix.
  4214. /// </summary>
  4215. /// <returns type="kendo.geometry.Transformation">A new Transformation instance with the same matrix.</returns>
  4216. },
  4217. equals: function(other) {
  4218. /// <summary>
  4219. /// Compares this transformation with another instance.
  4220. /// </summary>
  4221. /// <param name="other" type="kendo.geometry.Transformation" >The transformation to compare with.</param>
  4222. /// <returns type="Boolean">true if the transformation matrix is the same; false otherwise.</returns>
  4223. },
  4224. matrix: function() {
  4225. /// <summary>
  4226. /// Gets the current transformation matrix for this transformation.
  4227. /// </summary>
  4228. /// <returns type="kendo.geometry.Matrix">The current transformation matrix.</returns>
  4229. },
  4230. multiply: function(transformation) {
  4231. /// <summary>
  4232. /// Multiplies the transformation with another. The underlying transformation matrix is updated in-place.
  4233. /// </summary>
  4234. /// <param name="transformation" type="kendo.geometry.Transformation" >The transformation to multiply by.</param>
  4235. /// <returns type="kendo.geometry.Transformation">The current transformation instance.</returns>
  4236. },
  4237. rotate: function(angle,center) {
  4238. /// <summary>
  4239. /// Sets rotation with the specified parameters.
  4240. /// </summary>
  4241. /// <param name="angle" type="Number" >The angle of rotation in decimal degrees. Measured in clockwise direction with 0 pointing "right". Negative values or values greater than 360 will be normalized.</param>
  4242. /// <param name="center" type="Object" >The center of rotation.</param>
  4243. /// <returns type="kendo.geometry.Transformation">The current transformation instance.</returns>
  4244. },
  4245. scale: function(scaleX,scaleY) {
  4246. /// <summary>
  4247. /// Sets scale with the specified parameters.
  4248. /// </summary>
  4249. /// <param name="scaleX" type="Number" >The scale factor on the X axis.</param>
  4250. /// <param name="scaleY" type="Number" >The scale factor on the Y axis.</param>
  4251. /// <returns type="kendo.geometry.Transformation">The current transformation instance.</returns>
  4252. },
  4253. translate: function(x,y) {
  4254. /// <summary>
  4255. /// Sets translation with the specified parameters.
  4256. /// </summary>
  4257. /// <param name="x" type="Number" >The distance to translate along the X axis.</param>
  4258. /// <param name="y" type="Number" >The distance to translate along the Y axis.</param>
  4259. /// <returns type="kendo.geometry.Transformation">The current transformation instance.</returns>
  4260. },
  4261. bind: function(event, callback) {
  4262. /// <summary>
  4263. /// Binds to a widget event.
  4264. /// </summary>
  4265. /// <param name="event" type="String">The event name</param>
  4266. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  4267. },
  4268. unbind: function(event, callback) {
  4269. /// <summary>
  4270. /// Unbinds a callback from a widget event.
  4271. /// </summary>
  4272. /// <param name="event" type="String">The event name</param>
  4273. /// <param name="callback" type="Function">The callback to be removed.</param>
  4274. }
  4275. };
  4276. $.fn.getKendoTransformation = function() {
  4277. /// <summary>
  4278. /// Returns a reference to the kendo.geometry.Transformation widget, instantiated on the selector.
  4279. /// </summary>
  4280. /// <returns type="kendo.geometry.Transformation">The kendo.geometry.Transformation instance (if present).</returns>
  4281. };
  4282. $.fn.kendoTransformation = function(options) {
  4283. /// <summary>
  4284. /// Instantiates a kendo.geometry.Transformation widget based the DOM elements that match the selector.
  4285. /// &#10;Accepts an object with the following configuration options:
  4286. /// &#10;
  4287. /// </summary>
  4288. /// <param name="options" type="Object">
  4289. /// The widget configuration options
  4290. /// </param>
  4291. };
  4292. kendo.mobile.Application = function() { };
  4293. kendo.mobile.Application.prototype = {
  4294. changeLoadingMessage: function(text) {
  4295. /// <summary>
  4296. /// Changes the loading message.
  4297. /// </summary>
  4298. /// <param name="text" type="String" >New text of the loading animation.</param>
  4299. },
  4300. hideLoading: function() {
  4301. /// <summary>
  4302. /// Hide the loading animation.
  4303. /// </summary>
  4304. },
  4305. navigate: function(url,transition) {
  4306. /// <summary>
  4307. /// Navigate to local or to remote view.
  4308. /// </summary>
  4309. /// <param name="url" type="String" >The id or url of the view.</param>
  4310. /// <param name="transition" type="String" >Optional. The transition to apply when navigating. See View Transitions section for more information.</param>
  4311. },
  4312. replace: function(url,transition) {
  4313. /// <summary>
  4314. /// Navigate to local or to remote view. The view will replace the current one in the history stack.
  4315. /// </summary>
  4316. /// <param name="url" type="String" >The id or url of the view.</param>
  4317. /// <param name="transition" type="String" >Optional. The transition to apply when navigating. See View Transitions section for more information.</param>
  4318. },
  4319. scroller: function() {
  4320. /// <summary>
  4321. /// Get a reference to the current view's scroller widget instance.
  4322. /// </summary>
  4323. /// <returns type="kendo.mobile.ui.Scroller">the scroller widget instance.</returns>
  4324. },
  4325. showLoading: function() {
  4326. /// <summary>
  4327. /// Show the loading animation.
  4328. /// </summary>
  4329. },
  4330. skin: function(skin) {
  4331. /// <summary>
  4332. /// Change the current skin of the mobile application. When used without parameters, returns the currently used skin. Available as of Q2 2013.
  4333. /// </summary>
  4334. /// <param name="skin" type="String" >The skin name to switch to or empty string ("") to return to native.</param>
  4335. /// <returns type="String">Current skin in effect.</returns>
  4336. },
  4337. view: function() {
  4338. /// <summary>
  4339. /// Get a reference to the current view.
  4340. /// </summary>
  4341. /// <returns type="kendo.mobile.ui.View">the view instance.</returns>
  4342. },
  4343. bind: function(event, callback) {
  4344. /// <summary>
  4345. /// Binds to a widget event.
  4346. /// </summary>
  4347. /// <param name="event" type="String">The event name</param>
  4348. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  4349. },
  4350. unbind: function(event, callback) {
  4351. /// <summary>
  4352. /// Unbinds a callback from a widget event.
  4353. /// </summary>
  4354. /// <param name="event" type="String">The event name</param>
  4355. /// <param name="callback" type="Function">The callback to be removed.</param>
  4356. }
  4357. };
  4358. $.fn.getKendoMobileApplication = function() {
  4359. /// <summary>
  4360. /// Returns a reference to the kendo.mobile.Application widget, instantiated on the selector.
  4361. /// </summary>
  4362. /// <returns type="kendo.mobile.Application">The kendo.mobile.Application instance (if present).</returns>
  4363. };
  4364. $.fn.kendoMobileApplication = function(options) {
  4365. /// <summary>
  4366. /// Instantiates a kendo.mobile.Application widget based the DOM elements that match the selector.
  4367. /// &#10;Accepts an object with the following configuration options:
  4368. /// &#10;
  4369. /// &#10;browserHistory - Boolean (default: true)
  4370. /// &#10;Introduced in the 2014 Q3 release. If set to false, the navigation will not update or read the browser location fragment.
  4371. /// &#10;
  4372. /// &#10;hashBang - Boolean (default: false)
  4373. /// &#10;Introduced in the 2014 Q1 Service Pack 1 release. If set to true, the navigation will parse and prefix the url fragment value with !, which should be SEO friendly.
  4374. /// &#10;
  4375. /// &#10;hideAddressBar - Boolean (default: true)
  4376. /// &#10;Whether to hide the browser address bar. Supported only in iPhone and iPod. Doesn't affect standalone mode as there the address bar is always hidden.
  4377. /// &#10;
  4378. /// &#10;initial - String
  4379. /// &#10;The id of the initial mobile View to display.
  4380. /// &#10;
  4381. /// &#10;layout - String
  4382. /// &#10;The id of the default Application layout.
  4383. /// &#10;
  4384. /// &#10;loading - String (default: ")
  4385. /// &#10;The text displayed in the loading popup. Setting this value to false will disable the loading popup.Note: The text should be wrapped inside tag.
  4386. /// &#10;
  4387. /// &#10;modelScope - Object (default: "window")
  4388. /// &#10;The view model scope. By default, the views will try to resolve their models from the global scope (window).
  4389. /// &#10;
  4390. /// &#10;platform - String
  4391. /// &#10;Which platform look to force on the application. Supported values are "ios" (meaning iOS 6 look), "ios7","android", "blackberry" and "wp". You can also set platform variants with it ("android-light" or "android-dark"), but keep in mind that it will still override the platform. If this is not desired, use the skin option.
  4392. /// &#10;
  4393. /// &#10;pushState - Boolean (default: false)
  4394. /// &#10;If set to true, the application router instance will use the history pushState API.
  4395. /// &#10;
  4396. /// &#10;root - String (default: "/")
  4397. /// &#10;Applicable if pushState is used and the application is deployed to a path different than /. If the application start page is hosted on //foo.com/myapp/, the root option should be set to /myapp/.
  4398. /// &#10;
  4399. /// &#10;retina - Boolean (default: true)
  4400. /// &#10;If set to true, the application will set the meta viewport tag scale value according to the device pixel ratio, and re-scale the app by setting root element font size to the respective value. This will result in the widget borders/separators being real 1px wide. For example, in iPhone 4/5, the device pixel ratio is 2, which means that the scale will be set to 0.5, while the app root will receive a font-size: 2 * 0.92 inline style set.
  4401. /// &#10;
  4402. /// &#10;serverNavigation - Boolean
  4403. /// &#10;If set to true, the application will not use AJAX to load remote views.
  4404. /// &#10;
  4405. /// &#10;skin - String
  4406. /// &#10;The skin to apply to the application. Currently, Kendo UI Mobile ships with nova, flat, material-light and material-dark skins in addition to the native looking ones. You can also set platform variants with it ("android-light" or "android-dark").Note: The Material themes were renamed to material-light and material-dark in 2014 Q3 SP1. With 2014 Q3 (v2014.3.1119) and older Kendo UI versions,material and materialblack skin names should be used.
  4407. /// &#10;
  4408. /// &#10;statusBarStyle - String (default: "black")
  4409. /// &#10;Set the status bar style meta tag in iOS used to control the styling of the status bar in a pinned to the Home Screen app. Available as of Q2 2013 SP.
  4410. /// &#10;
  4411. /// &#10;transition - String
  4412. /// &#10;The default View transition. For a list of supported transitions, check the Getting Started help topic.
  4413. /// &#10;
  4414. /// &#10;updateDocumentTitle - Boolean (default: true)
  4415. /// &#10;Whether to update the document title.
  4416. /// &#10;
  4417. /// &#10;useNativeScrolling - Boolean (default: false)
  4418. /// &#10;By default, the mobile application uses flexbox for the mobile views layout. The content element is made scrollable, either by initializing a mobile scroller or with the browser supported overflow: auto and -webkit-overflow-scrolling: touch CSS declarations. When the useNativeScrolling configuration option is set to true, the view header and footer are positioned using position: fixed CSS declaration. The view content vertical padding is adjusted to match the header and footer height; The default browser scroller is utilized for the content scrolling.For more information regarding native scrolling check this article.
  4419. /// &#10;
  4420. /// &#10;webAppCapable - Boolean
  4421. /// &#10;Disables the default behavior of Kendo UI Mobile apps to be web app capable (open in a chromeless browser). Introduced in Q2 2013.
  4422. /// &#10;
  4423. /// </summary>
  4424. /// <param name="options" type="Object">
  4425. /// The widget configuration options
  4426. /// </param>
  4427. };
  4428. kendo.mobile.ui.ActionSheet = function() { };
  4429. kendo.mobile.ui.ActionSheet.prototype = {
  4430. close: function() {
  4431. /// <summary>
  4432. /// Close the ActionSheet.
  4433. /// </summary>
  4434. },
  4435. destroy: function() {
  4436. /// <summary>
  4437. /// Prepares the ActionSheet for safe removal from DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets.
  4438. /// </summary>
  4439. },
  4440. open: function(target,context) {
  4441. /// <summary>
  4442. /// Open the ActionSheet.
  4443. /// </summary>
  4444. /// <param name="target" type="jQuery" >(optional) The target element of the ActionSheet, available in the callback methods.Notice The target element is mandatory on tablets, as the ActionSheet widget positions itself relative to opening element when a tablet is detected.</param>
  4445. /// <param name="context" type="Object" >(optional) The context of the ActionSheet, available in the callback methods.</param>
  4446. },
  4447. bind: function(event, callback) {
  4448. /// <summary>
  4449. /// Binds to a widget event.
  4450. /// </summary>
  4451. /// <param name="event" type="String">The event name</param>
  4452. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  4453. },
  4454. unbind: function(event, callback) {
  4455. /// <summary>
  4456. /// Unbinds a callback from a widget event.
  4457. /// </summary>
  4458. /// <param name="event" type="String">The event name</param>
  4459. /// <param name="callback" type="Function">The callback to be removed.</param>
  4460. }
  4461. };
  4462. $.fn.getKendoMobileActionSheet = function() {
  4463. /// <summary>
  4464. /// Returns a reference to the kendo.mobile.ui.ActionSheet widget, instantiated on the selector.
  4465. /// </summary>
  4466. /// <returns type="kendo.mobile.ui.ActionSheet">The kendo.mobile.ui.ActionSheet instance (if present).</returns>
  4467. };
  4468. $.fn.kendoMobileActionSheet = function(options) {
  4469. /// <summary>
  4470. /// Instantiates a kendo.mobile.ui.ActionSheet widget based the DOM elements that match the selector.
  4471. /// &#10;Accepts an object with the following configuration options:
  4472. /// &#10;
  4473. /// &#10;cancel - String (default: "Cancel")
  4474. /// &#10;The text of the cancel button.
  4475. /// &#10;
  4476. /// &#10;popup - Object
  4477. /// &#10;The popup configuration options (tablet only).
  4478. /// &#10;
  4479. /// &#10;type - String (default: auto)
  4480. /// &#10;By default, the actionsheet opens as a full screen dialog on a phone device or as a popover if a tablet is detected. Setting the type to "phone" or "tablet" will force the looks of the widget regardless of the device.
  4481. /// &#10;
  4482. /// </summary>
  4483. /// <param name="options" type="Object">
  4484. /// The widget configuration options
  4485. /// </param>
  4486. };
  4487. kendo.mobile.ui.BackButton = function() { };
  4488. kendo.mobile.ui.BackButton.prototype = {
  4489. destroy: function() {
  4490. /// <summary>
  4491. /// Prepares the BackButton for safe removal from DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets.
  4492. /// </summary>
  4493. },
  4494. bind: function(event, callback) {
  4495. /// <summary>
  4496. /// Binds to a widget event.
  4497. /// </summary>
  4498. /// <param name="event" type="String">The event name</param>
  4499. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  4500. },
  4501. unbind: function(event, callback) {
  4502. /// <summary>
  4503. /// Unbinds a callback from a widget event.
  4504. /// </summary>
  4505. /// <param name="event" type="String">The event name</param>
  4506. /// <param name="callback" type="Function">The callback to be removed.</param>
  4507. }
  4508. };
  4509. $.fn.getKendoMobileBackButton = function() {
  4510. /// <summary>
  4511. /// Returns a reference to the kendo.mobile.ui.BackButton widget, instantiated on the selector.
  4512. /// </summary>
  4513. /// <returns type="kendo.mobile.ui.BackButton">The kendo.mobile.ui.BackButton instance (if present).</returns>
  4514. };
  4515. $.fn.kendoMobileBackButton = function(options) {
  4516. /// <summary>
  4517. /// Instantiates a kendo.mobile.ui.BackButton widget based the DOM elements that match the selector.
  4518. /// &#10;Accepts an object with the following configuration options:
  4519. /// &#10;
  4520. /// </summary>
  4521. /// <param name="options" type="Object">
  4522. /// The widget configuration options
  4523. /// </param>
  4524. };
  4525. kendo.mobile.ui.Button = function() { };
  4526. kendo.mobile.ui.Button.prototype = {
  4527. badge: function(value) {
  4528. /// <summary>
  4529. /// Introduced in Q1 2013 SP Sets a badge on the Button with the specified value. If invoked without parameters, returns the current badge value. Set the value to false to remove the badge.
  4530. /// </summary>
  4531. /// <param name="value" type="Object" >The target value to be set or false to be removed.</param>
  4532. /// <returns type="String | kendo.mobile.ui.Button">the badge value if invoked without parameters, otherwise the Button object.</returns>
  4533. },
  4534. destroy: function() {
  4535. /// <summary>
  4536. /// Prepares the Button for safe removal from DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets.
  4537. /// </summary>
  4538. },
  4539. enable: function(enable) {
  4540. /// <summary>
  4541. /// Changes the enabled state of the widget.
  4542. /// </summary>
  4543. /// <param name="enable" type="Boolean" >Whether to enable or disable the widget.</param>
  4544. },
  4545. bind: function(event, callback) {
  4546. /// <summary>
  4547. /// Binds to a widget event.
  4548. /// </summary>
  4549. /// <param name="event" type="String">The event name</param>
  4550. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  4551. },
  4552. unbind: function(event, callback) {
  4553. /// <summary>
  4554. /// Unbinds a callback from a widget event.
  4555. /// </summary>
  4556. /// <param name="event" type="String">The event name</param>
  4557. /// <param name="callback" type="Function">The callback to be removed.</param>
  4558. }
  4559. };
  4560. $.fn.getKendoMobileButton = function() {
  4561. /// <summary>
  4562. /// Returns a reference to the kendo.mobile.ui.Button widget, instantiated on the selector.
  4563. /// </summary>
  4564. /// <returns type="kendo.mobile.ui.Button">The kendo.mobile.ui.Button instance (if present).</returns>
  4565. };
  4566. $.fn.kendoMobileButton = function(options) {
  4567. /// <summary>
  4568. /// Instantiates a kendo.mobile.ui.Button widget based the DOM elements that match the selector.
  4569. /// &#10;Accepts an object with the following configuration options:
  4570. /// &#10;
  4571. /// &#10;badge - String
  4572. /// &#10;The badge of the button.
  4573. /// &#10;
  4574. /// &#10;clickOn - String (default: default "up")
  4575. /// &#10;Configures the DOM event used to trigger the button click event/navigate in the mobile application. Can be set to "down" as an alias for touchstart, mousedown, MSPointerDown, and PointerDown vendor specific events. Setting the clickOn to down usually makes sense for buttons in the header or in non-scrollable views for increased responsiveness.By default, buttons trigger click/navigate when the user taps the button (a press + release action sequence occurs).
  4576. /// &#10;
  4577. /// &#10;enable - Boolean (default: true)
  4578. /// &#10;If set to false the widget will be disabled and will not allow the user to click it. The widget is enabled by default.
  4579. /// &#10;
  4580. /// &#10;icon - String
  4581. /// &#10;The icon of the button. It can be either one of the built-in icons, or a custom one.
  4582. /// &#10;
  4583. /// </summary>
  4584. /// <param name="options" type="Object">
  4585. /// The widget configuration options
  4586. /// </param>
  4587. };
  4588. kendo.mobile.ui.ButtonGroup = function() { };
  4589. kendo.mobile.ui.ButtonGroup.prototype = {
  4590. badge: function(button,value) {
  4591. /// <summary>
  4592. /// Introduced in Q1 2013 SP Sets a badge on one of the ButtonGroup buttons with the specified value. If invoked without parameters, returns the button's current badge value. Set the value to false to remove the badge.
  4593. /// </summary>
  4594. /// <param name="button" type="Object" >The target button specified either as a jQuery selector/object or as an button index.</param>
  4595. /// <param name="value" type="Object" >The target value to be set or false to be removed.</param>
  4596. /// <returns type="String|kendo.mobile.ui.Button">the badge value if invoked without parameters, otherwise the ButtonGroup object.</returns>
  4597. },
  4598. current: function() {
  4599. /// <summary>
  4600. /// Get the currently selected Button.
  4601. /// </summary>
  4602. /// <returns type="jQuery">the jQuery object representing the currently selected button.</returns>
  4603. },
  4604. destroy: function() {
  4605. /// <summary>
  4606. /// Prepares the ButtonGroup for safe removal from DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets.
  4607. /// </summary>
  4608. },
  4609. enable: function(enable) {
  4610. /// <summary>
  4611. /// Enables or disables the widget.
  4612. /// </summary>
  4613. /// <param name="enable" type="Boolean" >A boolean flag that indicates whether the widget should be enabled or disabled.</param>
  4614. },
  4615. select: function(li) {
  4616. /// <summary>
  4617. /// Select a Button.
  4618. /// </summary>
  4619. /// <param name="li" type="Object" >LI element or index of the Button.</param>
  4620. },
  4621. bind: function(event, callback) {
  4622. /// <summary>
  4623. /// Binds to a widget event.
  4624. /// </summary>
  4625. /// <param name="event" type="String">The event name</param>
  4626. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  4627. },
  4628. unbind: function(event, callback) {
  4629. /// <summary>
  4630. /// Unbinds a callback from a widget event.
  4631. /// </summary>
  4632. /// <param name="event" type="String">The event name</param>
  4633. /// <param name="callback" type="Function">The callback to be removed.</param>
  4634. }
  4635. };
  4636. $.fn.getKendoMobileButtonGroup = function() {
  4637. /// <summary>
  4638. /// Returns a reference to the kendo.mobile.ui.ButtonGroup widget, instantiated on the selector.
  4639. /// </summary>
  4640. /// <returns type="kendo.mobile.ui.ButtonGroup">The kendo.mobile.ui.ButtonGroup instance (if present).</returns>
  4641. };
  4642. $.fn.kendoMobileButtonGroup = function(options) {
  4643. /// <summary>
  4644. /// Instantiates a kendo.mobile.ui.ButtonGroup widget based the DOM elements that match the selector.
  4645. /// &#10;Accepts an object with the following configuration options:
  4646. /// &#10;
  4647. /// &#10;enable - Boolean (default: true)
  4648. /// &#10;Defines if the widget is initially enabled or disabled.
  4649. /// &#10;
  4650. /// &#10;index - Number
  4651. /// &#10;Defines the initially selected Button (zero based index).
  4652. /// &#10;
  4653. /// &#10;selectOn - String (default: default "down")
  4654. /// &#10;Sets the DOM event used to select the button. Accepts "up" as an alias for touchend, mouseup and MSPointerUp vendor specific events.By default, buttons are selected immediately after the user presses the button (on touchstart or mousedown or MSPointerDown, depending on the mobile device). However, if the widget is placed in a scrollable view, the user may accidentally press the button when scrolling. In such cases, it is recommended to set this option to "up".
  4655. /// &#10;
  4656. /// </summary>
  4657. /// <param name="options" type="Object">
  4658. /// The widget configuration options
  4659. /// </param>
  4660. };
  4661. kendo.mobile.ui.Collapsible = function() { };
  4662. kendo.mobile.ui.Collapsible.prototype = {
  4663. collapse: function(instant) {
  4664. /// <summary>
  4665. /// Collapses the content.
  4666. /// </summary>
  4667. /// <param name="instant" type="Boolean" >Optional. When set to true the collapse action will be performed without animation.</param>
  4668. },
  4669. destroy: function() {
  4670. /// <summary>
  4671. /// Prepares the Collapsible for safe removal from DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets.
  4672. /// </summary>
  4673. },
  4674. expand: function(instant) {
  4675. /// <summary>
  4676. /// Expands the content.
  4677. /// </summary>
  4678. /// <param name="instant" type="Boolean" >When set to true the expand action will be performed without animation.</param>
  4679. },
  4680. resize: function() {
  4681. /// <summary>
  4682. /// Recalculates the content height.
  4683. /// </summary>
  4684. },
  4685. toggle: function(instant) {
  4686. /// <summary>
  4687. /// Toggles the content visibility.
  4688. /// </summary>
  4689. /// <param name="instant" type="Boolean" >When set to true the expand/collapse action will be performed without animation.</param>
  4690. },
  4691. bind: function(event, callback) {
  4692. /// <summary>
  4693. /// Binds to a widget event.
  4694. /// </summary>
  4695. /// <param name="event" type="String">The event name</param>
  4696. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  4697. },
  4698. unbind: function(event, callback) {
  4699. /// <summary>
  4700. /// Unbinds a callback from a widget event.
  4701. /// </summary>
  4702. /// <param name="event" type="String">The event name</param>
  4703. /// <param name="callback" type="Function">The callback to be removed.</param>
  4704. }
  4705. };
  4706. $.fn.getKendoMobileCollapsible = function() {
  4707. /// <summary>
  4708. /// Returns a reference to the kendo.mobile.ui.Collapsible widget, instantiated on the selector.
  4709. /// </summary>
  4710. /// <returns type="kendo.mobile.ui.Collapsible">The kendo.mobile.ui.Collapsible instance (if present).</returns>
  4711. };
  4712. $.fn.kendoMobileCollapsible = function(options) {
  4713. /// <summary>
  4714. /// Instantiates a kendo.mobile.ui.Collapsible widget based the DOM elements that match the selector.
  4715. /// &#10;Accepts an object with the following configuration options:
  4716. /// &#10;
  4717. /// &#10;animation - Boolean (default: true)
  4718. /// &#10;Turns on or off the animation of the widget.
  4719. /// &#10;
  4720. /// &#10;collapsed - Boolean (default: true)
  4721. /// &#10;If set to false the widget content will be expanded initially. The content of the widget is collapsed by default.
  4722. /// &#10;
  4723. /// &#10;expandIcon - String (default: "plus")
  4724. /// &#10;Sets the icon for the header of the collapsible widget when it is in a expanded state.
  4725. /// &#10;
  4726. /// &#10;iconPosition - String (default: "left")
  4727. /// &#10;Sets the icon position in the header of the collapsible widget. Possible values are "left", "right", "top".
  4728. /// &#10;
  4729. /// &#10;inset - Boolean (default: "false")
  4730. /// &#10;Forces inset appearance - the collapsible panel is padded from the View and receives rounded corners.
  4731. /// &#10;
  4732. /// </summary>
  4733. /// <param name="options" type="Object">
  4734. /// The widget configuration options
  4735. /// </param>
  4736. };
  4737. kendo.mobile.ui.DetailButton = function() { };
  4738. kendo.mobile.ui.DetailButton.prototype = {
  4739. destroy: function() {
  4740. /// <summary>
  4741. /// Prepares the DetailButton for safe removal from DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets.
  4742. /// </summary>
  4743. },
  4744. bind: function(event, callback) {
  4745. /// <summary>
  4746. /// Binds to a widget event.
  4747. /// </summary>
  4748. /// <param name="event" type="String">The event name</param>
  4749. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  4750. },
  4751. unbind: function(event, callback) {
  4752. /// <summary>
  4753. /// Unbinds a callback from a widget event.
  4754. /// </summary>
  4755. /// <param name="event" type="String">The event name</param>
  4756. /// <param name="callback" type="Function">The callback to be removed.</param>
  4757. }
  4758. };
  4759. $.fn.getKendoMobileDetailButton = function() {
  4760. /// <summary>
  4761. /// Returns a reference to the kendo.mobile.ui.DetailButton widget, instantiated on the selector.
  4762. /// </summary>
  4763. /// <returns type="kendo.mobile.ui.DetailButton">The kendo.mobile.ui.DetailButton instance (if present).</returns>
  4764. };
  4765. $.fn.kendoMobileDetailButton = function(options) {
  4766. /// <summary>
  4767. /// Instantiates a kendo.mobile.ui.DetailButton widget based the DOM elements that match the selector.
  4768. /// &#10;Accepts an object with the following configuration options:
  4769. /// &#10;
  4770. /// </summary>
  4771. /// <param name="options" type="Object">
  4772. /// The widget configuration options
  4773. /// </param>
  4774. };
  4775. kendo.mobile.ui.Drawer = function() { };
  4776. kendo.mobile.ui.Drawer.prototype = {
  4777. destroy: function() {
  4778. /// <summary>
  4779. /// Prepares the Drawer for safe removal from DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets.
  4780. /// </summary>
  4781. },
  4782. hide: function() {
  4783. /// <summary>
  4784. /// Hide the Drawer
  4785. /// </summary>
  4786. },
  4787. show: function() {
  4788. /// <summary>
  4789. /// Show the Drawer
  4790. /// </summary>
  4791. },
  4792. bind: function(event, callback) {
  4793. /// <summary>
  4794. /// Binds to a widget event.
  4795. /// </summary>
  4796. /// <param name="event" type="String">The event name</param>
  4797. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  4798. },
  4799. unbind: function(event, callback) {
  4800. /// <summary>
  4801. /// Unbinds a callback from a widget event.
  4802. /// </summary>
  4803. /// <param name="event" type="String">The event name</param>
  4804. /// <param name="callback" type="Function">The callback to be removed.</param>
  4805. }
  4806. };
  4807. $.fn.getKendoMobileDrawer = function() {
  4808. /// <summary>
  4809. /// Returns a reference to the kendo.mobile.ui.Drawer widget, instantiated on the selector.
  4810. /// </summary>
  4811. /// <returns type="kendo.mobile.ui.Drawer">The kendo.mobile.ui.Drawer instance (if present).</returns>
  4812. };
  4813. $.fn.kendoMobileDrawer = function(options) {
  4814. /// <summary>
  4815. /// Instantiates a kendo.mobile.ui.Drawer widget based the DOM elements that match the selector.
  4816. /// &#10;Accepts an object with the following configuration options:
  4817. /// &#10;
  4818. /// &#10;container - jQuery
  4819. /// &#10;Specifies the content element to shift when the drawer appears. Required if the drawer is used outside of a mobile application.
  4820. /// &#10;
  4821. /// &#10;position - String (default: 'left')
  4822. /// &#10;The position of the drawer. Can be left (default) or right.
  4823. /// &#10;
  4824. /// &#10;swipeToOpen - Boolean (default: true)
  4825. /// &#10;If set to false, swiping the view will not activate the drawer. In this case, the drawer will only be open by a designated button. should be disabled for browsers, which use side swiping gestures for back/forward navigation, such as iOS Safari. Otherwise, users should swipe from an inner part of the view, and not from the view edge.
  4826. /// &#10;
  4827. /// &#10;swipeToOpenViews - Array
  4828. /// &#10;A list of the view ids on which the drawer will appear when the view is swiped. If omitted, the swipe gesture will work on all views. The option has effect only if swipeToOpen is set to true.
  4829. /// &#10;
  4830. /// &#10;title - String
  4831. /// &#10;The text to display in the Navbar title (if present).
  4832. /// &#10;
  4833. /// &#10;views - Array
  4834. /// &#10;A list of the view ids on which the drawer will appear. If omitted, the drawer will work on any view in the application.
  4835. /// &#10;
  4836. /// </summary>
  4837. /// <param name="options" type="Object">
  4838. /// The widget configuration options
  4839. /// </param>
  4840. };
  4841. kendo.mobile.ui.Layout = function() { };
  4842. kendo.mobile.ui.Layout.prototype = {
  4843. bind: function(event, callback) {
  4844. /// <summary>
  4845. /// Binds to a widget event.
  4846. /// </summary>
  4847. /// <param name="event" type="String">The event name</param>
  4848. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  4849. },
  4850. unbind: function(event, callback) {
  4851. /// <summary>
  4852. /// Unbinds a callback from a widget event.
  4853. /// </summary>
  4854. /// <param name="event" type="String">The event name</param>
  4855. /// <param name="callback" type="Function">The callback to be removed.</param>
  4856. }
  4857. };
  4858. $.fn.getKendoMobileLayout = function() {
  4859. /// <summary>
  4860. /// Returns a reference to the kendo.mobile.ui.Layout widget, instantiated on the selector.
  4861. /// </summary>
  4862. /// <returns type="kendo.mobile.ui.Layout">The kendo.mobile.ui.Layout instance (if present).</returns>
  4863. };
  4864. $.fn.kendoMobileLayout = function(options) {
  4865. /// <summary>
  4866. /// Instantiates a kendo.mobile.ui.Layout widget based the DOM elements that match the selector.
  4867. /// &#10;Accepts an object with the following configuration options:
  4868. /// &#10;
  4869. /// &#10;id - String (default: null)
  4870. /// &#10;The id of the layout. Required
  4871. /// &#10;
  4872. /// &#10;platform - String
  4873. /// &#10;The specific platform this layout targets. By default, layouts are displayed on all platforms.
  4874. /// &#10;
  4875. /// </summary>
  4876. /// <param name="options" type="Object">
  4877. /// The widget configuration options
  4878. /// </param>
  4879. };
  4880. kendo.mobile.ui.ListView = function() { };
  4881. kendo.mobile.ui.ListView.prototype = {
  4882. append: function(dataItems) {
  4883. /// <summary>
  4884. /// Appends new items generated by rendering the given data items with the listview template to the bottom of the listview.
  4885. /// </summary>
  4886. /// <param name="dataItems" type="Array" ></param>
  4887. },
  4888. prepend: function(dataItems) {
  4889. /// <summary>
  4890. /// Prepends new items generated by rendering the given data items with the listview template to the top of the listview.
  4891. /// </summary>
  4892. /// <param name="dataItems" type="Array" ></param>
  4893. },
  4894. replace: function(dataItems) {
  4895. /// <summary>
  4896. /// Replaces the contents of the listview with the passed rendered data items.
  4897. /// </summary>
  4898. /// <param name="dataItems" type="Array" ></param>
  4899. },
  4900. remove: function(dataItems) {
  4901. /// <summary>
  4902. /// Removes the listview items which are rendered with the passed data items.
  4903. /// </summary>
  4904. /// <param name="dataItems" type="Array" ></param>
  4905. },
  4906. setDataItem: function(item,dataItem) {
  4907. /// <summary>
  4908. /// Re-renders the given listview item with the new dataItem provided. In order for the method to work as expected, the data items should be of type kendo.data.Model.
  4909. /// </summary>
  4910. /// <param name="item" type="jQuery" >The listview item to update</param>
  4911. /// <param name="dataItem" type="kendo.data.Model" >The new dataItem</param>
  4912. },
  4913. destroy: function() {
  4914. /// <summary>
  4915. /// Prepares the ListView for safe removal from DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets.
  4916. /// </summary>
  4917. },
  4918. items: function() {
  4919. /// <summary>
  4920. /// Get the listview DOM element items
  4921. /// </summary>
  4922. /// <returns type="jQuery">The listview DOM element items</returns>
  4923. },
  4924. refresh: function() {
  4925. /// <summary>
  4926. /// Repaints the listview (works only in databound mode).
  4927. /// </summary>
  4928. },
  4929. setDataSource: function(dataSource) {
  4930. /// <summary>
  4931. /// Sets the DataSource of an existing ListView and rebinds it.
  4932. /// </summary>
  4933. /// <param name="dataSource" type="kendo.data.DataSource" ></param>
  4934. },
  4935. bind: function(event, callback) {
  4936. /// <summary>
  4937. /// Binds to a widget event.
  4938. /// </summary>
  4939. /// <param name="event" type="String">The event name</param>
  4940. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  4941. },
  4942. unbind: function(event, callback) {
  4943. /// <summary>
  4944. /// Unbinds a callback from a widget event.
  4945. /// </summary>
  4946. /// <param name="event" type="String">The event name</param>
  4947. /// <param name="callback" type="Function">The callback to be removed.</param>
  4948. }
  4949. };
  4950. $.fn.getKendoMobileListView = function() {
  4951. /// <summary>
  4952. /// Returns a reference to the kendo.mobile.ui.ListView widget, instantiated on the selector.
  4953. /// </summary>
  4954. /// <returns type="kendo.mobile.ui.ListView">The kendo.mobile.ui.ListView instance (if present).</returns>
  4955. };
  4956. $.fn.kendoMobileListView = function(options) {
  4957. /// <summary>
  4958. /// Instantiates a kendo.mobile.ui.ListView widget based the DOM elements that match the selector.
  4959. /// &#10;Accepts an object with the following configuration options:
  4960. /// &#10;
  4961. /// &#10;appendOnRefresh - Boolean (default: false)
  4962. /// &#10;Used in combination with pullToRefresh. If set to true, newly loaded data will be appended on top when refreshing. Notice: not applicable if ListView is in a virtual mode.
  4963. /// &#10;
  4964. /// &#10;autoBind - Boolean (default: true)
  4965. /// &#10;Indicates whether the listview will call read on the DataSource initially. If set to false, the listview will be bound after the DataSource instance fetch method is called.
  4966. /// &#10;
  4967. /// &#10;dataSource - kendo.data.DataSource|Object
  4968. /// &#10;Instance of DataSource or the data that the mobile ListView will be bound to.
  4969. /// &#10;
  4970. /// &#10;endlessScroll - Boolean (default: false)
  4971. /// &#10;If set to true, the listview gets the next page of data when the user scrolls near the bottom of the view.
  4972. /// &#10;
  4973. /// &#10;fixedHeaders - Boolean (default: false)
  4974. /// &#10;If set to true, the group headers will persist their position when the user scrolls through the listview. Applicable only when the type is set to group, or when binding to grouped DataSource.Notice: fixed headers are not supported in virtual mode.
  4975. /// &#10;
  4976. /// &#10;headerTemplate - String|Function (default: "#:value#")
  4977. /// &#10;The header item template (applicable when the type is set to group).
  4978. /// &#10;
  4979. /// &#10;loadMore - Boolean (default: false)
  4980. /// &#10;If set to true, a button is rendered at the bottom of the listview. Tapping it fetches and displays the items from the next page of the DataSource.
  4981. /// &#10;
  4982. /// &#10;messages - Object
  4983. /// &#10;Defines the text of the ListView messages. Used primary for localization.
  4984. /// &#10;
  4985. /// &#10;pullToRefresh - Boolean (default: false)
  4986. /// &#10;If set to true, the listview will reload its data when the user pulls the view over the top limit.
  4987. /// &#10;
  4988. /// &#10;pullParameters - Function
  4989. /// &#10;A callback function used when the 'pullToRefresh' option is enabled. The result of the function will be send as additional parameters to the DataSource's next method.Notice: When the listview is in a virtual mode, the pull to refresh action removes the previously loaded items in the listview (instead of appending new records at the top). Previously loaded pages in the DataSource are also discarded.
  4990. /// &#10;
  4991. /// &#10;style - String (default: "")
  4992. /// &#10;The style of the widget. Can be either empty string(""), or inset.
  4993. /// &#10;
  4994. /// &#10;template - String|Function (default: "#:data#")
  4995. /// &#10;The item template.
  4996. /// &#10;
  4997. /// &#10;type - String (default: "flat")
  4998. /// &#10;The type of the control. Can be either flat (default) or group. Determined automatically in databound mode.
  4999. /// &#10;
  5000. /// &#10;filterable - Boolean (default: false)
  5001. /// &#10;Indicates whether the filter input must be visible or not.
  5002. /// &#10;
  5003. /// &#10;filterable - Object (default: false)
  5004. /// &#10;Indicates whether the filter input must be visible or not.
  5005. /// &#10;
  5006. /// &#10;virtualViewSize - Number
  5007. /// &#10;Used when virtualization of local data is used. This configuration is needed to determine the items displayed, since the datasource does not (and should not) have paging set.
  5008. /// &#10;
  5009. /// </summary>
  5010. /// <param name="options" type="Object">
  5011. /// The widget configuration options
  5012. /// </param>
  5013. };
  5014. kendo.mobile.ui.Loader = function() { };
  5015. kendo.mobile.ui.Loader.prototype = {
  5016. hide: function() {
  5017. /// <summary>
  5018. /// Hide the loading animation.
  5019. /// </summary>
  5020. },
  5021. show: function() {
  5022. /// <summary>
  5023. /// Show the loading animation.
  5024. /// </summary>
  5025. },
  5026. bind: function(event, callback) {
  5027. /// <summary>
  5028. /// Binds to a widget event.
  5029. /// </summary>
  5030. /// <param name="event" type="String">The event name</param>
  5031. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  5032. },
  5033. unbind: function(event, callback) {
  5034. /// <summary>
  5035. /// Unbinds a callback from a widget event.
  5036. /// </summary>
  5037. /// <param name="event" type="String">The event name</param>
  5038. /// <param name="callback" type="Function">The callback to be removed.</param>
  5039. }
  5040. };
  5041. $.fn.getKendoMobileLoader = function() {
  5042. /// <summary>
  5043. /// Returns a reference to the kendo.mobile.ui.Loader widget, instantiated on the selector.
  5044. /// </summary>
  5045. /// <returns type="kendo.mobile.ui.Loader">The kendo.mobile.ui.Loader instance (if present).</returns>
  5046. };
  5047. $.fn.kendoMobileLoader = function(options) {
  5048. /// <summary>
  5049. /// Instantiates a kendo.mobile.ui.Loader widget based the DOM elements that match the selector.
  5050. /// &#10;Accepts an object with the following configuration options:
  5051. /// &#10;
  5052. /// </summary>
  5053. /// <param name="options" type="Object">
  5054. /// The widget configuration options
  5055. /// </param>
  5056. };
  5057. kendo.mobile.ui.ModalView = function() { };
  5058. kendo.mobile.ui.ModalView.prototype = {
  5059. close: function() {
  5060. /// <summary>
  5061. /// Close the ModalView
  5062. /// </summary>
  5063. },
  5064. destroy: function() {
  5065. /// <summary>
  5066. /// Prepares the ModalView for safe removal from DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets.
  5067. /// </summary>
  5068. },
  5069. open: function(target) {
  5070. /// <summary>
  5071. /// Open the ModalView
  5072. /// </summary>
  5073. /// <param name="target" type="jQuery" >The target of the ModalView</param>
  5074. },
  5075. bind: function(event, callback) {
  5076. /// <summary>
  5077. /// Binds to a widget event.
  5078. /// </summary>
  5079. /// <param name="event" type="String">The event name</param>
  5080. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  5081. },
  5082. unbind: function(event, callback) {
  5083. /// <summary>
  5084. /// Unbinds a callback from a widget event.
  5085. /// </summary>
  5086. /// <param name="event" type="String">The event name</param>
  5087. /// <param name="callback" type="Function">The callback to be removed.</param>
  5088. }
  5089. };
  5090. $.fn.getKendoMobileModalView = function() {
  5091. /// <summary>
  5092. /// Returns a reference to the kendo.mobile.ui.ModalView widget, instantiated on the selector.
  5093. /// </summary>
  5094. /// <returns type="kendo.mobile.ui.ModalView">The kendo.mobile.ui.ModalView instance (if present).</returns>
  5095. };
  5096. $.fn.kendoMobileModalView = function(options) {
  5097. /// <summary>
  5098. /// Instantiates a kendo.mobile.ui.ModalView widget based the DOM elements that match the selector.
  5099. /// &#10;Accepts an object with the following configuration options:
  5100. /// &#10;
  5101. /// &#10;height - Number
  5102. /// &#10;The height of the ModalView container in pixels. If not set, the element style is used.
  5103. /// &#10;
  5104. /// &#10;modal - Boolean (default: true)
  5105. /// &#10;When set to false, the ModalView will close when the user taps outside of its element.
  5106. /// &#10;
  5107. /// &#10;width - Number
  5108. /// &#10;The width of the ModalView container in pixels. If not set, the element style is used.
  5109. /// &#10;
  5110. /// </summary>
  5111. /// <param name="options" type="Object">
  5112. /// The widget configuration options
  5113. /// </param>
  5114. };
  5115. kendo.mobile.ui.NavBar = function() { };
  5116. kendo.mobile.ui.NavBar.prototype = {
  5117. destroy: function() {
  5118. /// <summary>
  5119. /// Prepares the NavBar for safe removal from DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets.
  5120. /// </summary>
  5121. },
  5122. title: function(value) {
  5123. /// <summary>
  5124. /// Update the title element text. The title element is specified by setting the role data attribute to view-title.
  5125. /// </summary>
  5126. /// <param name="value" type="String" >The text of title</param>
  5127. },
  5128. bind: function(event, callback) {
  5129. /// <summary>
  5130. /// Binds to a widget event.
  5131. /// </summary>
  5132. /// <param name="event" type="String">The event name</param>
  5133. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  5134. },
  5135. unbind: function(event, callback) {
  5136. /// <summary>
  5137. /// Unbinds a callback from a widget event.
  5138. /// </summary>
  5139. /// <param name="event" type="String">The event name</param>
  5140. /// <param name="callback" type="Function">The callback to be removed.</param>
  5141. }
  5142. };
  5143. $.fn.getKendoMobileNavBar = function() {
  5144. /// <summary>
  5145. /// Returns a reference to the kendo.mobile.ui.NavBar widget, instantiated on the selector.
  5146. /// </summary>
  5147. /// <returns type="kendo.mobile.ui.NavBar">The kendo.mobile.ui.NavBar instance (if present).</returns>
  5148. };
  5149. $.fn.kendoMobileNavBar = function(options) {
  5150. /// <summary>
  5151. /// Instantiates a kendo.mobile.ui.NavBar widget based the DOM elements that match the selector.
  5152. /// &#10;Accepts an object with the following configuration options:
  5153. /// &#10;
  5154. /// </summary>
  5155. /// <param name="options" type="Object">
  5156. /// The widget configuration options
  5157. /// </param>
  5158. };
  5159. kendo.mobile.ui.Pane = function() { };
  5160. kendo.mobile.ui.Pane.prototype = {
  5161. destroy: function() {
  5162. /// <summary>
  5163. /// Prepares the Pane for safe removal from DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets.
  5164. /// </summary>
  5165. },
  5166. hideLoading: function() {
  5167. /// <summary>
  5168. /// Hide the loading animation.
  5169. /// </summary>
  5170. },
  5171. navigate: function(url,transition) {
  5172. /// <summary>
  5173. /// Navigate the local or remote view.
  5174. /// </summary>
  5175. /// <param name="url" type="String" >The id or URL of the view.</param>
  5176. /// <param name="transition" type="String" >The transition to apply when navigating. See View Transitions for more information.</param>
  5177. },
  5178. replace: function(url,transition) {
  5179. /// <summary>
  5180. /// Navigate to local or to remote view. The view will replace the current one in the history stack.
  5181. /// </summary>
  5182. /// <param name="url" type="String" >The id or URL of the view.</param>
  5183. /// <param name="transition" type="String" >The transition to apply when navigating. See View Transitions for more information.</param>
  5184. },
  5185. showLoading: function() {
  5186. /// <summary>
  5187. /// Show the loading animation.
  5188. /// </summary>
  5189. },
  5190. view: function() {
  5191. /// <summary>
  5192. /// Get a reference to the current view.
  5193. /// </summary>
  5194. /// <returns type="kendo.mobile.ui.View">the view instance.</returns>
  5195. },
  5196. bind: function(event, callback) {
  5197. /// <summary>
  5198. /// Binds to a widget event.
  5199. /// </summary>
  5200. /// <param name="event" type="String">The event name</param>
  5201. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  5202. },
  5203. unbind: function(event, callback) {
  5204. /// <summary>
  5205. /// Unbinds a callback from a widget event.
  5206. /// </summary>
  5207. /// <param name="event" type="String">The event name</param>
  5208. /// <param name="callback" type="Function">The callback to be removed.</param>
  5209. }
  5210. };
  5211. $.fn.getKendoMobilePane = function() {
  5212. /// <summary>
  5213. /// Returns a reference to the kendo.mobile.ui.Pane widget, instantiated on the selector.
  5214. /// </summary>
  5215. /// <returns type="kendo.mobile.ui.Pane">The kendo.mobile.ui.Pane instance (if present).</returns>
  5216. };
  5217. $.fn.kendoMobilePane = function(options) {
  5218. /// <summary>
  5219. /// Instantiates a kendo.mobile.ui.Pane widget based the DOM elements that match the selector.
  5220. /// &#10;Accepts an object with the following configuration options:
  5221. /// &#10;
  5222. /// &#10;collapsible - Boolean (default: false)
  5223. /// &#10;Applicable when the pane is inside a SplitView. If set to true, the pane will be hidden when the device is in portrait position. The expandPanes SplitView method displays the hidden panes.The id of the initial mobile View to display.
  5224. /// &#10;
  5225. /// &#10;initial - String
  5226. /// &#10;The id of the initial mobile View to display.
  5227. /// &#10;
  5228. /// &#10;layout - String
  5229. /// &#10;The id of the default Pane Layout.
  5230. /// &#10;
  5231. /// &#10;loading - String (default: "Loading...")
  5232. /// &#10;The text displayed in the loading popup. Setting this value to false will disable the loading popup.
  5233. /// &#10;
  5234. /// &#10;portraitWidth - Number
  5235. /// &#10;Sets the pane width in pixels when the device is in portrait position.
  5236. /// &#10;
  5237. /// &#10;transition - String
  5238. /// &#10;The default View transition.
  5239. /// &#10;
  5240. /// </summary>
  5241. /// <param name="options" type="Object">
  5242. /// The widget configuration options
  5243. /// </param>
  5244. };
  5245. kendo.mobile.ui.PopOver = function() { };
  5246. kendo.mobile.ui.PopOver.prototype = {
  5247. close: function() {
  5248. /// <summary>
  5249. /// Close the popover.
  5250. /// </summary>
  5251. },
  5252. destroy: function() {
  5253. /// <summary>
  5254. /// Prepares the PopOver for safe removal from DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets.
  5255. /// </summary>
  5256. },
  5257. open: function(target) {
  5258. /// <summary>
  5259. /// Open the PopOver.
  5260. /// </summary>
  5261. /// <param name="target" type="jQuery" >The target of the Popover, to which the visual arrow will point to. This parameter is required for a tablet OS.</param>
  5262. },
  5263. bind: function(event, callback) {
  5264. /// <summary>
  5265. /// Binds to a widget event.
  5266. /// </summary>
  5267. /// <param name="event" type="String">The event name</param>
  5268. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  5269. },
  5270. unbind: function(event, callback) {
  5271. /// <summary>
  5272. /// Unbinds a callback from a widget event.
  5273. /// </summary>
  5274. /// <param name="event" type="String">The event name</param>
  5275. /// <param name="callback" type="Function">The callback to be removed.</param>
  5276. }
  5277. };
  5278. $.fn.getKendoMobilePopOver = function() {
  5279. /// <summary>
  5280. /// Returns a reference to the kendo.mobile.ui.PopOver widget, instantiated on the selector.
  5281. /// </summary>
  5282. /// <returns type="kendo.mobile.ui.PopOver">The kendo.mobile.ui.PopOver instance (if present).</returns>
  5283. };
  5284. $.fn.kendoMobilePopOver = function(options) {
  5285. /// <summary>
  5286. /// Instantiates a kendo.mobile.ui.PopOver widget based the DOM elements that match the selector.
  5287. /// &#10;Accepts an object with the following configuration options:
  5288. /// &#10;
  5289. /// &#10;pane - Object
  5290. /// &#10;The pane configuration options.
  5291. /// &#10;
  5292. /// &#10;popup - Object
  5293. /// &#10;The popup configuration options.
  5294. /// &#10;
  5295. /// </summary>
  5296. /// <param name="options" type="Object">
  5297. /// The widget configuration options
  5298. /// </param>
  5299. };
  5300. kendo.mobile.ui.ScrollView = function() { };
  5301. kendo.mobile.ui.ScrollView.prototype = {
  5302. content: function(content) {
  5303. /// <summary>
  5304. /// Update the ScrollView HTML content.
  5305. /// </summary>
  5306. /// <param name="content" type="Object" >The new ScrollView content.</param>
  5307. },
  5308. destroy: function() {
  5309. /// <summary>
  5310. /// Prepares the ScrollView for safe removal from DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets.
  5311. /// </summary>
  5312. },
  5313. next: function() {
  5314. /// <summary>
  5315. /// Switches to the next page with animation.
  5316. /// </summary>
  5317. },
  5318. prev: function() {
  5319. /// <summary>
  5320. /// Switches to the previous page with animation.
  5321. /// </summary>
  5322. },
  5323. refresh: function() {
  5324. /// <summary>
  5325. /// Redraw the mobile ScrollView pager. Called automatically on device orientation change event.
  5326. /// </summary>
  5327. },
  5328. scrollTo: function(page,instant) {
  5329. /// <summary>
  5330. /// Scroll to the given page. Pages are zero-based indexed.
  5331. /// </summary>
  5332. /// <param name="page" type="Number" >The page to scroll to.</param>
  5333. /// <param name="instant" type="Boolean" >If set to true, the ScrollView will jump instantly to the given page without any animation effects.</param>
  5334. },
  5335. setDataSource: function(dataSource) {
  5336. /// <summary>
  5337. /// Sets the DataSource of an existing ScrollView and rebinds it.
  5338. /// </summary>
  5339. /// <param name="dataSource" type="kendo.data.DataSource" ></param>
  5340. },
  5341. value: function(dataItem) {
  5342. /// <summary>
  5343. /// Works in data-bound mode only. If a parameter is passed, the widget scrolls to the given dataItem. If not, the method return currently displayed dataItem.
  5344. /// </summary>
  5345. /// <param name="dataItem" type="Object" >The dataItem to set.</param>
  5346. /// <returns type="Object">The currently displayed dataItem.</returns>
  5347. },
  5348. bind: function(event, callback) {
  5349. /// <summary>
  5350. /// Binds to a widget event.
  5351. /// </summary>
  5352. /// <param name="event" type="String">The event name</param>
  5353. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  5354. },
  5355. unbind: function(event, callback) {
  5356. /// <summary>
  5357. /// Unbinds a callback from a widget event.
  5358. /// </summary>
  5359. /// <param name="event" type="String">The event name</param>
  5360. /// <param name="callback" type="Function">The callback to be removed.</param>
  5361. }
  5362. };
  5363. $.fn.getKendoMobileScrollView = function() {
  5364. /// <summary>
  5365. /// Returns a reference to the kendo.mobile.ui.ScrollView widget, instantiated on the selector.
  5366. /// </summary>
  5367. /// <returns type="kendo.mobile.ui.ScrollView">The kendo.mobile.ui.ScrollView instance (if present).</returns>
  5368. };
  5369. $.fn.kendoMobileScrollView = function(options) {
  5370. /// <summary>
  5371. /// Instantiates a kendo.mobile.ui.ScrollView widget based the DOM elements that match the selector.
  5372. /// &#10;Accepts an object with the following configuration options:
  5373. /// &#10;
  5374. /// &#10;autoBind - Boolean (default: true)
  5375. /// &#10;If set to false the widget will not bind to the DataSource during initialization. In this case data binding will occur when the change event of the data source is fired. By default the widget will bind to the DataSource specified in the configuration.Applicable only in data bound mode.
  5376. /// &#10;
  5377. /// &#10;bounceVelocityThreshold - Number (default: 1.6)
  5378. /// &#10;The velocity threshold after which a swipe will result in a bounce effect.
  5379. /// &#10;
  5380. /// &#10;contentHeight - Number|String (default: "auto")
  5381. /// &#10;The height of the ScrollView content. Supports 100% if the ScrollView is embedded in a stretched view and the ScrollView element is an immediate child of the view element.
  5382. /// &#10;
  5383. /// &#10;dataSource - kendo.data.DataSource|Object
  5384. /// &#10;Instance of DataSource that the mobile ScrollView will be bound to. If DataSource is set, the widget will operate in data bound mode.
  5385. /// &#10;
  5386. /// &#10;duration - Number (default: 400)
  5387. /// &#10;The milliseconds that take the ScrollView to snap to the current page after released.
  5388. /// &#10;
  5389. /// &#10;emptyTemplate - String (default: "")
  5390. /// &#10;The template which is used to render the pages without content. By default the ScrollView renders a blank page.Applicable only in data bound mode.
  5391. /// &#10;
  5392. /// &#10;enablePager - Boolean (default: true)
  5393. /// &#10;If set to true the ScrollView will display a pager. By default pager is enabled.
  5394. /// &#10;
  5395. /// &#10;itemsPerPage - Number (default: 1)
  5396. /// &#10;Determines how many data items will be passed to the page template.Applicable only in data bound mode.
  5397. /// &#10;
  5398. /// &#10;page - Number (default: 0)
  5399. /// &#10;The initial page to display.
  5400. /// &#10;
  5401. /// &#10;pageSize - Number (default: 1)
  5402. /// &#10;Multiplier applied to the snap amount of the ScrollView. By default, the widget scrolls to the next screen when swipe. If the pageSize property is set to 0.5, the ScrollView will scroll by half of the widget width.Not applicable in data bound mode.
  5403. /// &#10;
  5404. /// &#10;template - String (default: "#:data#")
  5405. /// &#10;The template which is used to render the content of pages. By default the ScrollView renders a div element for every page.Applicable only in data bound mode.
  5406. /// &#10;
  5407. /// &#10;velocityThreshold - Number (default: 0.8)
  5408. /// &#10;The velocity threshold after which a swipe will navigate to the next page (as opposed to snapping back to the current page).
  5409. /// &#10;
  5410. /// </summary>
  5411. /// <param name="options" type="Object">
  5412. /// The widget configuration options
  5413. /// </param>
  5414. };
  5415. kendo.mobile.ui.Scroller = function() { };
  5416. kendo.mobile.ui.Scroller.prototype = {
  5417. animatedScrollTo: function(x,y) {
  5418. /// <summary>
  5419. /// Scrolls the scroll container to the specified location with animation. The arguments should be negative numbers.
  5420. /// </summary>
  5421. /// <param name="x" type="Number" >The horizontal offset in pixels to scroll to.</param>
  5422. /// <param name="y" type="Number" >The vertical offset in pixels to scroll to.</param>
  5423. },
  5424. contentResized: function() {
  5425. /// <summary>
  5426. /// Updates the scroller dimensions. Should be called after the contents of the scroller update their size
  5427. /// </summary>
  5428. },
  5429. destroy: function() {
  5430. /// <summary>
  5431. /// Prepares the Scroller for safe removal from DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets.
  5432. /// </summary>
  5433. },
  5434. disable: function() {
  5435. /// <summary>
  5436. /// Disables the scrolling of the element.
  5437. /// </summary>
  5438. },
  5439. enable: function() {
  5440. /// <summary>
  5441. /// Enables the scrolling of the element after it has been disabled by calling disable.
  5442. /// </summary>
  5443. },
  5444. height: function() {
  5445. /// <summary>
  5446. /// Returns the viewport height of the scrollable element.
  5447. /// </summary>
  5448. /// <returns type="Number">the viewport height in pixels.</returns>
  5449. },
  5450. pullHandled: function() {
  5451. /// <summary>
  5452. /// Indicate that the pull event is handled (i.e. data from the server has been retrieved).
  5453. /// </summary>
  5454. },
  5455. reset: function() {
  5456. /// <summary>
  5457. /// Scrolls the container to the top.
  5458. /// </summary>
  5459. },
  5460. scrollHeight: function() {
  5461. /// <summary>
  5462. /// Returns the height in pixels of the scroller content.
  5463. /// </summary>
  5464. },
  5465. scrollTo: function(x,y) {
  5466. /// <summary>
  5467. /// Scrolls the container to the specified location. The arguments should be negative numbers.
  5468. /// </summary>
  5469. /// <param name="x" type="Number" >The horizontal offset in pixels to scroll to.</param>
  5470. /// <param name="y" type="Number" >The vertical offset in pixels to scroll to.</param>
  5471. },
  5472. scrollWidth: function() {
  5473. /// <summary>
  5474. /// Returns the width in pixels of the scroller content.
  5475. /// </summary>
  5476. },
  5477. zoomOut: function() {
  5478. /// <summary>
  5479. /// Zooms the scroller out to the minimum zoom level possible.
  5480. /// </summary>
  5481. },
  5482. bind: function(event, callback) {
  5483. /// <summary>
  5484. /// Binds to a widget event.
  5485. /// </summary>
  5486. /// <param name="event" type="String">The event name</param>
  5487. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  5488. },
  5489. unbind: function(event, callback) {
  5490. /// <summary>
  5491. /// Unbinds a callback from a widget event.
  5492. /// </summary>
  5493. /// <param name="event" type="String">The event name</param>
  5494. /// <param name="callback" type="Function">The callback to be removed.</param>
  5495. }
  5496. };
  5497. $.fn.getKendoMobileScroller = function() {
  5498. /// <summary>
  5499. /// Returns a reference to the kendo.mobile.ui.Scroller widget, instantiated on the selector.
  5500. /// </summary>
  5501. /// <returns type="kendo.mobile.ui.Scroller">The kendo.mobile.ui.Scroller instance (if present).</returns>
  5502. };
  5503. $.fn.kendoMobileScroller = function(options) {
  5504. /// <summary>
  5505. /// Instantiates a kendo.mobile.ui.Scroller widget based the DOM elements that match the selector.
  5506. /// &#10;Accepts an object with the following configuration options:
  5507. /// &#10;
  5508. /// &#10;elastic - Boolean (default: true)
  5509. /// &#10;Whether or not to allow out of bounds dragging and easing.
  5510. /// &#10;
  5511. /// &#10;messages - Object
  5512. /// &#10;Defines the text of the Scroller pull to refresh messages. Used primary for localization.
  5513. /// &#10;
  5514. /// &#10;pullOffset - Number (default: 140)
  5515. /// &#10;The threshold below which releasing the scroller will trigger the pull event. Has effect only when the pullToRefresh option is set to true.
  5516. /// &#10;
  5517. /// &#10;pullToRefresh - Boolean (default: false)
  5518. /// &#10;If set to true, the scroller will display a hint when the user pulls the container beyond its top limit. If a pull beyond the specified pullOffset occurs, a pull event will be triggered.
  5519. /// &#10;
  5520. /// &#10;useNative - Boolean (default: false)
  5521. /// &#10;If set to true, the scroller will use the native scrolling available in the current platform. This should help with form issues on some platforms (namely Android and WP8). Native scrolling is only enabled on platforms that support it: iOS > 4, Android > 2, WP8. BlackBerry devices do support it, but the native scroller is flaky.
  5522. /// &#10;
  5523. /// &#10;visibleScrollHints - Boolean (default: false)
  5524. /// &#10;If set to true, the scroller scroll hints will always be displayed.
  5525. /// &#10;
  5526. /// &#10;zoom - Boolean (default: false)
  5527. /// &#10;If set to true, the user can zoom in/out the contents of the widget using the pinch/zoom gesture.
  5528. /// &#10;
  5529. /// </summary>
  5530. /// <param name="options" type="Object">
  5531. /// The widget configuration options
  5532. /// </param>
  5533. };
  5534. kendo.mobile.ui.SplitView = function() { };
  5535. kendo.mobile.ui.SplitView.prototype = {
  5536. destroy: function() {
  5537. /// <summary>
  5538. /// Prepares the SplitView for safe removal from DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets.
  5539. /// </summary>
  5540. },
  5541. expandPanes: function() {
  5542. /// <summary>
  5543. /// Displays the collapsible panes; has effect only when the device is in portrait orientation.
  5544. /// </summary>
  5545. },
  5546. collapsePanes: function() {
  5547. /// <summary>
  5548. /// Collapses back the collapsible panes (displayed previously with expandPanes); has effect only when the device is in portrait orientation.
  5549. /// </summary>
  5550. },
  5551. bind: function(event, callback) {
  5552. /// <summary>
  5553. /// Binds to a widget event.
  5554. /// </summary>
  5555. /// <param name="event" type="String">The event name</param>
  5556. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  5557. },
  5558. unbind: function(event, callback) {
  5559. /// <summary>
  5560. /// Unbinds a callback from a widget event.
  5561. /// </summary>
  5562. /// <param name="event" type="String">The event name</param>
  5563. /// <param name="callback" type="Function">The callback to be removed.</param>
  5564. }
  5565. };
  5566. $.fn.getKendoMobileSplitView = function() {
  5567. /// <summary>
  5568. /// Returns a reference to the kendo.mobile.ui.SplitView widget, instantiated on the selector.
  5569. /// </summary>
  5570. /// <returns type="kendo.mobile.ui.SplitView">The kendo.mobile.ui.SplitView instance (if present).</returns>
  5571. };
  5572. $.fn.kendoMobileSplitView = function(options) {
  5573. /// <summary>
  5574. /// Instantiates a kendo.mobile.ui.SplitView widget based the DOM elements that match the selector.
  5575. /// &#10;Accepts an object with the following configuration options:
  5576. /// &#10;
  5577. /// &#10;style - String (default: "horizontal")
  5578. /// &#10;Defines the SplitView style - horizontal or vertical.
  5579. /// &#10;
  5580. /// </summary>
  5581. /// <param name="options" type="Object">
  5582. /// The widget configuration options
  5583. /// </param>
  5584. };
  5585. kendo.mobile.ui.Switch = function() { };
  5586. kendo.mobile.ui.Switch.prototype = {
  5587. check: function(check) {
  5588. /// <summary>
  5589. /// Get/Set the checked state of the widget.
  5590. /// </summary>
  5591. /// <param name="check" type="Boolean" >Whether to turn the widget on or off.</param>
  5592. /// <returns type="Boolean">The checked state of the widget.</returns>
  5593. },
  5594. destroy: function() {
  5595. /// <summary>
  5596. /// Prepares the Switch for safe removal from DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets.
  5597. /// </summary>
  5598. },
  5599. enable: function(enable) {
  5600. /// <summary>
  5601. /// Changes the enabled state of the widget.
  5602. /// </summary>
  5603. /// <param name="enable" type="Boolean" >Whether to enable or disable the widget.</param>
  5604. },
  5605. refresh: function() {
  5606. /// <summary>
  5607. /// Forces the Switch to recalculate its dimensions. Useful when major changes in the interface happen dynamically, like for instance changing the skin.
  5608. /// </summary>
  5609. },
  5610. toggle: function() {
  5611. /// <summary>
  5612. /// Toggle the checked state of the widget.
  5613. /// </summary>
  5614. },
  5615. bind: function(event, callback) {
  5616. /// <summary>
  5617. /// Binds to a widget event.
  5618. /// </summary>
  5619. /// <param name="event" type="String">The event name</param>
  5620. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  5621. },
  5622. unbind: function(event, callback) {
  5623. /// <summary>
  5624. /// Unbinds a callback from a widget event.
  5625. /// </summary>
  5626. /// <param name="event" type="String">The event name</param>
  5627. /// <param name="callback" type="Function">The callback to be removed.</param>
  5628. }
  5629. };
  5630. $.fn.getKendoMobileSwitch = function() {
  5631. /// <summary>
  5632. /// Returns a reference to the kendo.mobile.ui.Switch widget, instantiated on the selector.
  5633. /// </summary>
  5634. /// <returns type="kendo.mobile.ui.Switch">The kendo.mobile.ui.Switch instance (if present).</returns>
  5635. };
  5636. $.fn.kendoMobileSwitch = function(options) {
  5637. /// <summary>
  5638. /// Instantiates a kendo.mobile.ui.Switch widget based the DOM elements that match the selector.
  5639. /// &#10;Accepts an object with the following configuration options:
  5640. /// &#10;
  5641. /// &#10;checked - Boolean (default: false)
  5642. /// &#10;The checked state of the widget.
  5643. /// &#10;
  5644. /// &#10;enable - Boolean (default: true)
  5645. /// &#10;If set to false the widget will be disabled and will not allow the user to change its checked state. The widget is enabled by default.
  5646. /// &#10;
  5647. /// &#10;offLabel - String (default: "OFF")
  5648. /// &#10;The OFF label.
  5649. /// &#10;
  5650. /// &#10;onLabel - String (default: "ON")
  5651. /// &#10;The ON label.
  5652. /// &#10;
  5653. /// </summary>
  5654. /// <param name="options" type="Object">
  5655. /// The widget configuration options
  5656. /// </param>
  5657. };
  5658. kendo.mobile.ui.TabStrip = function() { };
  5659. kendo.mobile.ui.TabStrip.prototype = {
  5660. badge: function(tab,value) {
  5661. /// <summary>
  5662. /// Introduced in Q1 2013 SP Sets a badge on one of the tabs with the specified value. If invoked without second parameter, returns the tab's current badge value. Set the value to false to remove the badge.
  5663. /// </summary>
  5664. /// <param name="tab" type="Object" >The target tab specified either as a jQuery selector/object or as an item index.</param>
  5665. /// <param name="value" type="Object" >The target value to be set or false to be removed.</param>
  5666. /// <returns type="String|kendo.mobile.ui.TabStrip">Returns the badge value if invoked without parameters, otherwise returns the TabStrip object.</returns>
  5667. },
  5668. currentItem: function() {
  5669. /// <summary>
  5670. /// Get the currently selected tab DOM element.
  5671. /// </summary>
  5672. /// <returns type="jQuery">the currently selected tab DOM element.</returns>
  5673. },
  5674. destroy: function() {
  5675. /// <summary>
  5676. /// Prepares the TabStrip for safe removal from DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets.
  5677. /// </summary>
  5678. },
  5679. switchTo: function(url) {
  5680. /// <summary>
  5681. /// Set the mobile TabStrip active tab to the tab with the specified URL. This method doesn't change the current View. To change the View, use Application's navigate method instead.
  5682. /// </summary>
  5683. /// <param name="url" type="Object" >The URL or zero based index of the tab.</param>
  5684. },
  5685. switchByFullUrl: function(url) {
  5686. /// <summary>
  5687. /// Set the mobile TabStrip active tab to the tab with the specified full URL. This method doesn't change the current View. To change the View, use Application's navigate method instead.
  5688. /// </summary>
  5689. /// <param name="url" type="String" >The URL of the tab.</param>
  5690. },
  5691. clear: function() {
  5692. /// <summary>
  5693. /// Clear the currently selected tab.
  5694. /// </summary>
  5695. },
  5696. bind: function(event, callback) {
  5697. /// <summary>
  5698. /// Binds to a widget event.
  5699. /// </summary>
  5700. /// <param name="event" type="String">The event name</param>
  5701. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  5702. },
  5703. unbind: function(event, callback) {
  5704. /// <summary>
  5705. /// Unbinds a callback from a widget event.
  5706. /// </summary>
  5707. /// <param name="event" type="String">The event name</param>
  5708. /// <param name="callback" type="Function">The callback to be removed.</param>
  5709. }
  5710. };
  5711. $.fn.getKendoMobileTabStrip = function() {
  5712. /// <summary>
  5713. /// Returns a reference to the kendo.mobile.ui.TabStrip widget, instantiated on the selector.
  5714. /// </summary>
  5715. /// <returns type="kendo.mobile.ui.TabStrip">The kendo.mobile.ui.TabStrip instance (if present).</returns>
  5716. };
  5717. $.fn.kendoMobileTabStrip = function(options) {
  5718. /// <summary>
  5719. /// Instantiates a kendo.mobile.ui.TabStrip widget based the DOM elements that match the selector.
  5720. /// &#10;Accepts an object with the following configuration options:
  5721. /// &#10;
  5722. /// &#10;selectedIndex - Number (default: 0)
  5723. /// &#10;The index of the initially selected tab.
  5724. /// &#10;
  5725. /// </summary>
  5726. /// <param name="options" type="Object">
  5727. /// The widget configuration options
  5728. /// </param>
  5729. };
  5730. kendo.mobile.ui.View = function() { };
  5731. kendo.mobile.ui.View.prototype = {
  5732. contentElement: function() {
  5733. /// <summary>
  5734. /// Retrieves the current content holder of the View - this is the content element if the View is stretched or the scroll container otherwise.
  5735. /// </summary>
  5736. },
  5737. destroy: function() {
  5738. /// <summary>
  5739. /// Prepares the View for safe removal from DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets.
  5740. /// </summary>
  5741. },
  5742. enable: function(enable) {
  5743. /// <summary>
  5744. /// Enables or disables the user interaction with the view and its contents.
  5745. /// </summary>
  5746. /// <param name="enable" type="Boolean" >Omitting the parameter or passing true enables the view. Passing false disables the view.</param>
  5747. },
  5748. bind: function(event, callback) {
  5749. /// <summary>
  5750. /// Binds to a widget event.
  5751. /// </summary>
  5752. /// <param name="event" type="String">The event name</param>
  5753. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  5754. },
  5755. unbind: function(event, callback) {
  5756. /// <summary>
  5757. /// Unbinds a callback from a widget event.
  5758. /// </summary>
  5759. /// <param name="event" type="String">The event name</param>
  5760. /// <param name="callback" type="Function">The callback to be removed.</param>
  5761. }
  5762. };
  5763. $.fn.getKendoMobileView = function() {
  5764. /// <summary>
  5765. /// Returns a reference to the kendo.mobile.ui.View widget, instantiated on the selector.
  5766. /// </summary>
  5767. /// <returns type="kendo.mobile.ui.View">The kendo.mobile.ui.View instance (if present).</returns>
  5768. };
  5769. $.fn.kendoMobileView = function(options) {
  5770. /// <summary>
  5771. /// Instantiates a kendo.mobile.ui.View widget based the DOM elements that match the selector.
  5772. /// &#10;Accepts an object with the following configuration options:
  5773. /// &#10;
  5774. /// &#10;model - String (default: null)
  5775. /// &#10;The MVVM model to bind to. If a string is passed, The view will try to resolve a reference to the view model variable in the global scope.
  5776. /// &#10;
  5777. /// &#10;reload - Boolean (default: false)
  5778. /// &#10;Applicable to remote views only. If set to true, the remote view contents will be reloaded from the server (using Ajax) each time the view is navigated to.
  5779. /// &#10;
  5780. /// &#10;scroller - Object (default: null)
  5781. /// &#10;Configuration options to be passed to the scroller instance instantiated by the view. For more details, check the scroller configuration options.
  5782. /// &#10;
  5783. /// &#10;stretch - Boolean (default: false)
  5784. /// &#10;If set to true, the view will stretch its child contents to occupy the entire view, while disabling kinetic scrolling. Useful if the view contains an image or a map.
  5785. /// &#10;
  5786. /// &#10;title - String
  5787. /// &#10;The text to display in the NavBar title (if present) and the browser title.
  5788. /// &#10;
  5789. /// &#10;useNativeScrolling - Boolean (default: false)
  5790. /// &#10;If set to true, the view will use the native scrolling available in the current platform. This should help with form issues on some platforms (namely Android and WP8). Native scrolling is only enabled on platforms that support it: iOS > 5+, Android > 3+, WP8. BlackBerry devices do support it, but the native scroller is flaky.
  5791. /// &#10;
  5792. /// &#10;zoom - Boolean (default: false)
  5793. /// &#10;If set to true, the user can zoom in/out the contents of the view using the pinch/zoom gesture.
  5794. /// &#10;
  5795. /// </summary>
  5796. /// <param name="options" type="Object">
  5797. /// The widget configuration options
  5798. /// </param>
  5799. };
  5800. kendo.mobile.ui.Widget = function() { };
  5801. kendo.mobile.ui.Widget.prototype = {
  5802. view: function() {
  5803. /// <summary>
  5804. /// Returns the kendo.mobile.ui.View which contains the widget. If the widget is contained in a splitview, modalview, or drawer, the respective widget instance is returned.
  5805. /// </summary>
  5806. },
  5807. bind: function(event, callback) {
  5808. /// <summary>
  5809. /// Binds to a widget event.
  5810. /// </summary>
  5811. /// <param name="event" type="String">The event name</param>
  5812. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  5813. },
  5814. unbind: function(event, callback) {
  5815. /// <summary>
  5816. /// Unbinds a callback from a widget event.
  5817. /// </summary>
  5818. /// <param name="event" type="String">The event name</param>
  5819. /// <param name="callback" type="Function">The callback to be removed.</param>
  5820. }
  5821. };
  5822. $.fn.getKendoMobileWidget = function() {
  5823. /// <summary>
  5824. /// Returns a reference to the kendo.mobile.ui.Widget widget, instantiated on the selector.
  5825. /// </summary>
  5826. /// <returns type="kendo.mobile.ui.Widget">The kendo.mobile.ui.Widget instance (if present).</returns>
  5827. };
  5828. $.fn.kendoMobileWidget = function(options) {
  5829. /// <summary>
  5830. /// Instantiates a kendo.mobile.ui.Widget widget based the DOM elements that match the selector.
  5831. /// &#10;Accepts an object with the following configuration options:
  5832. /// &#10;
  5833. /// </summary>
  5834. /// <param name="options" type="Object">
  5835. /// The widget configuration options
  5836. /// </param>
  5837. };
  5838. kendo.ooxml.Workbook = function() { };
  5839. kendo.ooxml.Workbook.prototype = {
  5840. toDataURL: function() {
  5841. /// <summary>
  5842. /// Creates an Excel file that represents the current workbook and returns it as a data URL.
  5843. /// </summary>
  5844. /// <returns type="String">- the Excel file as data URL.</returns>
  5845. },
  5846. toDataURLAsync: function() {
  5847. /// <summary>
  5848. /// Creates an Excel file that represents the current workbook and returns a Promise that is resolved with the data URL.
  5849. /// </summary>
  5850. /// <returns type="Promise">- A promise that will be resolved with the Excel file as data URL.</returns>
  5851. },
  5852. bind: function(event, callback) {
  5853. /// <summary>
  5854. /// Binds to a widget event.
  5855. /// </summary>
  5856. /// <param name="event" type="String">The event name</param>
  5857. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  5858. },
  5859. unbind: function(event, callback) {
  5860. /// <summary>
  5861. /// Unbinds a callback from a widget event.
  5862. /// </summary>
  5863. /// <param name="event" type="String">The event name</param>
  5864. /// <param name="callback" type="Function">The callback to be removed.</param>
  5865. }
  5866. };
  5867. $.fn.getKendoWorkbook = function() {
  5868. /// <summary>
  5869. /// Returns a reference to the kendo.ooxml.Workbook widget, instantiated on the selector.
  5870. /// </summary>
  5871. /// <returns type="kendo.ooxml.Workbook">The kendo.ooxml.Workbook instance (if present).</returns>
  5872. };
  5873. $.fn.kendoWorkbook = function(options) {
  5874. /// <summary>
  5875. /// Instantiates a kendo.ooxml.Workbook widget based the DOM elements that match the selector.
  5876. /// &#10;Accepts an object with the following configuration options:
  5877. /// &#10;
  5878. /// &#10;creator - String (default: "Kendo UI")
  5879. /// &#10;The creator of the workbook.
  5880. /// &#10;
  5881. /// &#10;date - Date
  5882. /// &#10;The date when the workbook is created. Defaults to new Date().
  5883. /// &#10;
  5884. /// &#10;rtl - Boolean (default: false)
  5885. /// &#10;Sets the direction of the workbook. By default, the direction is left-to-right.
  5886. /// &#10;
  5887. /// &#10;sheets - Array
  5888. /// &#10;The sheets of the workbook. Every sheet represents a page from the final Excel file.
  5889. /// &#10;
  5890. /// </summary>
  5891. /// <param name="options" type="Object">
  5892. /// The widget configuration options
  5893. /// </param>
  5894. };
  5895. if (!kendo.pdf) {
  5896. kendo.pdf = {};
  5897. }
  5898. if (!kendo.timezone) {
  5899. kendo.timezone = {};
  5900. }
  5901. kendo.ui.Touch = function() { };
  5902. kendo.ui.Touch.prototype = {
  5903. cancel: function() {
  5904. /// <summary>
  5905. /// Cancels the current touch event sequence. Calling cancel in a touchstart or dragmove will disable subsequent move or tap/end/hold event handlers from being called.
  5906. /// </summary>
  5907. },
  5908. destroy: function() {
  5909. /// <summary>
  5910. /// Prepares the Touch for safe removal from DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets.
  5911. /// </summary>
  5912. },
  5913. bind: function(event, callback) {
  5914. /// <summary>
  5915. /// Binds to a widget event.
  5916. /// </summary>
  5917. /// <param name="event" type="String">The event name</param>
  5918. /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
  5919. },
  5920. unbind: function(event, callback) {
  5921. /// <summary>
  5922. /// Unbinds a callback from a widget event.
  5923. /// </summary>
  5924. /// <param name="event" type="String">The event name</param>
  5925. /// <param name="callback" type="Function">The callback to be removed.</param>
  5926. }
  5927. };
  5928. $.fn.getKendoTouch = function() {
  5929. /// <summary>
  5930. /// Returns a reference to the kendo.ui.Touch widget, instantiated on the selector.
  5931. /// </summary>
  5932. /// <returns type="kendo.ui.Touch">The kendo.ui.Touch instance (if present).</returns>
  5933. };
  5934. $.fn.kendoTouch = function(options) {
  5935. /// <summary>
  5936. /// Instantiates a kendo.ui.Touch widget based the DOM elements that match the selector.
  5937. /// &#10;Accepts an object with the following configuration options:
  5938. /// &#10;
  5939. /// &#10;filter - String
  5940. /// &#10;jQuery selector that specifies child elements that are touchable if a widget is attached to a container.
  5941. /// &#10;
  5942. /// &#10;surface - jQuery (default: null)
  5943. /// &#10;If specified, the user drags will be tracked within the surface boundaries. This option is useful if the widget is instantiated on small DOM elements like buttons, or thin list items.
  5944. /// &#10;
  5945. /// &#10;multiTouch - Boolean (default: false)
  5946. /// &#10;If set to true, the widget will capture and trigger the gesturestart, gesturechange, and gestureend events when the user touches the element with two fingers.
  5947. /// &#10;
  5948. /// &#10;enableSwipe - Boolean (default: false)
  5949. /// &#10;If set to true, the Touch widget will recognize horizontal swipes and trigger the swipe event.Notice: if the enableSwipe option is set to true, the dragstart, drag and dragend events will not be triggered.
  5950. /// &#10;
  5951. /// &#10;minXDelta - Number (default: 30)
  5952. /// &#10;The minimum horizontal distance in pixels the user should swipe before the swipe event is triggered.
  5953. /// &#10;
  5954. /// &#10;maxYDelta - Number (default: 20)
  5955. /// &#10;The maximum vertical deviation in pixels of the swipe event. Swipes with higher deviation are discarded.
  5956. /// &#10;
  5957. /// &#10;maxDuration - Number (default: 1000)
  5958. /// &#10;The maximum amount of time in milliseconds the swipe event can last. Slower swipes are discarded.
  5959. /// &#10;
  5960. /// &#10;minHold - Number (default: 800)
  5961. /// &#10;The timeout in milliseconds before the hold event is fired.Notice: the hold event will be triggered after the time passes, not after the user lifts his/hers finger.
  5962. /// &#10;
  5963. /// &#10;doubleTapTimeout - Number (default: 400)
  5964. /// &#10;The maximum period (in milliseconds) between two consecutive taps which will trigger the doubletap event.
  5965. /// &#10;
  5966. /// </summary>
  5967. /// <param name="options" type="Object">
  5968. /// The widget configuration options
  5969. /// </param>
  5970. };