1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963 |
- /* global intellisense */
- // jshint unused: false
- intellisense.annotate(kendo, {
- Class: function() {
- /// <signature>
- /// <summary>Constructor of kendo.Class</summary>
- /// </signature>
- }
- });
- kendo.Class = (function() {
- var original = kendo.Class;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo, {
- Color: function() {
- /// <signature>
- /// <summary>Constructor of kendo.Color</summary>
- /// </signature>
- }
- });
- kendo.Color = (function() {
- var original = kendo.Color;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- diff: function() {
- /// <signature>
- /// <summary>
- /// Computes the relative luminance between two colors.
- /// </summary>
- /// <returns type="Number">The relative luminance.</returns>
- /// </signature>
- },
- equals: function() {
- /// <signature>
- /// <summary>
- /// Compares two color objects for equality.
- /// </summary>
- /// <returns type="Boolean">returns true if the two colors are the same. Otherwise, false</returns>
- /// </signature>
- },
- toHSV: function() {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// <returns type="Object">An object with h, s, v and a fields.</returns>
- /// </signature>
- },
- toRGB: function() {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// <returns type="Object">An object with r, g, b and a fields.</returns>
- /// </signature>
- },
- toBytes: function() {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// <returns type="Object">An object with r, g and b fields.</returns>
- /// </signature>
- },
- toHex: function() {
- /// <signature>
- /// <summary>
- /// Returns a string in "FF0000" form (without a leading #).
- /// </summary>
- /// <returns type="String">The color in hex notation.</returns>
- /// </signature>
- },
- toCss: function() {
- /// <signature>
- /// <summary>
- /// Like toHex, but includes a leading #.
- /// </summary>
- /// <returns type="String">The color in CSS notation.</returns>
- /// </signature>
- },
- toCssRgba: function() {
- /// <signature>
- /// <summary>
- /// Returns the color in RGBA notation (includes the opacity).
- /// </summary>
- /// <returns type="String">The color in RGBA notation.</returns>
- /// </signature>
- },
- toDisplay: function() {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// <returns type="String">The color in the best notation supported by the current browser.</returns>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo, {
- Layout: function() {
- /// <signature>
- /// <summary>Constructor of kendo.Layout</summary>
- /// </signature>
- }
- });
- kendo.Layout = (function() {
- var original = kendo.Layout;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- showIn: function(container,view,transitionClass) {
- /// <signature>
- /// <summary>
- /// Renders the View element in the element specified by the selector
- /// </summary>
- /// <param name="container" type="String" >The selector of the container in which the view element will be appended.</param>
- /// <param name="view" type="kendo.View" >The view instance that will be rendered.</param>
- /// <param name="transitionClass" type="string" >Optional. If provided, the new view will replace the current one with a replace effect.</param>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo, {
- Observable: function() {
- /// <signature>
- /// <summary>Constructor of kendo.Observable</summary>
- /// </signature>
- }
- });
- kendo.Observable = (function() {
- var original = kendo.Observable;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- bind: function(eventName,handler) {
- /// <signature>
- /// <summary>
- /// Attaches a handler to an event.
- /// </summary>
- /// <param name="eventName" type="String" >The name of the event.</param>
- /// <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>
- /// </signature>
- },
- one: function(eventName,handler) {
- /// <signature>
- /// <summary>
- /// Attaches a handler to an event. The handler is executed only once.
- /// </summary>
- /// <param name="eventName" type="String" >The name of the event.</param>
- /// <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>
- /// </signature>
- },
- trigger: function(eventName,eventData) {
- /// <signature>
- /// <summary>
- /// Executes all handlers attached to the given event.
- /// </summary>
- /// <param name="eventName" type="String" >The name of the event to trigger.</param>
- /// <param name="eventData" type="Object" >Optional event data which will be passed as an argument to the event handlers.</param>
- /// </signature>
- },
- unbind: function(eventName,handler) {
- /// <signature>
- /// <summary>
- /// Remove a previously attached event handler.
- /// </summary>
- /// <param name="eventName" type="String" >The name of the event. If not specified all handlers of all events will be removed.</param>
- /// <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>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo, {
- Router: function() {
- /// <signature>
- /// <summary>Constructor of kendo.Router</summary>
- /// </signature>
- }
- });
- kendo.Router = (function() {
- var original = kendo.Router;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- start: function() {
- /// <signature>
- /// <summary>
- /// Activates the router binding to the URL changes.
- /// </summary>
- /// </signature>
- },
- route: function(route,callback) {
- /// <signature>
- /// <summary>
- ///
- /// </summary>
- /// <param name="route" type="String" >The route definition.</param>
- /// <param name="callback" type="Function" >The callback to be executed when the route is matched.</param>
- /// </signature>
- },
- navigate: function(route,silent) {
- /// <signature>
- /// <summary>
- /// Navigates to the given route.
- /// </summary>
- /// <param name="route" type="String" >The route to navigate to.</param>
- /// <param name="silent" type="Boolean" >If set to true, the router callbacks will not be called.</param>
- /// </signature>
- },
- replace: function(route,silent) {
- /// <signature>
- /// <summary>
- /// Navigates to the given route, replacing the current view in the history stack (like window.history.replaceState or location.replace work).
- /// </summary>
- /// <param name="route" type="String" >The route to navigate to.</param>
- /// <param name="silent" type="Boolean" >If set to true, the router callbacks will not be called.</param>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Unbinds the router instance listeners from the URL fragment part changes.
- /// </summary>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo, {
- View: function() {
- /// <signature>
- /// <summary>Constructor of kendo.View</summary>
- /// </signature>
- }
- });
- kendo.View = (function() {
- var original = kendo.View;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- destroy: function() {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// </signature>
- },
- render: function(container) {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// <param name="container" type="jQuery" >(optional) the element in which the view element will be appended.</param>
- /// <returns type="jQuery">the view element.</returns>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.data, {
- Binder: function() {
- /// <signature>
- /// <summary>Constructor of kendo.data.Binder</summary>
- /// </signature>
- }
- });
- kendo.data.Binder = (function() {
- var original = kendo.data.Binder;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- refresh: function() {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.data, {
- DataSource: function() {
- /// <signature>
- /// <summary>Constructor of kendo.data.DataSource</summary>
- /// </signature>
- }
- });
- kendo.data.DataSource = (function() {
- var original = kendo.data.DataSource;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- add: function(model) {
- /// <signature>
- /// <summary>
- /// Appends a data item to the data source.
- /// </summary>
- /// <param name="model" type="Object" >Either a kendo.data.Model instance or JavaScript object containing the data item field values.</param>
- /// <returns type="kendo.data.Model">—The data item which is inserted.</returns>
- /// </signature>
- },
- aggregate: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the aggregate configuration.
- /// </summary>
- /// <param name="value" type="Object" >The aggregate configuration. Accepts the same values as the aggregate option.</param>
- /// <returns type="Array">—The current aggregate configuration.</returns>
- /// </signature>
- },
- aggregates: function() {
- /// <signature>
- /// <summary>
- /// Returns the aggregate results.
- /// </summary>
- /// <returns type="Object">—The aggregate results. There is a key for every aggregated field.</returns>
- /// </signature>
- },
- at: function(index) {
- /// <signature>
- /// <summary>
- /// Returns the data item at the specified index. The index is zero-based.
- /// </summary>
- /// <param name="index" type="Number" >The zero-based index of the data item.</param>
- /// <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>
- /// </signature>
- },
- cancelChanges: function(model) {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// <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>
- /// </signature>
- },
- data: function(value) {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// <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>
- /// <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>
- /// </signature>
- },
- fetch: function(callback) {
- /// <signature>
- /// <summary>
- /// 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).
- /// </summary>
- /// <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>
- /// <returns type="Promise">—A promise that will be resolved when the data has been loaded, or rejected if an HTTP error occurs.</returns>
- /// </signature>
- },
- filter: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the filter configuration.
- /// </summary>
- /// <param name="value" type="Object" >The filter configuration. Accepts the same values as the filter option (check there for more examples).</param>
- /// <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>
- /// </signature>
- },
- get: function(id) {
- /// <signature>
- /// <summary>
- /// Gets the data item (model) with the specified id.
- /// </summary>
- /// <param name="id" type="Object" >The id of the model to look for.</param>
- /// <returns type="kendo.data.Model">—The model instance. Returns undefined if a model with the specified id is not found.</returns>
- /// </signature>
- },
- getByUid: function(uid) {
- /// <signature>
- /// <summary>
- /// Gets the data item (model) with the specified uid.
- /// </summary>
- /// <param name="uid" type="String" >The uid of the model to look for.</param>
- /// <returns type="kendo.data.ObservableObject">—The model instance. Returns undefined if a model with the specified uid is not found.</returns>
- /// </signature>
- },
- group: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the grouping configuration.
- /// </summary>
- /// <param name="value" type="Object" >The grouping configuration. Accepts the same values as the group option.</param>
- /// <returns type="Array">—The current grouping configuration.</returns>
- /// </signature>
- },
- hasChanges: function() {
- /// <signature>
- /// <summary>
- /// Checks if the data items have changed.
- /// </summary>
- /// <returns type="Boolean">—Returns true if the data items have changed. Otherwise, returns false.</returns>
- /// </signature>
- },
- indexOf: function(dataItem) {
- /// <signature>
- /// <summary>
- /// Gets the index of the specified data item.
- /// </summary>
- /// <param name="dataItem" type="kendo.data.ObservableObject" >The target data item.</param>
- /// <returns type="Number">—The index of the specified data item. Returns -1 if the data item is not found.</returns>
- /// </signature>
- },
- insert: function(index,model) {
- /// <signature>
- /// <summary>
- /// Inserts a data item in the data source at the specified index.
- /// </summary>
- /// <param name="index" type="Number" >The zero-based index at which the data item will be inserted.</param>
- /// <param name="model" type="Object" >Either a kendo.data.Model instance or a JavaScript object containing the field values.</param>
- /// <returns type="kendo.data.Model">—The data item which is inserted.</returns>
- /// </signature>
- },
- online: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the online state of the data source.
- /// </summary>
- /// <param name="value" type="Boolean" >The online state - true for online, false for offline.</param>
- /// <returns type="Boolean">—The current online state - true if online. Otherwise, false.</returns>
- /// </signature>
- },
- offlineData: function(data) {
- /// <signature>
- /// <summary>
- /// Gets or sets the offline state of the data source.
- /// </summary>
- /// <param name="data" type="Array" >The array of data items that replace the current offline state of the data source.</param>
- /// <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>
- /// </signature>
- },
- page: function(page) {
- /// <signature>
- /// <summary>
- /// Gets or sets the current page.
- /// </summary>
- /// <param name="page" type="Number" >The new page.</param>
- /// <returns type="Number">—The current page.</returns>
- /// </signature>
- },
- pageSize: function(size) {
- /// <signature>
- /// <summary>
- /// Gets or sets the current page size.
- /// </summary>
- /// <param name="size" type="Number" >The new page size.</param>
- /// <returns type="Number">—The current page size.</returns>
- /// </signature>
- },
- pushCreate: function(items) {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// <param name="items" type="Object" >The data item or data items to append to the data source.</param>
- /// </signature>
- },
- pushDestroy: function(items) {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// <param name="items" type="Object" >The data item or data items to remove from the data source.</param>
- /// </signature>
- },
- pushInsert: function(index,items) {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// <param name="index" type="Number" >The zero-based index at which the data item will be inserted.</param>
- /// <param name="items" type="Object" >The data item or data items to append to the data source.</param>
- /// </signature>
- },
- pushUpdate: function(items) {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// <param name="items" type="Object" >The data item or data items to update.</param>
- /// </signature>
- },
- query: function(options) {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// <param name="options" type="" >The query options which should be applied.</param>
- /// <returns type="Promise">—A promise that will be resolved when the data has been loaded or rejected if an HTTP error occurs.</returns>
- /// </signature>
- },
- read: function(data) {
- /// <signature>
- /// <summary>
- /// 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).
- /// </summary>
- /// <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>
- /// <returns type="Promise">—A promise that will be resolved when the data has been loaded or rejected if an HTTP error occurs.</returns>
- /// </signature>
- },
- remove: function(model) {
- /// <signature>
- /// <summary>
- /// Removes the specified data item from the data source.
- /// </summary>
- /// <param name="model" type="kendo.data.Model" >The data item which should be removed.</param>
- /// </signature>
- },
- skip: function() {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// <returns type="Number">—The current skip parameter.</returns>
- /// </signature>
- },
- sort: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the sort order which will be applied over the data items.
- /// </summary>
- /// <param name="value" type="Object" >The sort configuration. Accepts the same values as the sort option.</param>
- /// <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>
- /// </signature>
- },
- sync: function() {
- /// <signature>
- /// <summary>
- /// 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..
- /// </summary>
- /// <returns type="Promise">—A promise that will be resolved when all sync requests have finished successfully, or rejected if any single request fails.</returns>
- /// </signature>
- },
- total: function() {
- /// <signature>
- /// <summary>
- /// Gets the total number of data items. Uses schema.total if the transport.read option is set.
- /// </summary>
- /// <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>
- /// </signature>
- },
- totalPages: function() {
- /// <signature>
- /// <summary>
- /// Gets the number of available pages.
- /// </summary>
- /// <returns type="Number">—The available pages.</returns>
- /// </signature>
- },
- view: function() {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// <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>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.data, {
- GanttDataSource: function() {
- /// <signature>
- /// <summary>Constructor of kendo.data.GanttDataSource</summary>
- /// </signature>
- }
- });
- kendo.data.GanttDataSource = (function() {
- var original = kendo.data.GanttDataSource;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- taskAllChildren: function(task) {
- /// <signature>
- /// <summary>
- /// Returns a list of all child tasks. The search is recursive.
- /// </summary>
- /// <param name="task" type="kendo.data.GanttTask" >The parent task. If this parameter is not specified, all Gantt tasks will be returned.</param>
- /// <returns type="Array">—The list of all child tasks.</returns>
- /// </signature>
- },
- taskChildren: function(task) {
- /// <signature>
- /// <summary>
- /// Returns a list of all direct child tasks.
- /// </summary>
- /// <param name="task" type="kendo.data.GanttTask" >The parent task. If this parameter is not specified, all root-level tasks will be returned.</param>
- /// <returns type="Array">—The list of all direct child tasks.</returns>
- /// </signature>
- },
- taskLevel: function(task) {
- /// <signature>
- /// <summary>
- /// Returns the level of the task in the hierarchy. 0 for root-level tasks.
- /// </summary>
- /// <param name="task" type="kendo.data.GanttTask" >The reference task.</param>
- /// <returns type="Number">—The level of the task in the hierarchy.</returns>
- /// </signature>
- },
- taskParent: function(task) {
- /// <signature>
- /// <summary>
- /// Returns the parent task of a certain task.
- /// </summary>
- /// <param name="task" type="kendo.data.GanttTask" >The reference task.</param>
- /// <returns type="kendo.data.GanttTask">—The parent task.</returns>
- /// </signature>
- },
- taskSiblings: function(task) {
- /// <signature>
- /// <summary>
- /// Returns a list of all tasks that have the same parent.
- /// </summary>
- /// <param name="task" type="kendo.data.GanttTask" >The reference task.</param>
- /// <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>
- /// </signature>
- },
- taskTree: function(task) {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// <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>
- /// <returns type="Array">—The list of all child Gantt tasks, ordered by their hierarchical index (Depth-First).</returns>
- /// </signature>
- },
- update: function(task,taskInfo) {
- /// <signature>
- /// <summary>
- /// Updates a Gantt task.
- /// </summary>
- /// <param name="task" type="kendo.data.GanttTask" >The task to be updated.</param>
- /// <param name="taskInfo" type="Object" >The new values which will be used to update the task.</param>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.data, {
- GanttDependency: function() {
- /// <signature>
- /// <summary>Constructor of kendo.data.GanttDependency</summary>
- /// </signature>
- }
- });
- kendo.data.GanttDependency = (function() {
- var original = kendo.data.GanttDependency;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- define: function(options) {
- /// <signature>
- /// <summary>
- /// Defines a new GanttDependency type using the provided options.
- /// </summary>
- /// <param name="options" type="" >Describes the configuration options of the new Gantt dependency class.</param>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.data, {
- GanttDependencyDataSource: function() {
- /// <signature>
- /// <summary>Constructor of kendo.data.GanttDependencyDataSource</summary>
- /// </signature>
- }
- });
- kendo.data.GanttDependencyDataSource = (function() {
- var original = kendo.data.GanttDependencyDataSource;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- dependencies: function(id) {
- /// <signature>
- /// <summary>
- /// Returns a list of all dependencies for a certain task.
- /// </summary>
- /// <param name="id" type="Object" >The id of the Gantt task based on which the dependencies are filtered.</param>
- /// <returns type="Array">—The list of all task dependencies.</returns>
- /// </signature>
- },
- predecessors: function(id) {
- /// <signature>
- /// <summary>
- /// Returns a list of all predecessor dependencies for a certain task.
- /// </summary>
- /// <param name="id" type="Object" >The id of the Gantt task based on which the dependencies are filtered.</param>
- /// <returns type="Array">—The list of all task predecessors.</returns>
- /// </signature>
- },
- successors: function(id) {
- /// <signature>
- /// <summary>
- /// Returns a list of all successor dependencies for a certain task.
- /// </summary>
- /// <param name="id" type="Object" >The id of the Gantt task, based on which the dependencies are filtered.</param>
- /// <returns type="Array">—The list of all task successors.</returns>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.data, {
- GanttTask: function() {
- /// <signature>
- /// <summary>Constructor of kendo.data.GanttTask</summary>
- /// </signature>
- }
- });
- kendo.data.GanttTask = (function() {
- var original = kendo.data.GanttTask;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- define: function(options) {
- /// <signature>
- /// <summary>
- /// Defines a new GanttTask type using the provided options.
- /// </summary>
- /// <param name="options" type="" >Describes the configuration options of the new Gantt task class.</param>
- /// </signature>
- },
- duration: function() {
- /// <signature>
- /// <summary>
- /// Returns the Gantt task length in milliseconds.
- /// </summary>
- /// <returns type="Number">—The length of the task.</returns>
- /// </signature>
- },
- isMilestone: function() {
- /// <signature>
- /// <summary>
- /// Checks whether the event has zero duration.
- /// </summary>
- /// <returns type="Boolean">—Returns true if the task start is equal to the task end.</returns>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.data, {
- HierarchicalDataSource: function() {
- /// <signature>
- /// <summary>Constructor of kendo.data.HierarchicalDataSource</summary>
- /// </signature>
- }
- });
- kendo.data.HierarchicalDataSource = (function() {
- var original = kendo.data.HierarchicalDataSource;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- filter: function(value) {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// <param name="value" type="Object" >The filter configuration. Accepts the same values as the filter option.</param>
- /// <returns type="Object">—The current filter configuration. Returns undefined if the DataSource instance has not performed filtering so far.</returns>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.data, {
- Model: function() {
- /// <signature>
- /// <summary>Constructor of kendo.data.Model</summary>
- /// </signature>
- }
- });
- kendo.data.Model = (function() {
- var original = kendo.data.Model;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- bind: function() {
- /// <signature>
- /// <summary>
- /// Attaches a handler to an event. For more information and examples, refer to the bind API reference.
- /// </summary>
- /// </signature>
- },
- define: function(options) {
- /// <signature>
- /// <summary>
- /// Defines a new Model type by using the provided options. The returned value inherits from the kendo.data.Model class.
- /// </summary>
- /// <param name="options" type="" >Describes the configuration options of the new model type.</param>
- /// </signature>
- },
- editable: function(field) {
- /// <signature>
- /// <summary>
- /// Determines if the specified field is editable or not.
- /// </summary>
- /// <param name="field" type="String" >The field that will be checked.</param>
- /// <returns type="Boolean">—Returns true if the field is editable. Otherwise, returns false.</returns>
- /// </signature>
- },
- get: function() {
- /// <signature>
- /// <summary>
- /// Gets the value of the specified field. Inherited from kendo.data.ObservableObject. For more information and examples, refer to the get API reference.
- /// </summary>
- /// </signature>
- },
- isNew: function() {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// <returns type="Boolean">—Returns true if the field is editable. Otherwise, returns false.</returns>
- /// </signature>
- },
- set: function() {
- /// <signature>
- /// <summary>
- /// Sets the value of the specified field. Inherited from kendo.data.ObservableObject. For more information and examples, refer to the set API reference.
- /// </summary>
- /// </signature>
- },
- toJSON: function() {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.data, {
- Node: function() {
- /// <signature>
- /// <summary>Constructor of kendo.data.Node</summary>
- /// </signature>
- }
- });
- kendo.data.Node = (function() {
- var original = kendo.data.Node;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- append: function(model) {
- /// <signature>
- /// <summary>
- /// Appends a new item to the children data source and initializes it if necessary.
- /// </summary>
- /// <param name="model" type="Object" >The data for the new item.</param>
- /// </signature>
- },
- level: function() {
- /// <signature>
- /// <summary>
- /// Gets the current nesting level of the node within the data source.
- /// </summary>
- /// <returns type="Number">—The zero-based level of the node.</returns>
- /// </signature>
- },
- load: function() {
- /// <signature>
- /// <summary>
- /// Loads the child nodes in the child data source and supplies the id of the Node to the request.
- /// </summary>
- /// </signature>
- },
- loaded: function() {
- /// <signature>
- /// <summary>
- /// Gets or sets the loaded flag of the Node. Setting the loaded flag to false allows the reloading of child items.
- /// </summary>
- /// </signature>
- },
- parentNode: function() {
- /// <signature>
- /// <summary>
- /// Gets the parent node.
- /// </summary>
- /// <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>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.data, {
- ObservableArray: function() {
- /// <signature>
- /// <summary>Constructor of kendo.data.ObservableArray</summary>
- /// </signature>
- }
- });
- kendo.data.ObservableArray = (function() {
- var original = kendo.data.ObservableArray;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- bind: function(eventName,handler) {
- /// <signature>
- /// <summary>
- /// Attaches an event handler for the specified event.
- /// </summary>
- /// <param name="eventName" type="String" >The name of the event.</param>
- /// <param name="handler" type="Function" >The function which will be invoked when the event is fired.</param>
- /// </signature>
- },
- join: function(separator) {
- /// <signature>
- /// <summary>
- /// Joins all items of an ObservableArray into a string. An equivalent of Array.prototype.join.
- /// </summary>
- /// <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>
- /// </signature>
- },
- parent: function() {
- /// <signature>
- /// <summary>
- /// Gets the parent of the array if such a parent exists.
- /// </summary>
- /// <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>
- /// </signature>
- },
- pop: function() {
- /// <signature>
- /// <summary>
- /// Removes the last item from an array and returns that item. An equivalent of Array.prototype.pop.
- /// </summary>
- /// <returns type="Object">—The item which was removed.</returns>
- /// </signature>
- },
- push: function() {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// <returns type="Number">—The new length of the array.</returns>
- /// </signature>
- },
- slice: function(begin,end) {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// <param name="begin" type="Number" >A zero-based index at which the extraction will start.</param>
- /// <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>
- /// </signature>
- },
- splice: function(index,howMany) {
- /// <signature>
- /// <summary>
- /// Changes an ObservableArray by adding new items while removing old items. An equivalent of Array.prototype.splice.
- /// </summary>
- /// <param name="index" type="Number" >An index at which the changing of the array will start.</param>
- /// <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>
- /// <returns type="Array">—Contains the removed items. The result of the splice method is not an instance of ObvservableArray.</returns>
- /// </signature>
- },
- shift: function() {
- /// <signature>
- /// <summary>
- /// Removes the first item from an ObvservableArray and returns that item. An equivalent of Array.prototype.shift.
- /// </summary>
- /// <returns type="Object">—The item which was removed.</returns>
- /// </signature>
- },
- toJSON: function() {
- /// <signature>
- /// <summary>
- /// Returns a JavaScript Array object which represents the contents of the ObservableArray.
- /// </summary>
- /// </signature>
- },
- unshift: function() {
- /// <signature>
- /// <summary>
- /// Adds one or more items to the beginning of an ObservableArray and returns the new length. An equivalent of Array.prototype.unshift.
- /// </summary>
- /// <returns type="Number">—The new length of the array.</returns>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.data, {
- ObservableObject: function() {
- /// <signature>
- /// <summary>Constructor of kendo.data.ObservableObject</summary>
- /// </signature>
- }
- });
- kendo.data.ObservableObject = (function() {
- var original = kendo.data.ObservableObject;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- bind: function() {
- /// <signature>
- /// <summary>
- /// Attaches a handler to an event. For more information and examples, refer to the bind API reference.
- /// </summary>
- /// </signature>
- },
- get: function(name) {
- /// <signature>
- /// <summary>
- /// Gets the value of the specified field.
- /// </summary>
- /// <param name="name" type="String" >The name of the field whose value will be returned.</param>
- /// <returns type="Object">—The value of the specified field.</returns>
- /// </signature>
- },
- parent: function() {
- /// <signature>
- /// <summary>
- /// Gets the parent of the object if such a parent exists.
- /// </summary>
- /// <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>
- /// </signature>
- },
- set: function(name,value) {
- /// <signature>
- /// <summary>
- /// Sets the value of the specified field.
- /// </summary>
- /// <param name="name" type="String" >The name of the field whose value will be returned.</param>
- /// <param name="value" type="Object" >The new value of the field.</param>
- /// </signature>
- },
- toJSON: function() {
- /// <signature>
- /// <summary>
- /// Creates a plain JavaScript object which contains all fields of the ObservableObject.
- /// </summary>
- /// <returns type="Object">—Contains only the fields of the ObservableObject.</returns>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.data, {
- PivotDataSource: function() {
- /// <signature>
- /// <summary>Constructor of kendo.data.PivotDataSource</summary>
- /// </signature>
- }
- });
- kendo.data.PivotDataSource = (function() {
- var original = kendo.data.PivotDataSource;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- axes: function() {
- /// <signature>
- /// <summary>
- /// Gets the parsed axes data.
- /// </summary>
- /// <returns type="Object">—The parsed axes data.</returns>
- /// </signature>
- },
- catalog: function(name) {
- /// <signature>
- /// <summary>
- /// Gets or sets the current catalog name.
- /// </summary>
- /// <param name="name" type="String" >The name of the catalog.</param>
- /// <returns type="String">—The current catalog name.</returns>
- /// </signature>
- },
- columns: function(val) {
- /// <signature>
- /// <summary>
- /// Gets or sets the columns configuration.
- /// </summary>
- /// <param name="val" type="Array" >The columns configuration. Accepts the same values as the columns option.</param>
- /// <returns type="Array">—The current columns configuration.</returns>
- /// </signature>
- },
- cube: function(name) {
- /// <signature>
- /// <summary>
- /// Gets or sets the current cube name.
- /// </summary>
- /// <param name="name" type="String" >The name of the cube.</param>
- /// <returns type="String">—The current cube name.</returns>
- /// </signature>
- },
- discover: function(options) {
- /// <signature>
- /// <summary>
- /// Starts the discover request with the specified options.
- /// </summary>
- /// <param name="options" type="String" >The options of the discover request.</param>
- /// <returns type="Object">—The deferred object.</returns>
- /// </signature>
- },
- expandColumn: function(path) {
- /// <signature>
- /// <summary>
- /// Expands a column tuple member that has children.
- /// </summary>
- /// <param name="path" type="Array" >The path that uniquely specifies the tuple member that needs to be expanded.</param>
- /// </signature>
- },
- expandRow: function(path) {
- /// <signature>
- /// <summary>
- /// Expands a row tuple member that has children.
- /// </summary>
- /// <param name="path" type="Array" >The path which uniquely specifies the tuple member that needs to be expanded.</param>
- /// </signature>
- },
- measures: function(val) {
- /// <signature>
- /// <summary>
- /// Gets or sets the measures configuration.
- /// </summary>
- /// <param name="val" type="Array" >The measures configuration. Accepts the same values as the measures option.</param>
- /// <returns type="Array">—The current measures configuration.</returns>
- /// </signature>
- },
- measuresAxis: function() {
- /// <signature>
- /// <summary>
- /// Gets the name of the axis on which the measures are displayed.
- /// </summary>
- /// <returns type="String">—The axis name.</returns>
- /// </signature>
- },
- rows: function(val) {
- /// <signature>
- /// <summary>
- /// Gets or sets the rows configuration.
- /// </summary>
- /// <param name="val" type="Array" >The rows configuration. Accepts the same values as the row option.</param>
- /// <returns type="Array">—The current rows configuration.</returns>
- /// </signature>
- },
- schemaCatalogs: function() {
- /// <signature>
- /// <summary>
- /// Requests the catalogs information.
- /// </summary>
- /// <returns type="Object">—The deferred object.</returns>
- /// </signature>
- },
- schemaCubes: function() {
- /// <signature>
- /// <summary>
- /// Requests the cubes schema information.
- /// </summary>
- /// <returns type="Object">—The deferred object.</returns>
- /// </signature>
- },
- schemaDimensions: function() {
- /// <signature>
- /// <summary>
- /// Requests the dimensions schema information.
- /// </summary>
- /// <returns type="Object">—The deferred object.</returns>
- /// </signature>
- },
- schemaHierarchies: function(dimensionName) {
- /// <signature>
- /// <summary>
- /// Requests the hierarchies schema information.
- /// </summary>
- /// <param name="dimensionName" type="String" >The name of the dimensions which is the "owner" of the hierarchy.</param>
- /// <returns type="Object">—The deferred object.</returns>
- /// </signature>
- },
- schemaLevels: function(hierarchyName) {
- /// <signature>
- /// <summary>
- /// Requests the levels schema information.
- /// </summary>
- /// <param name="hierarchyName" type="String" >The name of the hierarchy which is the "owner" of the level.</param>
- /// <returns type="Object">—The deferred object.</returns>
- /// </signature>
- },
- schemaMeasures: function() {
- /// <signature>
- /// <summary>
- /// Requests the measures schema information.
- /// </summary>
- /// <returns type="Object">—The deferred object.</returns>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.data, {
- Query: function() {
- /// <signature>
- /// <summary>Constructor of kendo.data.Query</summary>
- /// </signature>
- }
- });
- kendo.data.Query = (function() {
- var original = kendo.data.Query;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- toArray: function() {
- /// <signature>
- /// <summary>
- /// Returns the internal data collection
- /// </summary>
- /// <returns type="Array">Returns plain JavaScript array which represents the internal data collection</returns>
- /// </signature>
- },
- skip: function(count) {
- /// <signature>
- /// <summary>
- /// Skip a given amount it items
- /// </summary>
- /// <param name="count" type="Number" >The number of items that should be skipped</param>
- /// <returns type="kendo.data.Query">Returns a new instance of kendo.data.Query with the first count elements of the list skipped</returns>
- /// </signature>
- },
- take: function(count) {
- /// <signature>
- /// <summary>
- /// Take a given amount it items
- /// </summary>
- /// <param name="count" type="Number" >The number of items that should be taken</param>
- /// <returns type="kendo.data.Query">Returns a new instance of kendo.data.Query containing only the first count elements of the list</returns>
- /// </signature>
- },
- select: function(selector) {
- /// <signature>
- /// <summary>
- /// Maps over the data items
- /// </summary>
- /// <param name="selector" type="Function" >A function that is applied to each of the items</param>
- /// <returns type="kendo.data.Query">Returns a new instance of kendo.data.Query containing the mapped collection</returns>
- /// </signature>
- },
- order: function(selector) {
- /// <signature>
- /// <summary>
- /// Returns a copy of the list sorted according to the direction
- /// </summary>
- /// <param name="selector" type="" >The current sort configuration.</param>
- /// <returns type="kendo.data.Query">Returns a new instance of kendo.data.Query containing the sorted collection</returns>
- /// </signature>
- },
- filter: function(expression) {
- /// <signature>
- /// <summary>
- /// Returns a copy of the list filtered according to the expression
- /// </summary>
- /// <param name="expression" type="Object" >The filter configuration. Accepts the same values as the filter option (check there for more examples).</param>
- /// <returns type="kendo.data.Query">Returns a new instance of kendo.data.Query containing the filtered collection</returns>
- /// </signature>
- },
- groupBy: function(descriptor) {
- /// <signature>
- /// <summary>
- /// Returns a copy of the list grouped according to the descriptor
- /// </summary>
- /// <param name="descriptor" type="Object" >The grouping configuration. Accepts the same values as the group option.</param>
- /// <returns type="kendo.data.Query">Returns a new instance of kendo.data.Query containing the grouped collection</returns>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.data, {
- SchedulerDataSource: function() {
- /// <signature>
- /// <summary>Constructor of kendo.data.SchedulerDataSource</summary>
- /// </signature>
- }
- });
- kendo.data.SchedulerDataSource = (function() {
- var original = kendo.data.SchedulerDataSource;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- expand: function(start,end) {
- /// <signature>
- /// <summary>
- /// Expands all recurring events in the data and returns a list of events for a specific period.
- /// </summary>
- /// <param name="start" type="Date" >The start date of the period.</param>
- /// <param name="end" type="Date" >The end date of the period.</param>
- /// <returns type="Array">the expanded list of scheduler events filtered by the specified start/end period.</returns>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.data, {
- SchedulerEvent: function() {
- /// <signature>
- /// <summary>Constructor of kendo.data.SchedulerEvent</summary>
- /// </signature>
- }
- });
- kendo.data.SchedulerEvent = (function() {
- var original = kendo.data.SchedulerEvent;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- define: function(options) {
- /// <signature>
- /// <summary>
- /// Defines a new SchedulerEvent type using the provided options.
- /// </summary>
- /// <param name="options" type="" >Describes the configuration options of the new scheduler event class.</param>
- /// </signature>
- },
- clone: function(options,updateUid) {
- /// <signature>
- /// <summary>
- /// Clones the scheduler event.
- /// </summary>
- /// <param name="options" type="Object" >Additional options passed to the SchedulerEvent constructor.</param>
- /// <param name="updateUid" type="Boolean" >If you pass true the uid of the event will be updated.</param>
- /// <returns type="kendo.data.SchedulerEvent">the cloned scheduler event.</returns>
- /// </signature>
- },
- duration: function() {
- /// <signature>
- /// <summary>
- /// Returns the scheduler event length in milliseconds.
- /// </summary>
- /// <returns type="Number">the length of the event.</returns>
- /// </signature>
- },
- expand: function(start,end,timeZoneId) {
- /// <signature>
- /// <summary>
- /// Expands the event for a specific period based on the recurrenceRule option.
- /// </summary>
- /// <param name="start" type="Date" >The start date of the occurrence period.</param>
- /// <param name="end" type="Date" >The end date of the occurrence period.</param>
- /// <param name="timeZoneId" type="String" >The time zone ID used to convert the recurrence rule dates.</param>
- /// <returns type="Array">list of occurrences.</returns>
- /// </signature>
- },
- update: function(eventInfo) {
- /// <signature>
- /// <summary>
- /// Updates the scheduler event.
- /// </summary>
- /// <param name="eventInfo" type="Object" >The new values, which will be used to update the event.</param>
- /// </signature>
- },
- isMultiDay: function() {
- /// <signature>
- /// <summary>
- /// Checks whether the event is equal to or longer then twenty four hours.
- /// </summary>
- /// <returns type="Boolean">return true if event is equal to or longer then 24 hours.</returns>
- /// </signature>
- },
- isException: function() {
- /// <signature>
- /// <summary>
- /// Checks whether the event is a recurrence exception.
- /// </summary>
- /// <returns type="Boolean">return true if event is a recurrence exception.</returns>
- /// </signature>
- },
- isOccurrence: function() {
- /// <signature>
- /// <summary>
- /// Checks whether the event is an occurrence part of a recurring series.
- /// </summary>
- /// <returns type="Boolean">return true if event is an occurrence.</returns>
- /// </signature>
- },
- isRecurring: function() {
- /// <signature>
- /// <summary>
- /// Checks whether the event is part of a recurring series.
- /// </summary>
- /// <returns type="Boolean">return true if event is recurring.</returns>
- /// </signature>
- },
- isRecurrenceHead: function() {
- /// <signature>
- /// <summary>
- /// Checks whether the event is the head of a recurring series.
- /// </summary>
- /// <returns type="Boolean">return true if event is a recurrence head.</returns>
- /// </signature>
- },
- toOccurrence: function(options) {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// <param name="options" type="Object" >Additional options passed to the SchedulerEvent constructor.</param>
- /// <returns type="kendo.data.SchedulerEvent">the occurrence.</returns>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.data, {
- TreeListDataSource: function() {
- /// <signature>
- /// <summary>Constructor of kendo.data.TreeListDataSource</summary>
- /// </signature>
- }
- });
- kendo.data.TreeListDataSource = (function() {
- var original = kendo.data.TreeListDataSource;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- load: function(model) {
- /// <signature>
- /// <summary>
- /// Loads the child nodes of a model.
- /// </summary>
- /// <param name="model" type="kendo.data.TreeListModel" >The model that must be loaded.</param>
- /// <returns type="Promise">A promise that will be resolved when the child nodes have been loaded, or rejected if an HTTP error occurs.</returns>
- /// </signature>
- },
- childNodes: function(model) {
- /// <signature>
- /// <summary>
- /// Child nodes for model.
- /// </summary>
- /// <param name="model" type="kendo.data.TreeListModel" >The model whose children must be returned.</param>
- /// <returns type="Array">of the child items.</returns>
- /// </signature>
- },
- rootNodes: function() {
- /// <signature>
- /// <summary>
- /// Return all root nodes.
- /// </summary>
- /// <returns type="Array">of the root items.</returns>
- /// </signature>
- },
- parentNode: function(model) {
- /// <signature>
- /// <summary>
- /// The parent of given node.
- /// </summary>
- /// <param name="model" type="kendo.data.TreeListModel" >The model whose parent must be returned.</param>
- /// <returns type="kendo.data.TreeListModel">parent of the node.</returns>
- /// </signature>
- },
- level: function(model) {
- /// <signature>
- /// <summary>
- /// The hierarchical level of the node.
- /// </summary>
- /// <param name="model" type="kendo.data.TreeListModel" >The model whose level must be calculated.</param>
- /// <returns type="Number">the hierarchy level of the node.</returns>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.data, {
- TreeListModel: function() {
- /// <signature>
- /// <summary>Constructor of kendo.data.TreeListModel</summary>
- /// </signature>
- }
- });
- kendo.data.TreeListModel = (function() {
- var original = kendo.data.TreeListModel;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- loaded: function() {
- /// <signature>
- /// <summary>
- /// Gets or sets the loaded flag of the TreeList. Setting the loaded flag to false allows reloading of child items.
- /// </summary>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.drawing, {
- Arc: function() {
- /// <signature>
- /// <summary>Constructor of kendo.drawing.Arc</summary>
- /// </signature>
- }
- });
- kendo.drawing.Arc = (function() {
- var original = kendo.drawing.Arc;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- bbox: function() {
- /// <signature>
- /// <summary>
- /// Returns the bounding box of the element with transformations applied. Inherited from Element.bbox
- /// </summary>
- /// <returns type="kendo.geometry.Rect">The bounding box of the element with transformations applied.</returns>
- /// </signature>
- },
- clip: function(clip) {
- /// <signature>
- /// <summary>
- /// Gets or sets the element clipping path. Inherited from Element.clip
- /// </summary>
- /// <param name="clip" type="kendo.drawing.Path" >The element clipping path.</param>
- /// <returns type="kendo.drawing.Path">The current element clipping path.</returns>
- /// </signature>
- },
- clippedBBox: function() {
- /// <signature>
- /// <summary>
- /// Returns the bounding box of the element with clipping and transformations applied. Inherited from Element.clippedBBox
- /// </summary>
- /// <returns type="kendo.geometry.Rect">The bounding box of the element with clipping transformations applied.</returns>
- /// </signature>
- },
- containsPoint: function(point) {
- /// <signature>
- /// <summary>
- /// Returns true if the shape contains the specified point.
- /// </summary>
- /// <param name="point" type="kendo.geometry.Point" >The point that should be checked.</param>
- /// <returns type="Boolean">value indicating if the shape contains the point.</returns>
- /// </signature>
- },
- geometry: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the arc geometry.
- /// </summary>
- /// <param name="value" type="kendo.geometry.Arc" >The new geometry to use.</param>
- /// <returns type="kendo.geometry.Arc">The current arc geometry.</returns>
- /// </signature>
- },
- fill: function(color,opacity) {
- /// <signature>
- /// <summary>
- /// Sets the shape fill.
- /// </summary>
- /// <param name="color" type="String" >The fill color to set.</param>
- /// <param name="opacity" type="Number" >The fill opacity to set.</param>
- /// <returns type="kendo.drawing.Arc">The current instance to allow chaining.</returns>
- /// </signature>
- },
- opacity: function(opacity) {
- /// <signature>
- /// <summary>
- /// Gets or sets the element opacity. Inherited from Element.opacityIf set, the stroke and fill opacity will be multiplied by the element opacity.
- /// </summary>
- /// <param name="opacity" type="Number" >The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).</param>
- /// <returns type="Number">The current element opacity.</returns>
- /// </signature>
- },
- stroke: function(color,width,opacity) {
- /// <signature>
- /// <summary>
- /// Sets the shape stroke.
- /// </summary>
- /// <param name="color" type="String" >The stroke color to set.</param>
- /// <param name="width" type="Number" >The stroke width to set.</param>
- /// <param name="opacity" type="Number" >The stroke opacity to set.</param>
- /// <returns type="kendo.drawing.Arc">The current instance to allow chaining.</returns>
- /// </signature>
- },
- transform: function(transform) {
- /// <signature>
- /// <summary>
- /// Gets or sets the transformation of the element. Inherited from Element.transform
- /// </summary>
- /// <param name="transform" type="kendo.geometry.Transformation" >The transformation to apply to the element.</param>
- /// <returns type="kendo.geometry.Transformation">The current transformation on the element.</returns>
- /// </signature>
- },
- visible: function(visible) {
- /// <signature>
- /// <summary>
- /// Gets or sets the visibility of the element. Inherited from Element.visible
- /// </summary>
- /// <param name="visible" type="Boolean" >A flag indicating if the element should be visible.</param>
- /// <returns type="Boolean">true if the element is visible; false otherwise.</returns>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.drawing, {
- Circle: function() {
- /// <signature>
- /// <summary>Constructor of kendo.drawing.Circle</summary>
- /// </signature>
- }
- });
- kendo.drawing.Circle = (function() {
- var original = kendo.drawing.Circle;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- bbox: function() {
- /// <signature>
- /// <summary>
- /// Returns the bounding box of the element with transformations applied. Inherited from Element.bbox
- /// </summary>
- /// <returns type="kendo.geometry.Rect">The bounding box of the element with transformations applied.</returns>
- /// </signature>
- },
- clip: function(clip) {
- /// <signature>
- /// <summary>
- /// Gets or sets the element clipping path. Inherited from Element.clip
- /// </summary>
- /// <param name="clip" type="kendo.drawing.Path" >The element clipping path.</param>
- /// <returns type="kendo.drawing.Path">The current element clipping path.</returns>
- /// </signature>
- },
- clippedBBox: function() {
- /// <signature>
- /// <summary>
- /// Returns the bounding box of the element with clipping and transformations applied. Inherited from Element.clippedBBox
- /// </summary>
- /// <returns type="kendo.geometry.Rect">The bounding box of the element with clipping transformations applied.</returns>
- /// </signature>
- },
- containsPoint: function(point) {
- /// <signature>
- /// <summary>
- /// Returns true if the shape contains the specified point.
- /// </summary>
- /// <param name="point" type="kendo.geometry.Point" >The point that should be checked.</param>
- /// <returns type="Boolean">value indicating if the shape contains the point.</returns>
- /// </signature>
- },
- geometry: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the circle geometry.
- /// </summary>
- /// <param name="value" type="kendo.geometry.Circle" >The new geometry to use.</param>
- /// <returns type="kendo.geometry.Circle">The current circle geometry.</returns>
- /// </signature>
- },
- fill: function(color,opacity) {
- /// <signature>
- /// <summary>
- /// Sets the shape fill.
- /// </summary>
- /// <param name="color" type="String" >The fill color to set.</param>
- /// <param name="opacity" type="Number" >The fill opacity to set.</param>
- /// <returns type="kendo.drawing.Circle">The current instance to allow chaining.</returns>
- /// </signature>
- },
- opacity: function(opacity) {
- /// <signature>
- /// <summary>
- /// Gets or sets the element opacity. Inherited from Element.opacityIf set, the stroke and fill opacity will be multiplied by the element opacity.
- /// </summary>
- /// <param name="opacity" type="Number" >The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).</param>
- /// <returns type="Number">The current element opacity.</returns>
- /// </signature>
- },
- stroke: function(color,width,opacity) {
- /// <signature>
- /// <summary>
- /// Sets the shape stroke.
- /// </summary>
- /// <param name="color" type="String" >The stroke color to set.</param>
- /// <param name="width" type="Number" >The stroke width to set.</param>
- /// <param name="opacity" type="Number" >The stroke opacity to set.</param>
- /// <returns type="kendo.drawing.Circle">The current instance to allow chaining.</returns>
- /// </signature>
- },
- transform: function(transform) {
- /// <signature>
- /// <summary>
- /// Gets or sets the transformation of the element. Inherited from Element.transform
- /// </summary>
- /// <param name="transform" type="kendo.geometry.Transformation" >The transformation to apply to the element.</param>
- /// <returns type="kendo.geometry.Transformation">The current transformation on the element.</returns>
- /// </signature>
- },
- visible: function(visible) {
- /// <signature>
- /// <summary>
- /// Gets or sets the visibility of the element. Inherited from Element.visible
- /// </summary>
- /// <param name="visible" type="Boolean" >A flag indicating if the element should be visible.</param>
- /// <returns type="Boolean">true if the element is visible; false otherwise.</returns>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.drawing, {
- Element: function() {
- /// <signature>
- /// <summary>Constructor of kendo.drawing.Element</summary>
- /// </signature>
- }
- });
- kendo.drawing.Element = (function() {
- var original = kendo.drawing.Element;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- bbox: function() {
- /// <signature>
- /// <summary>
- /// Returns the bounding box of the element with transformations applied.
- /// </summary>
- /// <returns type="kendo.geometry.Rect">The bounding box of the element with transformations applied.</returns>
- /// </signature>
- },
- clip: function(clip) {
- /// <signature>
- /// <summary>
- /// Gets or sets the element clipping path.
- /// </summary>
- /// <param name="clip" type="kendo.drawing.Path" >The element clipping path.</param>
- /// <returns type="kendo.drawing.Path">The current element clipping path.</returns>
- /// </signature>
- },
- clippedBBox: function() {
- /// <signature>
- /// <summary>
- /// Returns the bounding box of the element with clipping and transformations applied.This is the rectangle that will fit around the actual rendered element.
- /// </summary>
- /// <returns type="kendo.geometry.Rect">The bounding box of the element with clipping and transformations applied.</returns>
- /// </signature>
- },
- containsPoint: function(point) {
- /// <signature>
- /// <summary>
- /// Returns true if the shape contains the specified point.
- /// </summary>
- /// <param name="point" type="kendo.geometry.Point" >The point that should be checked.</param>
- /// <returns type="Boolean">value indicating if the shape contains the point.</returns>
- /// </signature>
- },
- opacity: function(opacity) {
- /// <signature>
- /// <summary>
- /// Gets or sets the element opacity.
- /// </summary>
- /// <param name="opacity" type="Number" >The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).</param>
- /// <returns type="Number">The current element opacity.</returns>
- /// </signature>
- },
- transform: function(transform) {
- /// <signature>
- /// <summary>
- /// Gets or sets the transformation of the element.
- /// </summary>
- /// <param name="transform" type="kendo.geometry.Transformation" >The transformation to apply to the element.</param>
- /// <returns type="kendo.geometry.Transformation">The current transformation on the element.</returns>
- /// </signature>
- },
- visible: function(visible) {
- /// <signature>
- /// <summary>
- /// Gets or sets the visibility of the element.
- /// </summary>
- /// <param name="visible" type="Boolean" >A flag indicating if the element should be visible.</param>
- /// <returns type="Boolean">true if the element is visible; false otherwise.</returns>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.drawing, {
- FillOptions: function() {
- /// <signature>
- /// <summary>Constructor of kendo.drawing.FillOptions</summary>
- /// </signature>
- }
- });
- kendo.drawing.FillOptions = (function() {
- var original = kendo.drawing.FillOptions;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.drawing, {
- Gradient: function() {
- /// <signature>
- /// <summary>Constructor of kendo.drawing.Gradient</summary>
- /// </signature>
- }
- });
- kendo.drawing.Gradient = (function() {
- var original = kendo.drawing.Gradient;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- addStop: function(offset,color,opacity) {
- /// <signature>
- /// <summary>
- /// Adds a color stop to the gradient.
- /// </summary>
- /// <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>
- /// <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>
- /// <param name="opacity" type="Number" >The fill opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).</param>
- /// <returns type="kendo.drawing.GradientStop">The new gradient color stop.</returns>
- /// </signature>
- },
- removeStop: function(stop) {
- /// <signature>
- /// <summary>
- /// Removes a color stop from the gradient.
- /// </summary>
- /// <param name="stop" type="kendo.drawing.GradientStop" >The gradient color stop to remove.</param>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.drawing, {
- GradientStop: function() {
- /// <signature>
- /// <summary>Constructor of kendo.drawing.GradientStop</summary>
- /// </signature>
- }
- });
- kendo.drawing.GradientStop = (function() {
- var original = kendo.drawing.GradientStop;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.drawing, {
- Group: function() {
- /// <signature>
- /// <summary>Constructor of kendo.drawing.Group</summary>
- /// </signature>
- }
- });
- kendo.drawing.Group = (function() {
- var original = kendo.drawing.Group;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- append: function(element) {
- /// <signature>
- /// <summary>
- /// Appends the specified element as a last child of the group.
- /// </summary>
- /// <param name="element" type="kendo.drawing.Element" >The element to append. Multiple parameters are accepted.</param>
- /// </signature>
- },
- clear: function() {
- /// <signature>
- /// <summary>
- /// Removes all child elements from the group.
- /// </summary>
- /// </signature>
- },
- clip: function(clip) {
- /// <signature>
- /// <summary>
- /// Gets or sets the group clipping path. Inherited from Element.clip
- /// </summary>
- /// <param name="clip" type="kendo.drawing.Path" >The group clipping path.</param>
- /// <returns type="kendo.drawing.Path">The current group clipping path.</returns>
- /// </signature>
- },
- clippedBBox: function() {
- /// <signature>
- /// <summary>
- /// Returns the bounding box of the element with clipping and transformations applied. Inherited from Element.clippedBBox
- /// </summary>
- /// <returns type="kendo.geometry.Rect">The bounding box of the element with clipping transformations applied.</returns>
- /// </signature>
- },
- containsPoint: function(point) {
- /// <signature>
- /// <summary>
- /// Returns true if the shape contains the specified point.
- /// </summary>
- /// <param name="point" type="kendo.geometry.Point" >The point that should be checked.</param>
- /// <returns type="Boolean">value indicating if the shape contains the point.</returns>
- /// </signature>
- },
- insert: function(position,element) {
- /// <signature>
- /// <summary>
- /// Inserts an element at the specified position.
- /// </summary>
- /// <param name="position" type="Number" >The position to insert the element at. Existing children beyond this position will be shifted right.</param>
- /// <param name="element" type="kendo.drawing.Element" >The element to insert.</param>
- /// </signature>
- },
- opacity: function(opacity) {
- /// <signature>
- /// <summary>
- /// Gets or sets the group opacity. Inherited from Element.opacityThe opacity of any child groups and elements will be multiplied by this value.
- /// </summary>
- /// <param name="opacity" type="Number" >The group opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).</param>
- /// <returns type="Number">The current group opacity.</returns>
- /// </signature>
- },
- remove: function(element) {
- /// <signature>
- /// <summary>
- /// Removes the specified element from the group.
- /// </summary>
- /// <param name="element" type="kendo.drawing.Element" >The element to remove.</param>
- /// </signature>
- },
- removeAt: function(index) {
- /// <signature>
- /// <summary>
- /// Removes the child element at the specified position.
- /// </summary>
- /// <param name="index" type="Number" >The index at which the element currently resides.</param>
- /// </signature>
- },
- visible: function(visible) {
- /// <signature>
- /// <summary>
- /// Gets or sets the visibility of the element.
- /// </summary>
- /// <param name="visible" type="Boolean" >A flag indicating if the element should be visible.</param>
- /// <returns type="Boolean">true if the element is visible; false otherwise.</returns>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.drawing, {
- Image: function() {
- /// <signature>
- /// <summary>Constructor of kendo.drawing.Image</summary>
- /// </signature>
- }
- });
- kendo.drawing.Image = (function() {
- var original = kendo.drawing.Image;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- bbox: function() {
- /// <signature>
- /// <summary>
- /// Returns the bounding box of the element with transformations applied. Inherited from Element.bbox
- /// </summary>
- /// <returns type="kendo.geometry.Rect">The bounding box of the element with transformations applied.</returns>
- /// </signature>
- },
- clip: function(clip) {
- /// <signature>
- /// <summary>
- /// Gets or sets the element clipping path. Inherited from Element.clip
- /// </summary>
- /// <param name="clip" type="kendo.drawing.Path" >The element clipping path.</param>
- /// <returns type="kendo.drawing.Path">The current element clipping path.</returns>
- /// </signature>
- },
- clippedBBox: function() {
- /// <signature>
- /// <summary>
- /// Returns the bounding box of the element with clipping and transformations applied. Inherited from Element.clippedBBox
- /// </summary>
- /// <returns type="kendo.geometry.Rect">The bounding box of the element with clipping transformations applied.</returns>
- /// </signature>
- },
- containsPoint: function(point) {
- /// <signature>
- /// <summary>
- /// Returns true if the shape contains the specified point.
- /// </summary>
- /// <param name="point" type="kendo.geometry.Point" >The point that should be checked.</param>
- /// <returns type="Boolean">value indicating if the shape contains the point.</returns>
- /// </signature>
- },
- opacity: function(opacity) {
- /// <signature>
- /// <summary>
- /// Gets or sets the element opacity. Inherited from Element.opacity
- /// </summary>
- /// <param name="opacity" type="Number" >The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).</param>
- /// <returns type="Number">The current element opacity.</returns>
- /// </signature>
- },
- src: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the image source URL.
- /// </summary>
- /// <param name="value" type="String" >The new source URL.</param>
- /// <returns type="String">The current image source URL.</returns>
- /// </signature>
- },
- rect: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the rectangle defines the image position and size.
- /// </summary>
- /// <param name="value" type="kendo.geometry.Rect" >The new image rectangle.</param>
- /// <returns type="kendo.geometry.Rect">The current image rectangle.</returns>
- /// </signature>
- },
- transform: function(transform) {
- /// <signature>
- /// <summary>
- /// Gets or sets the transformation of the element. Inherited from Element.transform
- /// </summary>
- /// <param name="transform" type="kendo.geometry.Transformation" >The transformation to apply to the element.</param>
- /// <returns type="kendo.geometry.Transformation">The current transformation on the element.</returns>
- /// </signature>
- },
- visible: function(visible) {
- /// <signature>
- /// <summary>
- /// Gets or sets the visibility of the element. Inherited from Element.visible
- /// </summary>
- /// <param name="visible" type="Boolean" >A flag indicating if the element should be visible.</param>
- /// <returns type="Boolean">true if the element is visible; false otherwise.</returns>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.drawing, {
- Layout: function() {
- /// <signature>
- /// <summary>Constructor of kendo.drawing.Layout</summary>
- /// </signature>
- }
- });
- kendo.drawing.Layout = (function() {
- var original = kendo.drawing.Layout;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- rect: function(rect) {
- /// <signature>
- /// <summary>
- /// Gets or sets the layout rectangle.
- /// </summary>
- /// <param name="rect" type="kendo.geometry.Rect" >The layout rectangle.</param>
- /// <returns type="kendo.geometry.Rect">The current rectangle.</returns>
- /// </signature>
- },
- reflow: function() {
- /// <signature>
- /// <summary>
- /// Arranges the elements based on the current options.
- /// </summary>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.drawing, {
- LinearGradient: function() {
- /// <signature>
- /// <summary>Constructor of kendo.drawing.LinearGradient</summary>
- /// </signature>
- }
- });
- kendo.drawing.LinearGradient = (function() {
- var original = kendo.drawing.LinearGradient;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- addStop: function(offset,color,opacity) {
- /// <signature>
- /// <summary>
- /// Adds a color stop to the gradient. Inherited from Gradient.addStop
- /// </summary>
- /// <param name="offset" type="Number" ></param>
- /// <param name="color" type="String" >The color of the stop.</param>
- /// <param name="opacity" type="Number" >The fill opacity.</param>
- /// <returns type="kendo.drawing.GradientStop">The new gradient color stop.</returns>
- /// </signature>
- },
- end: function(end) {
- /// <signature>
- /// <summary>
- /// Gets or sets the end point of the gradient.
- /// </summary>
- /// <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>
- /// <returns type="kendo.geometry.Point">The current end point of the gradient.</returns>
- /// </signature>
- },
- start: function(start) {
- /// <signature>
- /// <summary>
- /// Gets or sets the start point of the gradient.
- /// </summary>
- /// <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>
- /// <returns type="kendo.geometry.Point">The current start point of the gradient.</returns>
- /// </signature>
- },
- removeStop: function(stop) {
- /// <signature>
- /// <summary>
- /// Removes a color stop from the gradient. Inherited from Gradient.removeStop
- /// </summary>
- /// <param name="stop" type="kendo.drawing.GradientStop" >The gradient color stop to remove.</param>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.drawing, {
- MultiPath: function() {
- /// <signature>
- /// <summary>Constructor of kendo.drawing.MultiPath</summary>
- /// </signature>
- }
- });
- kendo.drawing.MultiPath = (function() {
- var original = kendo.drawing.MultiPath;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- bbox: function() {
- /// <signature>
- /// <summary>
- /// Returns the bounding box of the element with transformations applied. Inherited from Element.bbox
- /// </summary>
- /// <returns type="kendo.geometry.Rect">The bounding box of the element with transformations applied.</returns>
- /// </signature>
- },
- clip: function(clip) {
- /// <signature>
- /// <summary>
- /// Gets or sets the element clipping path. Inherited from Element.clip
- /// </summary>
- /// <param name="clip" type="kendo.drawing.Path" >The element clipping path.</param>
- /// <returns type="kendo.drawing.Path">The current element clipping path.</returns>
- /// </signature>
- },
- clippedBBox: function() {
- /// <signature>
- /// <summary>
- /// Returns the bounding box of the element with clipping and transformations applied. Inherited from Element.clippedBBox
- /// </summary>
- /// <returns type="kendo.geometry.Rect">The bounding box of the element with clipping transformations applied.</returns>
- /// </signature>
- },
- close: function() {
- /// <signature>
- /// <summary>
- /// Closes the current sub-path by linking its current end point with its start point.
- /// </summary>
- /// <returns type="kendo.drawing.MultiPath">The current instance to allow chaining.</returns>
- /// </signature>
- },
- containsPoint: function(point) {
- /// <signature>
- /// <summary>
- /// Returns true if the shape contains the specified point.
- /// </summary>
- /// <param name="point" type="kendo.geometry.Point" >The point that should be checked.</param>
- /// <returns type="Boolean">value indicating if the shape contains the point.</returns>
- /// </signature>
- },
- curveTo: function(controlOut,controlIn,endPoint) {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// <param name="controlOut" type="Object" >The first control point for the curve.</param>
- /// <param name="controlIn" type="Object" >The second control point for the curve.</param>
- /// <param name="endPoint" type="Object" >The curve end point.</param>
- /// <returns type="kendo.drawing.MultiPath">The current instance to allow chaining.</returns>
- /// </signature>
- },
- fill: function(color,opacity) {
- /// <signature>
- /// <summary>
- /// Sets the shape fill.
- /// </summary>
- /// <param name="color" type="String" >The fill color to set.</param>
- /// <param name="opacity" type="Number" >The fill opacity to set.</param>
- /// <returns type="kendo.drawing.MultiPath">The current instance to allow chaining.</returns>
- /// </signature>
- },
- lineTo: function(x,y) {
- /// <signature>
- /// <summary>
- /// Draws a straight line to the specified absolute coordinates.
- /// </summary>
- /// <param name="x" type="Object" >The line end X coordinate or a Point/Array with X and Y coordinates.</param>
- /// <param name="y" type="Number" >The line end Y coordinate.Optional if the first parameter is a Point/Array.</param>
- /// <returns type="kendo.drawing.MultiPath">The current instance to allow chaining.</returns>
- /// </signature>
- },
- moveTo: function(x,y) {
- /// <signature>
- /// <summary>
- /// Creates a new sub-path or clears all segments and moves the starting point to the specified absolute coordinates.
- /// </summary>
- /// <param name="x" type="Object" >The starting X coordinate or a Point/Array with X and Y coordinates.</param>
- /// <param name="y" type="Number" >The starting Y coordinate.Optional if the first parameter is a Point/Array.</param>
- /// <returns type="kendo.drawing.MultiPath">The current instance to allow chaining.</returns>
- /// </signature>
- },
- opacity: function(opacity) {
- /// <signature>
- /// <summary>
- /// Gets or sets the element opacity. Inherited from Element.opacityIf set, the stroke and fill opacity will be multiplied by the element opacity.
- /// </summary>
- /// <param name="opacity" type="Number" >The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).</param>
- /// <returns type="Number">The current element opacity.</returns>
- /// </signature>
- },
- stroke: function(color,width,opacity) {
- /// <signature>
- /// <summary>
- /// Sets the shape stroke.
- /// </summary>
- /// <param name="color" type="String" >The stroke color to set.</param>
- /// <param name="width" type="Number" >The stroke width to set.</param>
- /// <param name="opacity" type="Number" >The stroke opacity to set.</param>
- /// <returns type="kendo.drawing.MultiPath">The current instance to allow chaining.</returns>
- /// </signature>
- },
- transform: function(transform) {
- /// <signature>
- /// <summary>
- /// Gets or sets the transformation of the element. Inherited from Element.transform
- /// </summary>
- /// <param name="transform" type="kendo.geometry.Transformation" >The transformation to apply to the element.</param>
- /// <returns type="kendo.geometry.Transformation">The current transformation on the element.</returns>
- /// </signature>
- },
- visible: function(visible) {
- /// <signature>
- /// <summary>
- /// Gets or sets the visibility of the element. Inherited from Element.visible
- /// </summary>
- /// <param name="visible" type="Boolean" >A flag indicating if the element should be visible.</param>
- /// <returns type="Boolean">true if the element is visible; false otherwise.</returns>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.drawing, {
- OptionsStore: function() {
- /// <signature>
- /// <summary>Constructor of kendo.drawing.OptionsStore</summary>
- /// </signature>
- }
- });
- kendo.drawing.OptionsStore = (function() {
- var original = kendo.drawing.OptionsStore;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- get: function(field) {
- /// <signature>
- /// <summary>
- /// Gets the value of the specified option.
- /// </summary>
- /// <param name="field" type="String" >The field name to retrieve. Must be a fully qualified name (e.g. "foo.bar") for nested options.</param>
- /// <returns type="Object">The current option value.</returns>
- /// </signature>
- },
- set: function(field,value) {
- /// <signature>
- /// <summary>
- /// Sets the value of the specified option.
- /// </summary>
- /// <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>
- /// <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>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.drawing, {
- PDFOptions: function() {
- /// <signature>
- /// <summary>Constructor of kendo.drawing.PDFOptions</summary>
- /// </signature>
- }
- });
- kendo.drawing.PDFOptions = (function() {
- var original = kendo.drawing.PDFOptions;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.drawing, {
- Path: function() {
- /// <signature>
- /// <summary>Constructor of kendo.drawing.Path</summary>
- /// </signature>
- }
- });
- kendo.drawing.Path = (function() {
- var original = kendo.drawing.Path;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- bbox: function() {
- /// <signature>
- /// <summary>
- /// Returns the bounding box of the element with transformations applied. Inherited from Element.bbox
- /// </summary>
- /// <returns type="kendo.geometry.Rect">The bounding box of the element with transformations applied.</returns>
- /// </signature>
- },
- clip: function(clip) {
- /// <signature>
- /// <summary>
- /// Gets or sets the element clipping path. Inherited from Element.clip
- /// </summary>
- /// <param name="clip" type="kendo.drawing.Path" >The element clipping path.</param>
- /// <returns type="kendo.drawing.Path">The current element clipping path.</returns>
- /// </signature>
- },
- clippedBBox: function() {
- /// <signature>
- /// <summary>
- /// Returns the bounding box of the element with clipping and transformations applied. Inherited from Element.clippedBBox
- /// </summary>
- /// <returns type="kendo.geometry.Rect">The bounding box of the element with clipping transformations applied.</returns>
- /// </signature>
- },
- close: function() {
- /// <signature>
- /// <summary>
- /// Closes the path by linking the current end point with the start point.
- /// </summary>
- /// <returns type="kendo.drawing.Path">The current instance to allow chaining.</returns>
- /// </signature>
- },
- containsPoint: function(point) {
- /// <signature>
- /// <summary>
- /// Returns true if the shape contains the specified point.
- /// </summary>
- /// <param name="point" type="kendo.geometry.Point" >The point that should be checked.</param>
- /// <returns type="Boolean">value indicating if the shape contains the point.</returns>
- /// </signature>
- },
- curveTo: function(controlOut,controlIn,endPoint) {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// <param name="controlOut" type="Object" >The first control point for the curve.</param>
- /// <param name="controlIn" type="Object" >The second control point for the curve.</param>
- /// <param name="endPoint" type="Object" >The curve end point.</param>
- /// <returns type="kendo.drawing.Path">The current instance to allow chaining.</returns>
- /// </signature>
- },
- fill: function(color,opacity) {
- /// <signature>
- /// <summary>
- /// Sets the shape fill.
- /// </summary>
- /// <param name="color" type="String" >The fill color to set.</param>
- /// <param name="opacity" type="Number" >The fill opacity to set.</param>
- /// <returns type="kendo.drawing.Path">The current instance to allow chaining.</returns>
- /// </signature>
- },
- lineTo: function(x,y) {
- /// <signature>
- /// <summary>
- /// Draws a straight line to the specified absolute coordinates.
- /// </summary>
- /// <param name="x" type="Object" >The line end X coordinate or a Point/Array with X and Y coordinates.</param>
- /// <param name="y" type="Number" >The line end Y coordinate.Optional if the first parameter is a Point/Array.</param>
- /// <returns type="kendo.drawing.Path">The current instance to allow chaining.</returns>
- /// </signature>
- },
- moveTo: function(x,y) {
- /// <signature>
- /// <summary>
- /// Clears all existing segments and moves the starting point to the specified absolute coordinates.
- /// </summary>
- /// <param name="x" type="Object" >The starting X coordinate or a Point/Array with X and Y coordinates.</param>
- /// <param name="y" type="Number" >The starting Y coordinate.Optional if the first parameter is a Point/Array.</param>
- /// <returns type="kendo.drawing.Path">The current instance to allow chaining.</returns>
- /// </signature>
- },
- opacity: function(opacity) {
- /// <signature>
- /// <summary>
- /// Gets or sets the element opacity. Inherited from Element.opacityIf set, the stroke and fill opacity will be multiplied by the element opacity.
- /// </summary>
- /// <param name="opacity" type="Number" >The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).</param>
- /// <returns type="Number">The current element opacity.</returns>
- /// </signature>
- },
- stroke: function(color,width,opacity) {
- /// <signature>
- /// <summary>
- /// Sets the shape stroke.
- /// </summary>
- /// <param name="color" type="String" >The stroke color to set.</param>
- /// <param name="width" type="Number" >The stroke width to set.</param>
- /// <param name="opacity" type="Number" >The stroke opacity to set.</param>
- /// <returns type="kendo.drawing.Path">The current instance to allow chaining.</returns>
- /// </signature>
- },
- transform: function(transform) {
- /// <signature>
- /// <summary>
- /// Gets or sets the transformation of the element. Inherited from Element.transform
- /// </summary>
- /// <param name="transform" type="kendo.geometry.Transformation" >The transformation to apply to the element.</param>
- /// <returns type="kendo.geometry.Transformation">The current transformation on the element.</returns>
- /// </signature>
- },
- visible: function(visible) {
- /// <signature>
- /// <summary>
- /// Gets or sets the visibility of the element. Inherited from Element.visible
- /// </summary>
- /// <param name="visible" type="Boolean" >A flag indicating if the element should be visible.</param>
- /// <returns type="Boolean">true if the element is visible; false otherwise.</returns>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.drawing, {
- RadialGradient: function() {
- /// <signature>
- /// <summary>Constructor of kendo.drawing.RadialGradient</summary>
- /// </signature>
- }
- });
- kendo.drawing.RadialGradient = (function() {
- var original = kendo.drawing.RadialGradient;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- addStop: function(offset,color,opacity) {
- /// <signature>
- /// <summary>
- /// Adds a color stop to the gradient. Inherited from Gradient.addStop
- /// </summary>
- /// <param name="offset" type="Number" ></param>
- /// <param name="color" type="String" >The color of the stop.</param>
- /// <param name="opacity" type="Number" >The fill opacity.</param>
- /// <returns type="kendo.drawing.GradientStop">The new gradient color stop.</returns>
- /// </signature>
- },
- center: function(center) {
- /// <signature>
- /// <summary>
- /// Gets or sets the center point of the gradient.
- /// </summary>
- /// <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>
- /// <returns type="kendo.geometry.Point">The current radius of the gradient.</returns>
- /// </signature>
- },
- radius: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the radius of the gradient.
- /// </summary>
- /// <param name="value" type="Number" >The new radius of the gradient.</param>
- /// <returns type="Number">The current radius of the gradient.</returns>
- /// </signature>
- },
- removeStop: function(stop) {
- /// <signature>
- /// <summary>
- /// Removes a color stop from the gradient. Inherited from Gradient.removeStop
- /// </summary>
- /// <param name="stop" type="kendo.drawing.GradientStop" >The gradient color stop to remove.</param>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.drawing, {
- Rect: function() {
- /// <signature>
- /// <summary>Constructor of kendo.drawing.Rect</summary>
- /// </signature>
- }
- });
- kendo.drawing.Rect = (function() {
- var original = kendo.drawing.Rect;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- bbox: function() {
- /// <signature>
- /// <summary>
- /// Returns the bounding box of the element with transformations applied. Inherited from Element.bbox
- /// </summary>
- /// <returns type="kendo.geometry.Rect">The bounding box of the element with transformations applied.</returns>
- /// </signature>
- },
- clip: function(clip) {
- /// <signature>
- /// <summary>
- /// Gets or sets the element clipping path. Inherited from Element.clip
- /// </summary>
- /// <param name="clip" type="kendo.drawing.Path" >The element clipping path.</param>
- /// <returns type="kendo.drawing.Path">The current element clipping path.</returns>
- /// </signature>
- },
- clippedBBox: function() {
- /// <signature>
- /// <summary>
- /// Returns the bounding box of the element with clipping and transformations applied. Inherited from Element.clippedBBox
- /// </summary>
- /// <returns type="kendo.geometry.Rect">The bounding box of the element with clipping transformations applied.</returns>
- /// </signature>
- },
- containsPoint: function(point) {
- /// <signature>
- /// <summary>
- /// Returns true if the shape contains the specified point.
- /// </summary>
- /// <param name="point" type="kendo.geometry.Point" >The point that should be checked.</param>
- /// <returns type="Boolean">value indicating if the shape contains the point.</returns>
- /// </signature>
- },
- geometry: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the rectangle geometry.
- /// </summary>
- /// <param name="value" type="kendo.geometry.Rect" >The new geometry to use.</param>
- /// <returns type="kendo.geometry.Rect">The current rectangle geometry.</returns>
- /// </signature>
- },
- fill: function(color,opacity) {
- /// <signature>
- /// <summary>
- /// Sets the shape fill.
- /// </summary>
- /// <param name="color" type="String" >The fill color to set.</param>
- /// <param name="opacity" type="Number" >The fill opacity to set.</param>
- /// <returns type="kendo.drawing.Rect">The current instance to allow chaining.</returns>
- /// </signature>
- },
- opacity: function(opacity) {
- /// <signature>
- /// <summary>
- /// Gets or sets the element opacity. Inherited from Element.opacityIf set, the stroke and fill opacity will be multiplied by the element opacity.
- /// </summary>
- /// <param name="opacity" type="Number" >The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).</param>
- /// <returns type="Number">The current element opacity.</returns>
- /// </signature>
- },
- stroke: function(color,width,opacity) {
- /// <signature>
- /// <summary>
- /// Sets the shape stroke.
- /// </summary>
- /// <param name="color" type="String" >The stroke color to set.</param>
- /// <param name="width" type="Number" >The stroke width to set.</param>
- /// <param name="opacity" type="Number" >The stroke opacity to set.</param>
- /// <returns type="kendo.drawing.Rect">The current instance to allow chaining.</returns>
- /// </signature>
- },
- transform: function(transform) {
- /// <signature>
- /// <summary>
- /// Gets or sets the transformation of the element. Inherited from Element.transform
- /// </summary>
- /// <param name="transform" type="kendo.geometry.Transformation" >The transformation to apply to the element.</param>
- /// <returns type="kendo.geometry.Transformation">The current transformation on the element.</returns>
- /// </signature>
- },
- visible: function(visible) {
- /// <signature>
- /// <summary>
- /// Gets or sets the visibility of the element. Inherited from Element.visible
- /// </summary>
- /// <param name="visible" type="Boolean" >A flag indicating if the element should be visible.</param>
- /// <returns type="Boolean">true if the element is visible; false otherwise.</returns>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.drawing, {
- Segment: function() {
- /// <signature>
- /// <summary>Constructor of kendo.drawing.Segment</summary>
- /// </signature>
- }
- });
- kendo.drawing.Segment = (function() {
- var original = kendo.drawing.Segment;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- anchor: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the segment anchor point.The setter returns the current Segment to allow chaining.
- /// </summary>
- /// <param name="value" type="kendo.geometry.Point" >The new anchor point.</param>
- /// <returns type="kendo.geometry.Point">The current anchor point.</returns>
- /// </signature>
- },
- controlIn: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the first curve control point of this segment.The setter returns the current Segment to allow chaining.
- /// </summary>
- /// <param name="value" type="kendo.geometry.Point" >The new control point.</param>
- /// <returns type="kendo.geometry.Point">The current control point.</returns>
- /// </signature>
- },
- controlOut: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the second curve control point of this segment.The setter returns the current Segment to allow chaining.
- /// </summary>
- /// <param name="value" type="kendo.geometry.Point" >The new control point.</param>
- /// <returns type="kendo.geometry.Point">The current control point.</returns>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.drawing, {
- StrokeOptions: function() {
- /// <signature>
- /// <summary>Constructor of kendo.drawing.StrokeOptions</summary>
- /// </signature>
- }
- });
- kendo.drawing.StrokeOptions = (function() {
- var original = kendo.drawing.StrokeOptions;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.drawing, {
- Surface: function() {
- /// <signature>
- /// <summary>Constructor of kendo.drawing.Surface</summary>
- /// </signature>
- }
- });
- kendo.drawing.Surface = (function() {
- var original = kendo.drawing.Surface;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- clear: function() {
- /// <signature>
- /// <summary>
- /// Clears the drawing surface.
- /// </summary>
- /// </signature>
- },
- draw: function(element) {
- /// <signature>
- /// <summary>
- /// Draws the element and its children on the surface. Existing elements will remain visible.
- /// </summary>
- /// <param name="element" type="kendo.drawing.Element" >The element to draw.</param>
- /// </signature>
- },
- eventTarget: function(e) {
- /// <signature>
- /// <summary>
- /// Returns the target drawing element of a DOM event.
- /// </summary>
- /// <param name="e" type="Object" >The original DOM or jQuery event object.</param>
- /// <returns type="kendo.drawing.Element">The target drawing element, if any.</returns>
- /// </signature>
- },
- hideTooltip: function() {
- /// <signature>
- /// <summary>
- /// Hides the surface tooltip.
- /// </summary>
- /// </signature>
- },
- resize: function(force) {
- /// <signature>
- /// <summary>
- /// Resizes the surface to match the size of the container.
- /// </summary>
- /// <param name="force" type="Boolean" >Whether to proceed with resizing even if the container dimensions have not changed.</param>
- /// </signature>
- },
- showTooltip: function(element,options) {
- /// <signature>
- /// <summary>
- /// Shows the surface tooltip for the passed shape.
- /// </summary>
- /// <param name="element" type="kendo.drawing.Element" >The element for which the tooltip should be shown.</param>
- /// <param name="options" type="Object" >Options for the tooltip.</param>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.drawing, {
- Text: function() {
- /// <signature>
- /// <summary>Constructor of kendo.drawing.Text</summary>
- /// </signature>
- }
- });
- kendo.drawing.Text = (function() {
- var original = kendo.drawing.Text;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- bbox: function() {
- /// <signature>
- /// <summary>
- /// Returns the bounding box of the element with transformations applied. Inherited from Element.bbox
- /// </summary>
- /// <returns type="kendo.geometry.Rect">The bounding box of the element with transformations applied.</returns>
- /// </signature>
- },
- clip: function(clip) {
- /// <signature>
- /// <summary>
- /// Gets or sets the element clipping path. Inherited from Element.clip
- /// </summary>
- /// <param name="clip" type="kendo.drawing.Path" >The element clipping path.</param>
- /// <returns type="kendo.drawing.Path">The current element clipping path.</returns>
- /// </signature>
- },
- clippedBBox: function() {
- /// <signature>
- /// <summary>
- /// Returns the bounding box of the element with clipping and transformations applied. Inherited from Element.clippedBBox
- /// </summary>
- /// <returns type="kendo.geometry.Rect">The bounding box of the element with clipping transformations applied.</returns>
- /// </signature>
- },
- containsPoint: function(point) {
- /// <signature>
- /// <summary>
- /// Returns true if the shape contains the specified point.
- /// </summary>
- /// <param name="point" type="kendo.geometry.Point" >The point that should be checked.</param>
- /// <returns type="Boolean">value indicating if the shape contains the point.</returns>
- /// </signature>
- },
- content: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the text content.
- /// </summary>
- /// <param name="value" type="String" >The new text content to set.</param>
- /// <returns type="String">The current content of the text.</returns>
- /// </signature>
- },
- fill: function(color,opacity) {
- /// <signature>
- /// <summary>
- /// Sets the text fill.
- /// </summary>
- /// <param name="color" type="String" >The fill color to set.</param>
- /// <param name="opacity" type="Number" >The fill opacity to set.</param>
- /// <returns type="kendo.drawing.Text">The current instance to allow chaining.</returns>
- /// </signature>
- },
- opacity: function(opacity) {
- /// <signature>
- /// <summary>
- /// Gets or sets the element opacity. Inherited from Element.opacityIf set, the stroke and fill opacity will be multiplied by the element opacity.
- /// </summary>
- /// <param name="opacity" type="Number" >The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).</param>
- /// <returns type="Number">The current element opacity.</returns>
- /// </signature>
- },
- position: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the position of the text upper left corner.
- /// </summary>
- /// <param name="value" type="kendo.geometry.Point" >The new position of the text upper left corner.</param>
- /// <returns type="kendo.geometry.Point">The current position of the text upper left corner.</returns>
- /// </signature>
- },
- stroke: function(color,width,opacity) {
- /// <signature>
- /// <summary>
- /// Sets the text stroke.
- /// </summary>
- /// <param name="color" type="String" >The stroke color to set.</param>
- /// <param name="width" type="Number" >The stroke width to set.</param>
- /// <param name="opacity" type="Number" >The stroke opacity to set.</param>
- /// <returns type="kendo.drawing.Text">The current instance to allow chaining.</returns>
- /// </signature>
- },
- transform: function(transform) {
- /// <signature>
- /// <summary>
- /// Gets or sets the transformation of the element. Inherited from Element.transform
- /// </summary>
- /// <param name="transform" type="kendo.geometry.Transformation" >The transformation to apply to the element.</param>
- /// <returns type="kendo.geometry.Transformation">The current transformation on the element.</returns>
- /// </signature>
- },
- visible: function(visible) {
- /// <signature>
- /// <summary>
- /// Gets or sets the visibility of the element. Inherited from Element.visible
- /// </summary>
- /// <param name="visible" type="Boolean" >A flag indicating if the element should be visible.</param>
- /// <returns type="Boolean">true if the element is visible; false otherwise.</returns>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.drawing, {
- TooltipOptions: function() {
- /// <signature>
- /// <summary>Constructor of kendo.drawing.TooltipOptions</summary>
- /// </signature>
- }
- });
- kendo.drawing.TooltipOptions = (function() {
- var original = kendo.drawing.TooltipOptions;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.geometry, {
- Arc: function() {
- /// <signature>
- /// <summary>Constructor of kendo.geometry.Arc</summary>
- /// </signature>
- }
- });
- kendo.geometry.Arc = (function() {
- var original = kendo.geometry.Arc;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- bbox: function(matrix) {
- /// <signature>
- /// <summary>
- /// Returns the bounding box of this arc after applying the specified transformation matrix.
- /// </summary>
- /// <param name="matrix" type="kendo.geometry.Matrix" >Transformation matrix to apply.</param>
- /// <returns type="kendo.geometry.Rect">The bounding box after applying the transformation matrix.</returns>
- /// </signature>
- },
- getAnticlockwise: function() {
- /// <signature>
- /// <summary>
- /// Gets the arc anticlockwise flag.
- /// </summary>
- /// <returns type="Boolean">The anticlockwise flag of the arc.</returns>
- /// </signature>
- },
- getCenter: function() {
- /// <signature>
- /// <summary>
- /// Gets the arc center location.
- /// </summary>
- /// <returns type="kendo.geometry.Point">The location of the arc center.</returns>
- /// </signature>
- },
- getEndAngle: function() {
- /// <signature>
- /// <summary>
- /// Gets the end angle of the arc in decimal degrees. Measured in clockwise direction with 0 pointing "right".
- /// </summary>
- /// <returns type="Number">The end angle of the arc.</returns>
- /// </signature>
- },
- getRadiusX: function() {
- /// <signature>
- /// <summary>
- /// Gets the x radius of the arc.
- /// </summary>
- /// <returns type="Number">The x radius of the arc.</returns>
- /// </signature>
- },
- getRadiusY: function() {
- /// <signature>
- /// <summary>
- /// Gets the y radius of the arc.
- /// </summary>
- /// <returns type="Number">The y radius of the arc.</returns>
- /// </signature>
- },
- getStartAngle: function() {
- /// <signature>
- /// <summary>
- /// Gets the start angle of the arc in decimal degrees. Measured in clockwise direction with 0 pointing "right".
- /// </summary>
- /// <returns type="Number">The start angle of the arc.</returns>
- /// </signature>
- },
- pointAt: function(angle) {
- /// <signature>
- /// <summary>
- /// Gets the location of a point on the arc's circumference at a given angle.
- /// </summary>
- /// <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>
- /// <returns type="kendo.geometry.Point">The point on the arc's circumference.</returns>
- /// </signature>
- },
- setAnticlockwise: function(value) {
- /// <signature>
- /// <summary>
- /// Sets the arc anticlockwise flag.
- /// </summary>
- /// <param name="value" type="Boolean" >The new anticlockwise value.</param>
- /// <returns type="kendo.geometry.Arc">The current arc instance.</returns>
- /// </signature>
- },
- setCenter: function(value) {
- /// <signature>
- /// <summary>
- /// Sets the arc center location.
- /// </summary>
- /// <param name="value" type="kendo.geometry.Point" >The new arc center.</param>
- /// <returns type="kendo.geometry.Arc">The current arc instance.</returns>
- /// </signature>
- },
- setEndAngle: function(value) {
- /// <signature>
- /// <summary>
- /// Sets the end angle of the arc in decimal degrees. Measured in clockwise direction with 0 pointing "right".
- /// </summary>
- /// <param name="value" type="Number" >The new arc end angle.</param>
- /// <returns type="kendo.geometry.Arc">The current arc instance.</returns>
- /// </signature>
- },
- setRadiusX: function(value) {
- /// <signature>
- /// <summary>
- /// Sets the x radius of the arc.
- /// </summary>
- /// <param name="value" type="Number" >The new arc x radius.</param>
- /// <returns type="kendo.geometry.Arc">The current arc instance.</returns>
- /// </signature>
- },
- setRadiusY: function(value) {
- /// <signature>
- /// <summary>
- /// Sets the y radius of the arc.
- /// </summary>
- /// <param name="value" type="Number" >The new arc y radius.</param>
- /// <returns type="kendo.geometry.Arc">The current arc instance.</returns>
- /// </signature>
- },
- setStartAngle: function(value) {
- /// <signature>
- /// <summary>
- /// Sets the start angle of the arc in decimal degrees. Measured in clockwise direction with 0 pointing "right".
- /// </summary>
- /// <param name="value" type="Number" >The new arc start angle.</param>
- /// <returns type="kendo.geometry.Arc">The current arc instance.</returns>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.geometry, {
- Circle: function() {
- /// <signature>
- /// <summary>Constructor of kendo.geometry.Circle</summary>
- /// </signature>
- }
- });
- kendo.geometry.Circle = (function() {
- var original = kendo.geometry.Circle;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- bbox: function(matrix) {
- /// <signature>
- /// <summary>
- /// Returns the bounding box of this circle after applying the specified transformation matrix.
- /// </summary>
- /// <param name="matrix" type="kendo.geometry.Matrix" >Transformation matrix to apply.</param>
- /// <returns type="kendo.geometry.Rect">The bounding box after applying the transformation matrix.</returns>
- /// </signature>
- },
- clone: function() {
- /// <signature>
- /// <summary>
- /// Creates a new instance with the same center and radius.
- /// </summary>
- /// <returns type="kendo.geometry.Circle">A new Circle instance with the same center and radius.</returns>
- /// </signature>
- },
- equals: function(other) {
- /// <signature>
- /// <summary>
- /// Compares this circle with another instance.
- /// </summary>
- /// <param name="other" type="kendo.geometry.Circle" >The circle to compare with.</param>
- /// <returns type="Boolean">true if the point coordinates match; false otherwise.</returns>
- /// </signature>
- },
- getCenter: function() {
- /// <signature>
- /// <summary>
- /// Gets the circle center location.
- /// </summary>
- /// <returns type="kendo.geometry.Point">The location of the circle center.</returns>
- /// </signature>
- },
- getRadius: function() {
- /// <signature>
- /// <summary>
- /// Gets the circle radius.
- /// </summary>
- /// <returns type="Number">The radius of the circle.</returns>
- /// </signature>
- },
- pointAt: function(angle) {
- /// <signature>
- /// <summary>
- /// Gets the location of a point on the circle's circumference at a given angle.
- /// </summary>
- /// <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>
- /// <returns type="kendo.geometry.Point">The point on the circle's circumference.</returns>
- /// </signature>
- },
- setCenter: function(value) {
- /// <signature>
- /// <summary>
- /// Sets the location of the circle center.
- /// </summary>
- /// <param name="value" type="Object" >The new center Point or equivalent [x, y] array.</param>
- /// <returns type="kendo.geometry.Point">The location of the circle center.</returns>
- /// </signature>
- },
- setRadius: function(value) {
- /// <signature>
- /// <summary>
- /// Sets the circle radius.
- /// </summary>
- /// <param name="value" type="Number" >The new circle radius.</param>
- /// <returns type="kendo.geometry.Circle">The current circle instance.</returns>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.geometry, {
- Matrix: function() {
- /// <signature>
- /// <summary>Constructor of kendo.geometry.Matrix</summary>
- /// </signature>
- }
- });
- kendo.geometry.Matrix = (function() {
- var original = kendo.geometry.Matrix;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- clone: function() {
- /// <signature>
- /// <summary>
- /// Creates a new instance with the same element values.
- /// </summary>
- /// <returns type="kendo.geometry.Matrix">A new Matrix instance with the same element values.</returns>
- /// </signature>
- },
- equals: function(other) {
- /// <signature>
- /// <summary>
- /// Compares this matrix with another instance.
- /// </summary>
- /// <param name="other" type="kendo.geometry.Matrix" >The matrix instance to compare with.</param>
- /// <returns type="Boolean">true if the matrix elements match; false otherwise.</returns>
- /// </signature>
- },
- round: function(digits) {
- /// <signature>
- /// <summary>
- /// Rounds the matrix elements to the specified number of fractional digits.
- /// </summary>
- /// <param name="digits" type="Number" >Number of fractional digits.</param>
- /// <returns type="kendo.geometry.Matrix">The current matrix instance.</returns>
- /// </signature>
- },
- multiplyCopy: function(matrix) {
- /// <signature>
- /// <summary>
- /// Multiplies the matrix with another one and returns the result as new instance. The current instance elements are not altered.
- /// </summary>
- /// <param name="matrix" type="kendo.geometry.Matrix" >The matrix to multiply by.</param>
- /// <returns type="kendo.geometry.Matrix">The result of the multiplication.</returns>
- /// </signature>
- },
- toArray: function(digits) {
- /// <signature>
- /// <summary>
- /// Returns the matrix elements as an [a, b, c, d, e, f] array.
- /// </summary>
- /// <param name="digits" type="Number" >(Optional) Number of fractional digits.</param>
- /// <returns type="Array">An array representation of the matrix.</returns>
- /// </signature>
- },
- toString: function(digits,separator) {
- /// <signature>
- /// <summary>
- /// Formats the matrix elements as a string.
- /// </summary>
- /// <param name="digits" type="Number" >(Optional) Number of fractional digits.</param>
- /// <param name="separator" type="String" >The separator to place between elements.</param>
- /// <returns type="String">A string representation of the matrix, e.g. "1, 0, 0, 1, 0, 0".</returns>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.geometry, {
- Point: function() {
- /// <signature>
- /// <summary>Constructor of kendo.geometry.Point</summary>
- /// </signature>
- }
- });
- kendo.geometry.Point = (function() {
- var original = kendo.geometry.Point;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- clone: function() {
- /// <signature>
- /// <summary>
- /// Creates a new instance with the same coordinates.
- /// </summary>
- /// <returns type="kendo.geometry.Point">A new Point instance with the same coordinates.</returns>
- /// </signature>
- },
- distanceTo: function(point) {
- /// <signature>
- /// <summary>
- /// Calculates the distance to another point.
- /// </summary>
- /// <param name="point" type="kendo.geometry.Point" >The point to calculate the distance to.</param>
- /// <returns type="Number">The straight line distance to the given point.</returns>
- /// </signature>
- },
- equals: function(other) {
- /// <signature>
- /// <summary>
- /// Compares this point with another instance.
- /// </summary>
- /// <param name="other" type="kendo.geometry.Point" >The point to compare with.</param>
- /// <returns type="Boolean">true if the point coordinates match; false otherwise.</returns>
- /// </signature>
- },
- getX: function() {
- /// <signature>
- /// <summary>
- /// Gets the x coordinate value.
- /// </summary>
- /// <returns type="Number">The current x coordinate value.</returns>
- /// </signature>
- },
- getY: function() {
- /// <signature>
- /// <summary>
- /// Gets the y coordinate value.
- /// </summary>
- /// <returns type="Number">The current y coordinate value.</returns>
- /// </signature>
- },
- move: function(x,y) {
- /// <signature>
- /// <summary>
- /// Moves the point to the specified x and y coordinates.
- /// </summary>
- /// <param name="x" type="Number" >The new X coordinate.</param>
- /// <param name="y" type="Number" >The new Y coordinate.</param>
- /// <returns type="kendo.geometry.Point">The current point instance.</returns>
- /// </signature>
- },
- rotate: function(angle,center) {
- /// <signature>
- /// <summary>
- /// Rotates the point around the given center.
- /// </summary>
- /// <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>
- /// <param name="center" type="Object" >The rotation center. Can be a Point instance or an [x, y] array.</param>
- /// <returns type="kendo.geometry.Point">The current Point instance.</returns>
- /// </signature>
- },
- round: function(digits) {
- /// <signature>
- /// <summary>
- /// Rounds the point coordinates to the specified number of fractional digits.
- /// </summary>
- /// <param name="digits" type="Number" >Number of fractional digits.</param>
- /// <returns type="kendo.geometry.Point">The current Point instance.</returns>
- /// </signature>
- },
- scale: function(scaleX,scaleY) {
- /// <signature>
- /// <summary>
- /// Scales the point coordinates along the x and y axis.
- /// </summary>
- /// <param name="scaleX" type="Number" >The x scale multiplier.</param>
- /// <param name="scaleY" type="Number" >The y scale multiplier.</param>
- /// <returns type="kendo.geometry.Point">The current point instance.</returns>
- /// </signature>
- },
- scaleCopy: function(scaleX,scaleY) {
- /// <signature>
- /// <summary>
- /// Scales the point coordinates on a copy of the current point. The callee coordinates will remain unchanged.
- /// </summary>
- /// <param name="scaleX" type="Number" >The x scale multiplier.</param>
- /// <param name="scaleY" type="Number" >The y scale multiplier.</param>
- /// <returns type="kendo.geometry.Point">The new Point instance.</returns>
- /// </signature>
- },
- setX: function(value) {
- /// <signature>
- /// <summary>
- /// Sets the x coordinate to a new value.
- /// </summary>
- /// <param name="value" type="Number" >The new x coordinate value.</param>
- /// <returns type="kendo.geometry.Point">The current Point instance.</returns>
- /// </signature>
- },
- setY: function(value) {
- /// <signature>
- /// <summary>
- /// Sets the y coordinate to a new value.
- /// </summary>
- /// <param name="value" type="Number" >The new y coordinate value.</param>
- /// <returns type="kendo.geometry.Point">The current Point instance.</returns>
- /// </signature>
- },
- toArray: function(digits) {
- /// <signature>
- /// <summary>
- /// Returns the point coordinates as an [x, y] array.
- /// </summary>
- /// <param name="digits" type="Number" >(Optional) Number of fractional digits.</param>
- /// <returns type="Array">An array representation of the point, e.g. [10, 20]</returns>
- /// </signature>
- },
- toString: function(digits,separator) {
- /// <signature>
- /// <summary>
- /// Formats the point value to a string.
- /// </summary>
- /// <param name="digits" type="Number" >(Optional) Number of fractional digits.</param>
- /// <param name="separator" type="String" >The separator to place between coordinates.</param>
- /// <returns type="String">A string representation of the point, e.g. "10 20".</returns>
- /// </signature>
- },
- transform: function(tansformation) {
- /// <signature>
- /// <summary>
- /// Applies a transformation to the point coordinates. The current coordinates will be overriden.
- /// </summary>
- /// <param name="tansformation" type="kendo.geometry.Transformation" >The transformation to apply.</param>
- /// <returns type="kendo.geometry.Point">The current Point instance.</returns>
- /// </signature>
- },
- transformCopy: function(tansformation) {
- /// <signature>
- /// <summary>
- /// Applies a transformation on a copy of the current point. The callee coordinates will remain unchanged.
- /// </summary>
- /// <param name="tansformation" type="kendo.geometry.Transformation" >The transformation to apply.</param>
- /// <returns type="kendo.geometry.Point">The new Point instance.</returns>
- /// </signature>
- },
- translate: function(dx,dy) {
- /// <signature>
- /// <summary>
- /// Translates the point along the x and y axis.
- /// </summary>
- /// <param name="dx" type="Number" >The distance to move along the X axis.</param>
- /// <param name="dy" type="Number" >The distance to move along the Y axis.</param>
- /// <returns type="kendo.geometry.Point">The current point instance.</returns>
- /// </signature>
- },
- translateWith: function(vector) {
- /// <signature>
- /// <summary>
- /// Translates the point by using a Point instance as a vector of translation.
- /// </summary>
- /// <param name="vector" type="Object" >The vector of translation. Can be either a Point instance or an [x, y] array.</param>
- /// <returns type="kendo.geometry.Point">The current point instance.</returns>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.geometry, {
- Rect: function() {
- /// <signature>
- /// <summary>Constructor of kendo.geometry.Rect</summary>
- /// </signature>
- }
- });
- kendo.geometry.Rect = (function() {
- var original = kendo.geometry.Rect;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- bbox: function(matrix) {
- /// <signature>
- /// <summary>
- /// Returns the bounding box of this rectangle after applying the specified transformation matrix.
- /// </summary>
- /// <param name="matrix" type="kendo.geometry.Matrix" >Transformation matrix to apply.</param>
- /// <returns type="kendo.geometry.Rect">The bounding box after applying the transformation matrix.</returns>
- /// </signature>
- },
- bottomLeft: function() {
- /// <signature>
- /// <summary>
- /// Gets the position of the bottom-left corner of the rectangle. This is also the rectangle origin
- /// </summary>
- /// <returns type="kendo.geometry.Point">The position of the bottom-left corner.</returns>
- /// </signature>
- },
- bottomRight: function() {
- /// <signature>
- /// <summary>
- /// Gets the position of the bottom-right corner of the rectangle.
- /// </summary>
- /// <returns type="kendo.geometry.Point">The position of the bottom-right corner.</returns>
- /// </signature>
- },
- center: function() {
- /// <signature>
- /// <summary>
- /// Gets the position of the center of the rectangle.
- /// </summary>
- /// <returns type="kendo.geometry.Point">The position of the center.</returns>
- /// </signature>
- },
- clone: function() {
- /// <signature>
- /// <summary>
- /// Creates a new instance with the same origin and size.
- /// </summary>
- /// <returns type="kendo.geometry.Rect">A new Rect instance with the same origin and size.</returns>
- /// </signature>
- },
- equals: function(other) {
- /// <signature>
- /// <summary>
- /// Compares this rectangle with another instance.
- /// </summary>
- /// <param name="other" type="kendo.geometry.Rect" >The rectangle to compare with.</param>
- /// <returns type="Boolean">true if the origin and size is the same for both rectangles; false otherwise.</returns>
- /// </signature>
- },
- getOrigin: function() {
- /// <signature>
- /// <summary>
- /// Gets the origin (top-left point) of the rectangle.
- /// </summary>
- /// <returns type="kendo.geometry.Point">The origin (top-left point).</returns>
- /// </signature>
- },
- getSize: function() {
- /// <signature>
- /// <summary>
- /// Gets the rectangle size.
- /// </summary>
- /// <returns type="kendo.geometry.Size">The current rectangle Size.</returns>
- /// </signature>
- },
- height: function() {
- /// <signature>
- /// <summary>
- /// Gets the rectangle height.
- /// </summary>
- /// <returns type="Number">The rectangle height.</returns>
- /// </signature>
- },
- setOrigin: function(value) {
- /// <signature>
- /// <summary>
- /// Sets the origin (top-left point) of the rectangle.
- /// </summary>
- /// <param name="value" type="Object" >The new origin Point or equivalent [x, y] array.</param>
- /// <returns type="kendo.geometry.Rect">The current rectangle instance.</returns>
- /// </signature>
- },
- setSize: function(value) {
- /// <signature>
- /// <summary>
- /// Sets the rectangle size.
- /// </summary>
- /// <param name="value" type="Object" >The new rectangle Size or equivalent [width, height] array.</param>
- /// <returns type="kendo.geometry.Rect">The current rectangle instance.</returns>
- /// </signature>
- },
- topLeft: function() {
- /// <signature>
- /// <summary>
- /// Gets the position of the top-left corner of the rectangle. This is also the rectangle origin
- /// </summary>
- /// <returns type="kendo.geometry.Point">The position of the top-left corner.</returns>
- /// </signature>
- },
- topRight: function() {
- /// <signature>
- /// <summary>
- /// Gets the position of the top-right corner of the rectangle.
- /// </summary>
- /// <returns type="kendo.geometry.Point">The position of the top-right corner.</returns>
- /// </signature>
- },
- width: function() {
- /// <signature>
- /// <summary>
- /// Gets the rectangle width.
- /// </summary>
- /// <returns type="Number">The rectangle width.</returns>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.geometry, {
- Size: function() {
- /// <signature>
- /// <summary>Constructor of kendo.geometry.Size</summary>
- /// </signature>
- }
- });
- kendo.geometry.Size = (function() {
- var original = kendo.geometry.Size;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- clone: function() {
- /// <signature>
- /// <summary>
- /// Creates a new instance with the same width and height.
- /// </summary>
- /// <returns type="kendo.geometry.Size">A new Size instance with the same dimensions.</returns>
- /// </signature>
- },
- equals: function(other) {
- /// <signature>
- /// <summary>
- /// Compares this Size with another instance.
- /// </summary>
- /// <param name="other" type="kendo.geometry.Size" >The Size to compare with.</param>
- /// <returns type="Boolean">true if the size members match; false otherwise.</returns>
- /// </signature>
- },
- getWidth: function() {
- /// <signature>
- /// <summary>
- /// Gets the width value.
- /// </summary>
- /// <returns type="Number">The current width value.</returns>
- /// </signature>
- },
- getHeight: function() {
- /// <signature>
- /// <summary>
- /// Gets the height value.
- /// </summary>
- /// <returns type="Number">The current height value.</returns>
- /// </signature>
- },
- setWidth: function(value) {
- /// <signature>
- /// <summary>
- /// Sets the width to a new value.
- /// </summary>
- /// <param name="value" type="Number" >The new width value.</param>
- /// <returns type="kendo.geometry.Size">The current Size instance.</returns>
- /// </signature>
- },
- setHeight: function(value) {
- /// <signature>
- /// <summary>
- /// Sets the height to a new value.
- /// </summary>
- /// <param name="value" type="Number" >The new height value.</param>
- /// <returns type="kendo.geometry.Size">The current Size instance.</returns>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.geometry, {
- Transformation: function() {
- /// <signature>
- /// <summary>Constructor of kendo.geometry.Transformation</summary>
- /// </signature>
- }
- });
- kendo.geometry.Transformation = (function() {
- var original = kendo.geometry.Transformation;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- clone: function() {
- /// <signature>
- /// <summary>
- /// Creates a new instance with the same transformation matrix.
- /// </summary>
- /// <returns type="kendo.geometry.Transformation">A new Transformation instance with the same matrix.</returns>
- /// </signature>
- },
- equals: function(other) {
- /// <signature>
- /// <summary>
- /// Compares this transformation with another instance.
- /// </summary>
- /// <param name="other" type="kendo.geometry.Transformation" >The transformation to compare with.</param>
- /// <returns type="Boolean">true if the transformation matrix is the same; false otherwise.</returns>
- /// </signature>
- },
- matrix: function() {
- /// <signature>
- /// <summary>
- /// Gets the current transformation matrix for this transformation.
- /// </summary>
- /// <returns type="kendo.geometry.Matrix">The current transformation matrix.</returns>
- /// </signature>
- },
- multiply: function(transformation) {
- /// <signature>
- /// <summary>
- /// Multiplies the transformation with another. The underlying transformation matrix is updated in-place.
- /// </summary>
- /// <param name="transformation" type="kendo.geometry.Transformation" >The transformation to multiply by.</param>
- /// <returns type="kendo.geometry.Transformation">The current transformation instance.</returns>
- /// </signature>
- },
- rotate: function(angle,center) {
- /// <signature>
- /// <summary>
- /// Sets rotation with the specified parameters.
- /// </summary>
- /// <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>
- /// <param name="center" type="Object" >The center of rotation.</param>
- /// <returns type="kendo.geometry.Transformation">The current transformation instance.</returns>
- /// </signature>
- },
- scale: function(scaleX,scaleY) {
- /// <signature>
- /// <summary>
- /// Sets scale with the specified parameters.
- /// </summary>
- /// <param name="scaleX" type="Number" >The scale factor on the X axis.</param>
- /// <param name="scaleY" type="Number" >The scale factor on the Y axis.</param>
- /// <returns type="kendo.geometry.Transformation">The current transformation instance.</returns>
- /// </signature>
- },
- translate: function(x,y) {
- /// <signature>
- /// <summary>
- /// Sets translation with the specified parameters.
- /// </summary>
- /// <param name="x" type="Number" >The distance to translate along the X axis.</param>
- /// <param name="y" type="Number" >The distance to translate along the Y axis.</param>
- /// <returns type="kendo.geometry.Transformation">The current transformation instance.</returns>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.mobile, {
- Application: function() {
- /// <signature>
- /// <summary>Constructor of kendo.mobile.Application</summary>
- /// </signature>
- }
- });
- kendo.mobile.Application = (function() {
- var original = kendo.mobile.Application;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- changeLoadingMessage: function(text) {
- /// <signature>
- /// <summary>
- /// Changes the loading message.
- /// </summary>
- /// <param name="text" type="String" >New text of the loading animation.</param>
- /// </signature>
- },
- hideLoading: function() {
- /// <signature>
- /// <summary>
- /// Hide the loading animation.
- /// </summary>
- /// </signature>
- },
- navigate: function(url,transition) {
- /// <signature>
- /// <summary>
- /// Navigate to local or to remote view.
- /// </summary>
- /// <param name="url" type="String" >The id or url of the view.</param>
- /// <param name="transition" type="String" >Optional. The transition to apply when navigating. See View Transitions section for more information.</param>
- /// </signature>
- },
- replace: function(url,transition) {
- /// <signature>
- /// <summary>
- /// Navigate to local or to remote view. The view will replace the current one in the history stack.
- /// </summary>
- /// <param name="url" type="String" >The id or url of the view.</param>
- /// <param name="transition" type="String" >Optional. The transition to apply when navigating. See View Transitions section for more information.</param>
- /// </signature>
- },
- scroller: function() {
- /// <signature>
- /// <summary>
- /// Get a reference to the current view's scroller widget instance.
- /// </summary>
- /// <returns type="kendo.mobile.ui.Scroller">the scroller widget instance.</returns>
- /// </signature>
- },
- showLoading: function() {
- /// <signature>
- /// <summary>
- /// Show the loading animation.
- /// </summary>
- /// </signature>
- },
- skin: function(skin) {
- /// <signature>
- /// <summary>
- /// Change the current skin of the mobile application. When used without parameters, returns the currently used skin. Available as of Q2 2013.
- /// </summary>
- /// <param name="skin" type="String" >The skin name to switch to or empty string ("") to return to native.</param>
- /// <returns type="String">Current skin in effect.</returns>
- /// </signature>
- },
- view: function() {
- /// <signature>
- /// <summary>
- /// Get a reference to the current view.
- /// </summary>
- /// <returns type="kendo.mobile.ui.View">the view instance.</returns>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.mobile.ui, {
- ActionSheet: function() {
- /// <signature>
- /// <summary>Constructor of kendo.mobile.ui.ActionSheet</summary>
- /// </signature>
- }
- });
- kendo.mobile.ui.ActionSheet = (function() {
- var original = kendo.mobile.ui.ActionSheet;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- close: function() {
- /// <signature>
- /// <summary>
- /// Close the ActionSheet.
- /// </summary>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// </signature>
- },
- open: function(target,context) {
- /// <signature>
- /// <summary>
- /// Open the ActionSheet.
- /// </summary>
- /// <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>
- /// <param name="context" type="Object" >(optional) The context of the ActionSheet, available in the callback methods.</param>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- jQuery.fn.kendoMobileActionSheet = function() {
- this.data("kendoMobileActionSheet", new kendo.mobile.ui.ActionSheet());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoMobileActionSheet: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.mobile.ui.ActionSheet widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.mobile.ui.ActionSheet">The kendo.mobile.ui.ActionSheet instance (if present).</returns>
- /// </signature>
- },
- kendoMobileActionSheet: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.mobile.ui.ActionSheet widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// cancel - String (default: "Cancel")
- /// The text of the cancel button.
- ///
- /// popup - Object
- /// The popup configuration options (tablet only).
- ///
- /// type - String (default: auto)
- /// 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.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.mobile.ui, {
- BackButton: function() {
- /// <signature>
- /// <summary>Constructor of kendo.mobile.ui.BackButton</summary>
- /// </signature>
- }
- });
- kendo.mobile.ui.BackButton = (function() {
- var original = kendo.mobile.ui.BackButton;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- destroy: function() {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- jQuery.fn.kendoMobileBackButton = function() {
- this.data("kendoMobileBackButton", new kendo.mobile.ui.BackButton());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoMobileBackButton: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.mobile.ui.BackButton widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.mobile.ui.BackButton">The kendo.mobile.ui.BackButton instance (if present).</returns>
- /// </signature>
- },
- kendoMobileBackButton: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.mobile.ui.BackButton widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.mobile.ui, {
- Button: function() {
- /// <signature>
- /// <summary>Constructor of kendo.mobile.ui.Button</summary>
- /// </signature>
- }
- });
- kendo.mobile.ui.Button = (function() {
- var original = kendo.mobile.ui.Button;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- badge: function(value) {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// <param name="value" type="Object" >The target value to be set or false to be removed.</param>
- /// <returns type="String | kendo.mobile.ui.Button">the badge value if invoked without parameters, otherwise the Button object.</returns>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// </signature>
- },
- enable: function(enable) {
- /// <signature>
- /// <summary>
- /// Changes the enabled state of the widget.
- /// </summary>
- /// <param name="enable" type="Boolean" >Whether to enable or disable the widget.</param>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- jQuery.fn.kendoMobileButton = function() {
- this.data("kendoMobileButton", new kendo.mobile.ui.Button());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoMobileButton: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.mobile.ui.Button widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.mobile.ui.Button">The kendo.mobile.ui.Button instance (if present).</returns>
- /// </signature>
- },
- kendoMobileButton: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.mobile.ui.Button widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// badge - String
- /// The badge of the button.
- ///
- /// clickOn - String (default: default "up")
- /// 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).
- ///
- /// enable - Boolean (default: true)
- /// If set to false the widget will be disabled and will not allow the user to click it. The widget is enabled by default.
- ///
- /// icon - String
- /// The icon of the button. It can be either one of the built-in icons, or a custom one.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.mobile.ui, {
- ButtonGroup: function() {
- /// <signature>
- /// <summary>Constructor of kendo.mobile.ui.ButtonGroup</summary>
- /// </signature>
- }
- });
- kendo.mobile.ui.ButtonGroup = (function() {
- var original = kendo.mobile.ui.ButtonGroup;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- badge: function(button,value) {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// <param name="button" type="Object" >The target button specified either as a jQuery selector/object or as an button index.</param>
- /// <param name="value" type="Object" >The target value to be set or false to be removed.</param>
- /// <returns type="String|kendo.mobile.ui.Button">the badge value if invoked without parameters, otherwise the ButtonGroup object.</returns>
- /// </signature>
- },
- current: function() {
- /// <signature>
- /// <summary>
- /// Get the currently selected Button.
- /// </summary>
- /// <returns type="jQuery">the jQuery object representing the currently selected button.</returns>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// </signature>
- },
- enable: function(enable) {
- /// <signature>
- /// <summary>
- /// Enables or disables the widget.
- /// </summary>
- /// <param name="enable" type="Boolean" >A boolean flag that indicates whether the widget should be enabled or disabled.</param>
- /// </signature>
- },
- select: function(li) {
- /// <signature>
- /// <summary>
- /// Select a Button.
- /// </summary>
- /// <param name="li" type="Object" >LI element or index of the Button.</param>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- jQuery.fn.kendoMobileButtonGroup = function() {
- this.data("kendoMobileButtonGroup", new kendo.mobile.ui.ButtonGroup());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoMobileButtonGroup: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.mobile.ui.ButtonGroup widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.mobile.ui.ButtonGroup">The kendo.mobile.ui.ButtonGroup instance (if present).</returns>
- /// </signature>
- },
- kendoMobileButtonGroup: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.mobile.ui.ButtonGroup widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// enable - Boolean (default: true)
- /// Defines if the widget is initially enabled or disabled.
- ///
- /// index - Number
- /// Defines the initially selected Button (zero based index).
- ///
- /// selectOn - String (default: default "down")
- /// 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".
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.mobile.ui, {
- Collapsible: function() {
- /// <signature>
- /// <summary>Constructor of kendo.mobile.ui.Collapsible</summary>
- /// </signature>
- }
- });
- kendo.mobile.ui.Collapsible = (function() {
- var original = kendo.mobile.ui.Collapsible;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- collapse: function(instant) {
- /// <signature>
- /// <summary>
- /// Collapses the content.
- /// </summary>
- /// <param name="instant" type="Boolean" >Optional. When set to true the collapse action will be performed without animation.</param>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// </signature>
- },
- expand: function(instant) {
- /// <signature>
- /// <summary>
- /// Expands the content.
- /// </summary>
- /// <param name="instant" type="Boolean" >When set to true the expand action will be performed without animation.</param>
- /// </signature>
- },
- resize: function() {
- /// <signature>
- /// <summary>
- /// Recalculates the content height.
- /// </summary>
- /// </signature>
- },
- toggle: function(instant) {
- /// <signature>
- /// <summary>
- /// Toggles the content visibility.
- /// </summary>
- /// <param name="instant" type="Boolean" >When set to true the expand/collapse action will be performed without animation.</param>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- jQuery.fn.kendoMobileCollapsible = function() {
- this.data("kendoMobileCollapsible", new kendo.mobile.ui.Collapsible());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoMobileCollapsible: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.mobile.ui.Collapsible widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.mobile.ui.Collapsible">The kendo.mobile.ui.Collapsible instance (if present).</returns>
- /// </signature>
- },
- kendoMobileCollapsible: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.mobile.ui.Collapsible widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// animation - Boolean (default: true)
- /// Turns on or off the animation of the widget.
- ///
- /// collapsed - Boolean (default: true)
- /// If set to false the widget content will be expanded initially. The content of the widget is collapsed by default.
- ///
- /// expandIcon - String (default: "plus")
- /// Sets the icon for the header of the collapsible widget when it is in a expanded state.
- ///
- /// iconPosition - String (default: "left")
- /// Sets the icon position in the header of the collapsible widget. Possible values are "left", "right", "top".
- ///
- /// inset - Boolean (default: "false")
- /// Forces inset appearance - the collapsible panel is padded from the View and receives rounded corners.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.mobile.ui, {
- DetailButton: function() {
- /// <signature>
- /// <summary>Constructor of kendo.mobile.ui.DetailButton</summary>
- /// </signature>
- }
- });
- kendo.mobile.ui.DetailButton = (function() {
- var original = kendo.mobile.ui.DetailButton;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- destroy: function() {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- jQuery.fn.kendoMobileDetailButton = function() {
- this.data("kendoMobileDetailButton", new kendo.mobile.ui.DetailButton());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoMobileDetailButton: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.mobile.ui.DetailButton widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.mobile.ui.DetailButton">The kendo.mobile.ui.DetailButton instance (if present).</returns>
- /// </signature>
- },
- kendoMobileDetailButton: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.mobile.ui.DetailButton widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.mobile.ui, {
- Drawer: function() {
- /// <signature>
- /// <summary>Constructor of kendo.mobile.ui.Drawer</summary>
- /// </signature>
- }
- });
- kendo.mobile.ui.Drawer = (function() {
- var original = kendo.mobile.ui.Drawer;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- destroy: function() {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// </signature>
- },
- hide: function() {
- /// <signature>
- /// <summary>
- /// Hide the Drawer
- /// </summary>
- /// </signature>
- },
- show: function() {
- /// <signature>
- /// <summary>
- /// Show the Drawer
- /// </summary>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- jQuery.fn.kendoMobileDrawer = function() {
- this.data("kendoMobileDrawer", new kendo.mobile.ui.Drawer());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoMobileDrawer: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.mobile.ui.Drawer widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.mobile.ui.Drawer">The kendo.mobile.ui.Drawer instance (if present).</returns>
- /// </signature>
- },
- kendoMobileDrawer: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.mobile.ui.Drawer widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// container - jQuery
- /// Specifies the content element to shift when the drawer appears. Required if the drawer is used outside of a mobile application.
- ///
- /// position - String (default: 'left')
- /// The position of the drawer. Can be left (default) or right.
- ///
- /// swipeToOpen - Boolean (default: true)
- /// 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.
- ///
- /// swipeToOpenViews - Array
- /// 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.
- ///
- /// title - String
- /// The text to display in the Navbar title (if present).
- ///
- /// views - Array
- /// A list of the view ids on which the drawer will appear. If omitted, the drawer will work on any view in the application.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.mobile.ui, {
- Layout: function() {
- /// <signature>
- /// <summary>Constructor of kendo.mobile.ui.Layout</summary>
- /// </signature>
- }
- });
- kendo.mobile.ui.Layout = (function() {
- var original = kendo.mobile.ui.Layout;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- jQuery.fn.kendoMobileLayout = function() {
- this.data("kendoMobileLayout", new kendo.mobile.ui.Layout());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoMobileLayout: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.mobile.ui.Layout widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.mobile.ui.Layout">The kendo.mobile.ui.Layout instance (if present).</returns>
- /// </signature>
- },
- kendoMobileLayout: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.mobile.ui.Layout widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// id - String (default: null)
- /// The id of the layout. Required
- ///
- /// platform - String
- /// The specific platform this layout targets. By default, layouts are displayed on all platforms.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.mobile.ui, {
- ListView: function() {
- /// <signature>
- /// <summary>Constructor of kendo.mobile.ui.ListView</summary>
- /// </signature>
- }
- });
- kendo.mobile.ui.ListView = (function() {
- var original = kendo.mobile.ui.ListView;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- append: function(dataItems) {
- /// <signature>
- /// <summary>
- /// Appends new items generated by rendering the given data items with the listview template to the bottom of the listview.
- /// </summary>
- /// <param name="dataItems" type="Array" ></param>
- /// </signature>
- },
- prepend: function(dataItems) {
- /// <signature>
- /// <summary>
- /// Prepends new items generated by rendering the given data items with the listview template to the top of the listview.
- /// </summary>
- /// <param name="dataItems" type="Array" ></param>
- /// </signature>
- },
- replace: function(dataItems) {
- /// <signature>
- /// <summary>
- /// Replaces the contents of the listview with the passed rendered data items.
- /// </summary>
- /// <param name="dataItems" type="Array" ></param>
- /// </signature>
- },
- remove: function(dataItems) {
- /// <signature>
- /// <summary>
- /// Removes the listview items which are rendered with the passed data items.
- /// </summary>
- /// <param name="dataItems" type="Array" ></param>
- /// </signature>
- },
- setDataItem: function(item,dataItem) {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// <param name="item" type="jQuery" >The listview item to update</param>
- /// <param name="dataItem" type="kendo.data.Model" >The new dataItem</param>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// </signature>
- },
- items: function() {
- /// <signature>
- /// <summary>
- /// Get the listview DOM element items
- /// </summary>
- /// <returns type="jQuery">The listview DOM element items</returns>
- /// </signature>
- },
- refresh: function() {
- /// <signature>
- /// <summary>
- /// Repaints the listview (works only in databound mode).
- /// </summary>
- /// </signature>
- },
- setDataSource: function(dataSource) {
- /// <signature>
- /// <summary>
- /// Sets the DataSource of an existing ListView and rebinds it.
- /// </summary>
- /// <param name="dataSource" type="kendo.data.DataSource" ></param>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- jQuery.fn.kendoMobileListView = function() {
- this.data("kendoMobileListView", new kendo.mobile.ui.ListView());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoMobileListView: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.mobile.ui.ListView widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.mobile.ui.ListView">The kendo.mobile.ui.ListView instance (if present).</returns>
- /// </signature>
- },
- kendoMobileListView: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.mobile.ui.ListView widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// appendOnRefresh - Boolean (default: false)
- /// 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.
- ///
- /// autoBind - Boolean (default: true)
- /// 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.
- ///
- /// dataSource - kendo.data.DataSource|Object
- /// Instance of DataSource or the data that the mobile ListView will be bound to.
- ///
- /// endlessScroll - Boolean (default: false)
- /// If set to true, the listview gets the next page of data when the user scrolls near the bottom of the view.
- ///
- /// fixedHeaders - Boolean (default: false)
- /// 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.
- ///
- /// headerTemplate - String|Function (default: "#:value#")
- /// The header item template (applicable when the type is set to group).
- ///
- /// loadMore - Boolean (default: false)
- /// 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.
- ///
- /// messages - Object
- /// Defines the text of the ListView messages. Used primary for localization.
- ///
- /// pullToRefresh - Boolean (default: false)
- /// If set to true, the listview will reload its data when the user pulls the view over the top limit.
- ///
- /// pullParameters - Function
- /// 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.
- ///
- /// style - String (default: "")
- /// The style of the widget. Can be either empty string(""), or inset.
- ///
- /// template - String|Function (default: "#:data#")
- /// The item template.
- ///
- /// type - String (default: "flat")
- /// The type of the control. Can be either flat (default) or group. Determined automatically in databound mode.
- ///
- /// filterable - Boolean (default: false)
- /// Indicates whether the filter input must be visible or not.
- ///
- /// filterable - Object (default: false)
- /// Indicates whether the filter input must be visible or not.
- ///
- /// virtualViewSize - Number
- /// 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.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.mobile.ui, {
- Loader: function() {
- /// <signature>
- /// <summary>Constructor of kendo.mobile.ui.Loader</summary>
- /// </signature>
- }
- });
- kendo.mobile.ui.Loader = (function() {
- var original = kendo.mobile.ui.Loader;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- hide: function() {
- /// <signature>
- /// <summary>
- /// Hide the loading animation.
- /// </summary>
- /// </signature>
- },
- show: function() {
- /// <signature>
- /// <summary>
- /// Show the loading animation.
- /// </summary>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- jQuery.fn.kendoMobileLoader = function() {
- this.data("kendoMobileLoader", new kendo.mobile.ui.Loader());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoMobileLoader: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.mobile.ui.Loader widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.mobile.ui.Loader">The kendo.mobile.ui.Loader instance (if present).</returns>
- /// </signature>
- },
- kendoMobileLoader: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.mobile.ui.Loader widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.mobile.ui, {
- ModalView: function() {
- /// <signature>
- /// <summary>Constructor of kendo.mobile.ui.ModalView</summary>
- /// </signature>
- }
- });
- kendo.mobile.ui.ModalView = (function() {
- var original = kendo.mobile.ui.ModalView;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- close: function() {
- /// <signature>
- /// <summary>
- /// Close the ModalView
- /// </summary>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// </signature>
- },
- open: function(target) {
- /// <signature>
- /// <summary>
- /// Open the ModalView
- /// </summary>
- /// <param name="target" type="jQuery" >The target of the ModalView</param>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- jQuery.fn.kendoMobileModalView = function() {
- this.data("kendoMobileModalView", new kendo.mobile.ui.ModalView());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoMobileModalView: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.mobile.ui.ModalView widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.mobile.ui.ModalView">The kendo.mobile.ui.ModalView instance (if present).</returns>
- /// </signature>
- },
- kendoMobileModalView: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.mobile.ui.ModalView widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// height - Number
- /// The height of the ModalView container in pixels. If not set, the element style is used.
- ///
- /// modal - Boolean (default: true)
- /// When set to false, the ModalView will close when the user taps outside of its element.
- ///
- /// width - Number
- /// The width of the ModalView container in pixels. If not set, the element style is used.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.mobile.ui, {
- NavBar: function() {
- /// <signature>
- /// <summary>Constructor of kendo.mobile.ui.NavBar</summary>
- /// </signature>
- }
- });
- kendo.mobile.ui.NavBar = (function() {
- var original = kendo.mobile.ui.NavBar;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- destroy: function() {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// </signature>
- },
- title: function(value) {
- /// <signature>
- /// <summary>
- /// Update the title element text. The title element is specified by setting the role data attribute to view-title.
- /// </summary>
- /// <param name="value" type="String" >The text of title</param>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- jQuery.fn.kendoMobileNavBar = function() {
- this.data("kendoMobileNavBar", new kendo.mobile.ui.NavBar());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoMobileNavBar: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.mobile.ui.NavBar widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.mobile.ui.NavBar">The kendo.mobile.ui.NavBar instance (if present).</returns>
- /// </signature>
- },
- kendoMobileNavBar: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.mobile.ui.NavBar widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.mobile.ui, {
- Pane: function() {
- /// <signature>
- /// <summary>Constructor of kendo.mobile.ui.Pane</summary>
- /// </signature>
- }
- });
- kendo.mobile.ui.Pane = (function() {
- var original = kendo.mobile.ui.Pane;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- destroy: function() {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// </signature>
- },
- hideLoading: function() {
- /// <signature>
- /// <summary>
- /// Hide the loading animation.
- /// </summary>
- /// </signature>
- },
- navigate: function(url,transition) {
- /// <signature>
- /// <summary>
- /// Navigate the local or remote view.
- /// </summary>
- /// <param name="url" type="String" >The id or URL of the view.</param>
- /// <param name="transition" type="String" >The transition to apply when navigating. See View Transitions for more information.</param>
- /// </signature>
- },
- replace: function(url,transition) {
- /// <signature>
- /// <summary>
- /// Navigate to local or to remote view. The view will replace the current one in the history stack.
- /// </summary>
- /// <param name="url" type="String" >The id or URL of the view.</param>
- /// <param name="transition" type="String" >The transition to apply when navigating. See View Transitions for more information.</param>
- /// </signature>
- },
- showLoading: function() {
- /// <signature>
- /// <summary>
- /// Show the loading animation.
- /// </summary>
- /// </signature>
- },
- view: function() {
- /// <signature>
- /// <summary>
- /// Get a reference to the current view.
- /// </summary>
- /// <returns type="kendo.mobile.ui.View">the view instance.</returns>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- jQuery.fn.kendoMobilePane = function() {
- this.data("kendoMobilePane", new kendo.mobile.ui.Pane());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoMobilePane: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.mobile.ui.Pane widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.mobile.ui.Pane">The kendo.mobile.ui.Pane instance (if present).</returns>
- /// </signature>
- },
- kendoMobilePane: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.mobile.ui.Pane widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// collapsible - Boolean (default: false)
- /// 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.
- ///
- /// initial - String
- /// The id of the initial mobile View to display.
- ///
- /// layout - String
- /// The id of the default Pane Layout.
- ///
- /// loading - String (default: "Loading...")
- /// The text displayed in the loading popup. Setting this value to false will disable the loading popup.
- ///
- /// portraitWidth - Number
- /// Sets the pane width in pixels when the device is in portrait position.
- ///
- /// transition - String
- /// The default View transition.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.mobile.ui, {
- PopOver: function() {
- /// <signature>
- /// <summary>Constructor of kendo.mobile.ui.PopOver</summary>
- /// </signature>
- }
- });
- kendo.mobile.ui.PopOver = (function() {
- var original = kendo.mobile.ui.PopOver;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- close: function() {
- /// <signature>
- /// <summary>
- /// Close the popover.
- /// </summary>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// </signature>
- },
- open: function(target) {
- /// <signature>
- /// <summary>
- /// Open the PopOver.
- /// </summary>
- /// <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>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- jQuery.fn.kendoMobilePopOver = function() {
- this.data("kendoMobilePopOver", new kendo.mobile.ui.PopOver());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoMobilePopOver: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.mobile.ui.PopOver widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.mobile.ui.PopOver">The kendo.mobile.ui.PopOver instance (if present).</returns>
- /// </signature>
- },
- kendoMobilePopOver: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.mobile.ui.PopOver widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// pane - Object
- /// The pane configuration options.
- ///
- /// popup - Object
- /// The popup configuration options.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.mobile.ui, {
- ScrollView: function() {
- /// <signature>
- /// <summary>Constructor of kendo.mobile.ui.ScrollView</summary>
- /// </signature>
- }
- });
- kendo.mobile.ui.ScrollView = (function() {
- var original = kendo.mobile.ui.ScrollView;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- content: function(content) {
- /// <signature>
- /// <summary>
- /// Update the ScrollView HTML content.
- /// </summary>
- /// <param name="content" type="Object" >The new ScrollView content.</param>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// </signature>
- },
- next: function() {
- /// <signature>
- /// <summary>
- /// Switches to the next page with animation.
- /// </summary>
- /// </signature>
- },
- prev: function() {
- /// <signature>
- /// <summary>
- /// Switches to the previous page with animation.
- /// </summary>
- /// </signature>
- },
- refresh: function() {
- /// <signature>
- /// <summary>
- /// Redraw the mobile ScrollView pager. Called automatically on device orientation change event.
- /// </summary>
- /// </signature>
- },
- scrollTo: function(page,instant) {
- /// <signature>
- /// <summary>
- /// Scroll to the given page. Pages are zero-based indexed.
- /// </summary>
- /// <param name="page" type="Number" >The page to scroll to.</param>
- /// <param name="instant" type="Boolean" >If set to true, the ScrollView will jump instantly to the given page without any animation effects.</param>
- /// </signature>
- },
- setDataSource: function(dataSource) {
- /// <signature>
- /// <summary>
- /// Sets the DataSource of an existing ScrollView and rebinds it.
- /// </summary>
- /// <param name="dataSource" type="kendo.data.DataSource" ></param>
- /// </signature>
- },
- value: function(dataItem) {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// <param name="dataItem" type="Object" >The dataItem to set.</param>
- /// <returns type="Object">The currently displayed dataItem.</returns>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- jQuery.fn.kendoMobileScrollView = function() {
- this.data("kendoMobileScrollView", new kendo.mobile.ui.ScrollView());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoMobileScrollView: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.mobile.ui.ScrollView widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.mobile.ui.ScrollView">The kendo.mobile.ui.ScrollView instance (if present).</returns>
- /// </signature>
- },
- kendoMobileScrollView: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.mobile.ui.ScrollView widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// autoBind - Boolean (default: true)
- /// 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.
- ///
- /// bounceVelocityThreshold - Number (default: 1.6)
- /// The velocity threshold after which a swipe will result in a bounce effect.
- ///
- /// contentHeight - Number|String (default: "auto")
- /// 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.
- ///
- /// dataSource - kendo.data.DataSource|Object
- /// Instance of DataSource that the mobile ScrollView will be bound to. If DataSource is set, the widget will operate in data bound mode.
- ///
- /// duration - Number (default: 400)
- /// The milliseconds that take the ScrollView to snap to the current page after released.
- ///
- /// emptyTemplate - String (default: "")
- /// 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.
- ///
- /// enablePager - Boolean (default: true)
- /// If set to true the ScrollView will display a pager. By default pager is enabled.
- ///
- /// itemsPerPage - Number (default: 1)
- /// Determines how many data items will be passed to the page template.Applicable only in data bound mode.
- ///
- /// page - Number (default: 0)
- /// The initial page to display.
- ///
- /// pageSize - Number (default: 1)
- /// 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.
- ///
- /// template - String (default: "#:data#")
- /// 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.
- ///
- /// velocityThreshold - Number (default: 0.8)
- /// The velocity threshold after which a swipe will navigate to the next page (as opposed to snapping back to the current page).
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.mobile.ui, {
- Scroller: function() {
- /// <signature>
- /// <summary>Constructor of kendo.mobile.ui.Scroller</summary>
- /// </signature>
- }
- });
- kendo.mobile.ui.Scroller = (function() {
- var original = kendo.mobile.ui.Scroller;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- animatedScrollTo: function(x,y) {
- /// <signature>
- /// <summary>
- /// Scrolls the scroll container to the specified location with animation. The arguments should be negative numbers.
- /// </summary>
- /// <param name="x" type="Number" >The horizontal offset in pixels to scroll to.</param>
- /// <param name="y" type="Number" >The vertical offset in pixels to scroll to.</param>
- /// </signature>
- },
- contentResized: function() {
- /// <signature>
- /// <summary>
- /// Updates the scroller dimensions. Should be called after the contents of the scroller update their size
- /// </summary>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// </signature>
- },
- disable: function() {
- /// <signature>
- /// <summary>
- /// Disables the scrolling of the element.
- /// </summary>
- /// </signature>
- },
- enable: function() {
- /// <signature>
- /// <summary>
- /// Enables the scrolling of the element after it has been disabled by calling disable.
- /// </summary>
- /// </signature>
- },
- height: function() {
- /// <signature>
- /// <summary>
- /// Returns the viewport height of the scrollable element.
- /// </summary>
- /// <returns type="Number">the viewport height in pixels.</returns>
- /// </signature>
- },
- pullHandled: function() {
- /// <signature>
- /// <summary>
- /// Indicate that the pull event is handled (i.e. data from the server has been retrieved).
- /// </summary>
- /// </signature>
- },
- reset: function() {
- /// <signature>
- /// <summary>
- /// Scrolls the container to the top.
- /// </summary>
- /// </signature>
- },
- scrollHeight: function() {
- /// <signature>
- /// <summary>
- /// Returns the height in pixels of the scroller content.
- /// </summary>
- /// </signature>
- },
- scrollTo: function(x,y) {
- /// <signature>
- /// <summary>
- /// Scrolls the container to the specified location. The arguments should be negative numbers.
- /// </summary>
- /// <param name="x" type="Number" >The horizontal offset in pixels to scroll to.</param>
- /// <param name="y" type="Number" >The vertical offset in pixels to scroll to.</param>
- /// </signature>
- },
- scrollWidth: function() {
- /// <signature>
- /// <summary>
- /// Returns the width in pixels of the scroller content.
- /// </summary>
- /// </signature>
- },
- zoomOut: function() {
- /// <signature>
- /// <summary>
- /// Zooms the scroller out to the minimum zoom level possible.
- /// </summary>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- jQuery.fn.kendoMobileScroller = function() {
- this.data("kendoMobileScroller", new kendo.mobile.ui.Scroller());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoMobileScroller: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.mobile.ui.Scroller widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.mobile.ui.Scroller">The kendo.mobile.ui.Scroller instance (if present).</returns>
- /// </signature>
- },
- kendoMobileScroller: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.mobile.ui.Scroller widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// elastic - Boolean (default: true)
- /// Whether or not to allow out of bounds dragging and easing.
- ///
- /// messages - Object
- /// Defines the text of the Scroller pull to refresh messages. Used primary for localization.
- ///
- /// pullOffset - Number (default: 140)
- /// The threshold below which releasing the scroller will trigger the pull event. Has effect only when the pullToRefresh option is set to true.
- ///
- /// pullToRefresh - Boolean (default: false)
- /// 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.
- ///
- /// useNative - Boolean (default: false)
- /// 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.
- ///
- /// visibleScrollHints - Boolean (default: false)
- /// If set to true, the scroller scroll hints will always be displayed.
- ///
- /// zoom - Boolean (default: false)
- /// If set to true, the user can zoom in/out the contents of the widget using the pinch/zoom gesture.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.mobile.ui, {
- SplitView: function() {
- /// <signature>
- /// <summary>Constructor of kendo.mobile.ui.SplitView</summary>
- /// </signature>
- }
- });
- kendo.mobile.ui.SplitView = (function() {
- var original = kendo.mobile.ui.SplitView;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- destroy: function() {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// </signature>
- },
- expandPanes: function() {
- /// <signature>
- /// <summary>
- /// Displays the collapsible panes; has effect only when the device is in portrait orientation.
- /// </summary>
- /// </signature>
- },
- collapsePanes: function() {
- /// <signature>
- /// <summary>
- /// Collapses back the collapsible panes (displayed previously with expandPanes); has effect only when the device is in portrait orientation.
- /// </summary>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- jQuery.fn.kendoMobileSplitView = function() {
- this.data("kendoMobileSplitView", new kendo.mobile.ui.SplitView());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoMobileSplitView: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.mobile.ui.SplitView widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.mobile.ui.SplitView">The kendo.mobile.ui.SplitView instance (if present).</returns>
- /// </signature>
- },
- kendoMobileSplitView: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.mobile.ui.SplitView widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// style - String (default: "horizontal")
- /// Defines the SplitView style - horizontal or vertical.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.mobile.ui, {
- Switch: function() {
- /// <signature>
- /// <summary>Constructor of kendo.mobile.ui.Switch</summary>
- /// </signature>
- }
- });
- kendo.mobile.ui.Switch = (function() {
- var original = kendo.mobile.ui.Switch;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- check: function(check) {
- /// <signature>
- /// <summary>
- /// Get/Set the checked state of the widget.
- /// </summary>
- /// <param name="check" type="Boolean" >Whether to turn the widget on or off.</param>
- /// <returns type="Boolean">The checked state of the widget.</returns>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// </signature>
- },
- enable: function(enable) {
- /// <signature>
- /// <summary>
- /// Changes the enabled state of the widget.
- /// </summary>
- /// <param name="enable" type="Boolean" >Whether to enable or disable the widget.</param>
- /// </signature>
- },
- refresh: function() {
- /// <signature>
- /// <summary>
- /// Forces the Switch to recalculate its dimensions. Useful when major changes in the interface happen dynamically, like for instance changing the skin.
- /// </summary>
- /// </signature>
- },
- toggle: function() {
- /// <signature>
- /// <summary>
- /// Toggle the checked state of the widget.
- /// </summary>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- jQuery.fn.kendoMobileSwitch = function() {
- this.data("kendoMobileSwitch", new kendo.mobile.ui.Switch());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoMobileSwitch: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.mobile.ui.Switch widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.mobile.ui.Switch">The kendo.mobile.ui.Switch instance (if present).</returns>
- /// </signature>
- },
- kendoMobileSwitch: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.mobile.ui.Switch widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// checked - Boolean (default: false)
- /// The checked state of the widget.
- ///
- /// enable - Boolean (default: true)
- /// 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.
- ///
- /// offLabel - String (default: "OFF")
- /// The OFF label.
- ///
- /// onLabel - String (default: "ON")
- /// The ON label.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.mobile.ui, {
- TabStrip: function() {
- /// <signature>
- /// <summary>Constructor of kendo.mobile.ui.TabStrip</summary>
- /// </signature>
- }
- });
- kendo.mobile.ui.TabStrip = (function() {
- var original = kendo.mobile.ui.TabStrip;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- badge: function(tab,value) {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// <param name="tab" type="Object" >The target tab specified either as a jQuery selector/object or as an item index.</param>
- /// <param name="value" type="Object" >The target value to be set or false to be removed.</param>
- /// <returns type="String|kendo.mobile.ui.TabStrip">Returns the badge value if invoked without parameters, otherwise returns the TabStrip object.</returns>
- /// </signature>
- },
- currentItem: function() {
- /// <signature>
- /// <summary>
- /// Get the currently selected tab DOM element.
- /// </summary>
- /// <returns type="jQuery">the currently selected tab DOM element.</returns>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// </signature>
- },
- switchTo: function(url) {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// <param name="url" type="Object" >The URL or zero based index of the tab.</param>
- /// </signature>
- },
- switchByFullUrl: function(url) {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// <param name="url" type="String" >The URL of the tab.</param>
- /// </signature>
- },
- clear: function() {
- /// <signature>
- /// <summary>
- /// Clear the currently selected tab.
- /// </summary>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- jQuery.fn.kendoMobileTabStrip = function() {
- this.data("kendoMobileTabStrip", new kendo.mobile.ui.TabStrip());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoMobileTabStrip: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.mobile.ui.TabStrip widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.mobile.ui.TabStrip">The kendo.mobile.ui.TabStrip instance (if present).</returns>
- /// </signature>
- },
- kendoMobileTabStrip: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.mobile.ui.TabStrip widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// selectedIndex - Number (default: 0)
- /// The index of the initially selected tab.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.mobile.ui, {
- View: function() {
- /// <signature>
- /// <summary>Constructor of kendo.mobile.ui.View</summary>
- /// </signature>
- }
- });
- kendo.mobile.ui.View = (function() {
- var original = kendo.mobile.ui.View;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- contentElement: function() {
- /// <signature>
- /// <summary>
- /// Retrieves the current content holder of the View - this is the content element if the View is stretched or the scroll container otherwise.
- /// </summary>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// </signature>
- },
- enable: function(enable) {
- /// <signature>
- /// <summary>
- /// Enables or disables the user interaction with the view and its contents.
- /// </summary>
- /// <param name="enable" type="Boolean" >Omitting the parameter or passing true enables the view. Passing false disables the view.</param>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- jQuery.fn.kendoMobileView = function() {
- this.data("kendoMobileView", new kendo.mobile.ui.View());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoMobileView: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.mobile.ui.View widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.mobile.ui.View">The kendo.mobile.ui.View instance (if present).</returns>
- /// </signature>
- },
- kendoMobileView: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.mobile.ui.View widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// model - String (default: null)
- /// 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.
- ///
- /// reload - Boolean (default: false)
- /// 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.
- ///
- /// scroller - Object (default: null)
- /// Configuration options to be passed to the scroller instance instantiated by the view. For more details, check the scroller configuration options.
- ///
- /// stretch - Boolean (default: false)
- /// 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.
- ///
- /// title - String
- /// The text to display in the NavBar title (if present) and the browser title.
- ///
- /// useNativeScrolling - Boolean (default: false)
- /// 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.
- ///
- /// zoom - Boolean (default: false)
- /// If set to true, the user can zoom in/out the contents of the view using the pinch/zoom gesture.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.mobile.ui, {
- Widget: function() {
- /// <signature>
- /// <summary>Constructor of kendo.mobile.ui.Widget</summary>
- /// </signature>
- }
- });
- kendo.mobile.ui.Widget = (function() {
- var original = kendo.mobile.ui.Widget;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- view: function() {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- jQuery.fn.kendoMobileWidget = function() {
- this.data("kendoMobileWidget", new kendo.mobile.ui.Widget());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoMobileWidget: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.mobile.ui.Widget widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.mobile.ui.Widget">The kendo.mobile.ui.Widget instance (if present).</returns>
- /// </signature>
- },
- kendoMobileWidget: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.mobile.ui.Widget widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ooxml, {
- Workbook: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ooxml.Workbook</summary>
- /// </signature>
- }
- });
- kendo.ooxml.Workbook = (function() {
- var original = kendo.ooxml.Workbook;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- toDataURL: function() {
- /// <signature>
- /// <summary>
- /// Creates an Excel file that represents the current workbook and returns it as a data URL.
- /// </summary>
- /// <returns type="String">- the Excel file as data URL.</returns>
- /// </signature>
- },
- toDataURLAsync: function() {
- /// <signature>
- /// <summary>
- /// Creates an Excel file that represents the current workbook and returns a Promise that is resolved with the data URL.
- /// </summary>
- /// <returns type="Promise">- A promise that will be resolved with the Excel file as data URL.</returns>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- intellisense.annotate(kendo.ui, {
- Touch: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.Touch</summary>
- /// </signature>
- }
- });
- kendo.ui.Touch = (function() {
- var original = kendo.ui.Touch;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- cancel: function() {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// 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.
- /// </summary>
- /// </signature>
- },
- bind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Binds to a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be executed when the event is triggered.</param>
- /// </signature>
- },
- unbind: function(event, callback) {
- /// <signature>
- /// <summary>
- /// Unbinds a callback from a widget event.
- /// </summary>
- /// <param name="event" type="String">The event name</param>
- /// <param name="callback" type="Function">The callback to be removed.</param>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- jQuery.fn.kendoTouch = function() {
- this.data("kendoTouch", new kendo.ui.Touch());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoTouch: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.Touch widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.Touch">The kendo.ui.Touch instance (if present).</returns>
- /// </signature>
- },
- kendoTouch: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.Touch widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// filter - String
- /// jQuery selector that specifies child elements that are touchable if a widget is attached to a container.
- ///
- /// surface - jQuery (default: null)
- /// 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.
- ///
- /// multiTouch - Boolean (default: false)
- /// 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.
- ///
- /// enableSwipe - Boolean (default: false)
- /// 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.
- ///
- /// minXDelta - Number (default: 30)
- /// The minimum horizontal distance in pixels the user should swipe before the swipe event is triggered.
- ///
- /// maxYDelta - Number (default: 20)
- /// The maximum vertical deviation in pixels of the swipe event. Swipes with higher deviation are discarded.
- ///
- /// maxDuration - Number (default: 1000)
- /// The maximum amount of time in milliseconds the swipe event can last. Slower swipes are discarded.
- ///
- /// minHold - Number (default: 800)
- /// 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.
- ///
- /// doubleTapTimeout - Number (default: 400)
- /// The maximum period (in milliseconds) between two consecutive taps which will trigger the doubletap event.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
|