123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680 |
- /* 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.dataviz, {
- ChartAxis: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.ChartAxis</summary>
- /// </signature>
- }
- });
- kendo.dataviz.ChartAxis = (function() {
- var original = kendo.dataviz.ChartAxis;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- range: function() {
- /// <signature>
- /// <summary>
- /// Returns an object with the axis minimum and maximum values.
- /// </summary>
- /// <returns type="Object">the object with the min and max values.</returns>
- /// </signature>
- },
- slot: function(from,to,limit) {
- /// <signature>
- /// <summary>
- /// Returns a slot based on the specified from and to values.
- /// </summary>
- /// <param name="from" type="Object" >The slot from value.</param>
- /// <param name="to" type="Object" >The slot to value. If a to value is not specified, then the from value will be used.</param>
- /// <param name="limit" type="Boolean" >A boolean value indicating whether the slot should be limited to the current range. By default the range is limited.</param>
- /// <returns type="kendo.geometry.Rect|kendo.geometry.Arc">a rectangle or arc(for radar category and polar x axis) representing the slot.</returns>
- /// </signature>
- },
- value: function(point) {
- /// <signature>
- /// <summary>
- /// Returns the value corresponding to the passed surface point.
- /// </summary>
- /// <param name="point" type="kendo.geometry.Point" >The surface point for which the value should be found.</param>
- /// </signature>
- },
- valueRange: function() {
- /// <signature>
- /// <summary>
- /// Returns an object with the minimum and maximum point value associated with the axis.
- /// </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.dataviz, {
- ChartPane: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.ChartPane</summary>
- /// </signature>
- }
- });
- kendo.dataviz.ChartPane = (function() {
- var original = kendo.dataviz.ChartPane;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- findAxisByName: function(name) {
- /// <signature>
- /// <summary>
- /// Returns an axis from the pane with the specified name.
- /// </summary>
- /// <param name="name" type="String" >The axis name.</param>
- /// <returns type="kendo.dataviz.ChartAxis">The chart axis.</returns>
- /// </signature>
- },
- series: function() {
- /// <signature>
- /// <summary>
- /// Returns an array with the pane series.
- /// </summary>
- /// <returns type="Array">the array holding the pane series.</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.dataviz, {
- ChartPlotArea: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.ChartPlotArea</summary>
- /// </signature>
- }
- });
- kendo.dataviz.ChartPlotArea = (function() {
- var original = kendo.dataviz.ChartPlotArea;
- 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.dataviz, {
- ChartPoint: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.ChartPoint</summary>
- /// </signature>
- }
- });
- kendo.dataviz.ChartPoint = (function() {
- var original = kendo.dataviz.ChartPoint;
- 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.dataviz, {
- ChartSeries: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.ChartSeries</summary>
- /// </signature>
- }
- });
- kendo.dataviz.ChartSeries = (function() {
- var original = kendo.dataviz.ChartSeries;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- data: function(data) {
- /// <signature>
- /// <summary>
- /// Gets or sets the series data.
- /// </summary>
- /// <param name="data" type="Array" >The series data to be set.</param>
- /// <returns type="Array">the current series data.</returns>
- /// </signature>
- },
- findPoint: function(callback) {
- /// <signature>
- /// <summary>
- /// Finds a series point. The method accepts a function which will be called for each point until the function returns true.
- /// </summary>
- /// <param name="callback" type="Function" >The function that will be called with the series points.</param>
- /// <returns type="kendo.dataviz.ChartPoint">the found point.</returns>
- /// </signature>
- },
- points: function(filter) {
- /// <signature>
- /// <summary>
- /// Gets or sets the series data.
- /// </summary>
- /// <param name="filter" type="Function" >An optional function that can be used to filter the points.</param>
- /// <returns type="Array">the series points.</returns>
- /// </signature>
- },
- toggleHighlight: function(show,filter) {
- /// <signature>
- /// <summary>
- /// Toggles the highlight for the entire series or for specific point(s).
- /// </summary>
- /// <param name="show" type="Boolean" >A value indicating whether the highlight should be shown or hidden.</param>
- /// <param name="filter" type="Object" >A function that will is used to filter the highlighted points or an Array holding the point(s) that should be highlighted.</param>
- /// </signature>
- },
- toggleVisibility: function(show,filter) {
- /// <signature>
- /// <summary>
- /// Toggles the visibility for the entire series or for specific point(s).
- /// </summary>
- /// <param name="show" type="Boolean" >A value indicating whether the series or the points should be shown or hidden.</param>
- /// <param name="filter" type="Function" >An optional function that is used to filter the points that should be shown or hidden. The function is passed the point dataItem as argument.</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.dataviz, {
- Navigator: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.Navigator</summary>
- /// </signature>
- }
- });
- kendo.dataviz.Navigator = (function() {
- var original = kendo.dataviz.Navigator;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- select: function() {
- /// <signature>
- /// <summary>
- /// Gets or sets the Navigator selected date range.
- /// </summary>
- /// <returns type="Object">An object with two date fields - from and to.</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.dataviz.diagram, {
- Circle: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.diagram.Circle</summary>
- /// </signature>
- }
- });
- kendo.dataviz.diagram.Circle = (function() {
- var original = kendo.dataviz.diagram.Circle;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- position: function(offset) {
- /// <signature>
- /// <summary>
- /// Get or sets the element position.
- /// </summary>
- /// <param name="offset" type="kendo.dataviz.diagram.Point" >The offset of the element.</param>
- /// </signature>
- },
- rotate: function(angle,center) {
- /// <signature>
- /// <summary>
- /// Rotates the element 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="kendo.dataviz.diagram.Point" >The center of rotation.</param>
- /// </signature>
- },
- visible: function(visible) {
- /// <signature>
- /// <summary>
- /// Gets or sets the visibility of the current element.
- /// </summary>
- /// <param name="visible" type="Boolean" >The new visibility state.</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.dataviz.diagram, {
- Connection: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.diagram.Connection</summary>
- /// </signature>
- }
- });
- kendo.dataviz.diagram.Connection = (function() {
- var original = kendo.dataviz.diagram.Connection;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- source: function(source) {
- /// <signature>
- /// <summary>
- /// Gets or sets the current source of the connection.This object can be a Point for a floating endpoint (i.e. not attached to a shape), a Shape or a Connector of a Shape. You can use the Shape.getConnector() method to fetch a Connector on the basis of its name. If a Shape is specified the Connection will attach to the "Auto" connector.
- /// </summary>
- /// <param name="source" type="Object" >Point: any Point on the canvas. This creates an unattached floating endpoint.; Shape: will bind the endpoint to the"Auto" Connector which will switch between the other connectors to minimize the length of the connection. or Connector: the connection's endpoint will remain fixed attached to the specified Connector.. If no source is specified the method will return the current object to which the Connection's endpoint is attached.</param>
- /// <returns type="Object">the connection source.</returns>
- /// </signature>
- },
- sourcePoint: function() {
- /// <signature>
- /// <summary>
- /// Gets the global coordinate of the connection's start (initial endpoint). The method returns a Point independently of the object to which the source is attached.
- /// </summary>
- /// <returns type="kendo.dataviz.diagram.Point">the coordinates of the connection source.</returns>
- /// </signature>
- },
- target: function(target) {
- /// <signature>
- /// <summary>
- /// Gets or set the target of the Connection.This object can be a Point for a floating endpoint (i.e. not attached to a shape), a Shape or a Connector of a Shape. You can use the Shape.getConnector() method to fetch a Connector on the basis of its name. If a Shape is specified the Connection will attach to the "Auto" connector.
- /// </summary>
- /// <param name="target" type="Object" >Point: any Point on the canvas. This creates an unattached floating endpoint.; Shape: will bind the endpoint to the"Auto" Connector which will switch between the other connectors to minimize the length of the connection. or Connector: the connection's endpoint will remain fixed attached to the specified Connector.. If no source is specified the method will return the current object to which the Connection's endpoint is attached.</param>
- /// <returns type="Object">the connection target.</returns>
- /// </signature>
- },
- targetPoint: function() {
- /// <signature>
- /// <summary>
- /// Similar to the sourcePoint, this gets the coordinates of the target of the Connection independently of its endpoint attachment.
- /// </summary>
- /// <returns type="kendo.dataviz.diagram.Point">the coordinates of the connection target.</returns>
- /// </signature>
- },
- select: function(value) {
- /// <signature>
- /// <summary>
- /// Select or deselects the Connection.
- /// </summary>
- /// <param name="value" type="Boolean" >True to select the Connection and false to deselect it.</param>
- /// </signature>
- },
- type: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the (sub-) type of the Connection which defines the way it routes.The routing of a connection is the way that intermediate points of a Connection defines a route. A route is usually defined on the basis of constraints or behaviors. Currently the framework defines a default polyline route (which simply connects the given intermediate points) and a simple rectangular (aka cascading) route. The cascading type is useful when using tree layout and hierarchies; the routed Connection will in this case enhance the representation of the hierarchy and thus reproduce a classic organization diagram.
- /// </summary>
- /// <param name="value" type="String" >"Polyline" - connects the defined intermediate points. See the points() method. or "Cascading" - discards given points and defines a cascading path between the endpoints..</param>
- /// </signature>
- },
- points: function() {
- /// <signature>
- /// <summary>
- /// Gets the intermediate points of the connection.
- /// </summary>
- /// <returns type="Array">the intermediate points of the connection.</returns>
- /// </signature>
- },
- allPoints: function() {
- /// <signature>
- /// <summary>
- /// Gets all points of the Connection. This is the union of the endpoints and the intermediate points.
- /// </summary>
- /// <returns type="Array">all points of the connection.</returns>
- /// </signature>
- },
- redraw: function(options) {
- /// <signature>
- /// <summary>
- /// Redraws the Connection with the given options.
- /// </summary>
- /// <param name="options" type="Object" >The new options for the connection. This object should follow the configuration structure.</param>
- /// </signature>
- },
- visible: function(visible) {
- /// <signature>
- /// <summary>
- /// Gets or sets the connection visible state.
- /// </summary>
- /// <param name="visible" type="Boolean" >Indicates whether the connection should be visible in the Diagram. If skipped, the method will return the current visible state of the connection.</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.dataviz.diagram, {
- Connector: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.diagram.Connector</summary>
- /// </signature>
- }
- });
- kendo.dataviz.diagram.Connector = (function() {
- var original = kendo.dataviz.diagram.Connector;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- position: function() {
- /// <signature>
- /// <summary>
- /// Gets the position of the Connector.
- /// </summary>
- /// <returns type="kendo.dataviz.diagram.Point">the current position of the connector.</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.dataviz.diagram, {
- Group: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.diagram.Group</summary>
- /// </signature>
- }
- });
- kendo.dataviz.diagram.Group = (function() {
- var original = kendo.dataviz.diagram.Group;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- append: function(element) {
- /// <signature>
- /// <summary>
- /// Appends the given element to the group
- /// </summary>
- /// <param name="element" type="Object" >The element to append.</param>
- /// </signature>
- },
- clear: function() {
- /// <signature>
- /// <summary>
- /// Removes all elements from the group.
- /// </summary>
- /// </signature>
- },
- remove: function(element) {
- /// <signature>
- /// <summary>
- /// Removes the given element from the group
- /// </summary>
- /// <param name="element" type="Object" >The element to remove.</param>
- /// </signature>
- },
- position: function(offset) {
- /// <signature>
- /// <summary>
- /// Get or sets the element position.
- /// </summary>
- /// <param name="offset" type="kendo.dataviz.diagram.Point" >The origin of the element.</param>
- /// </signature>
- },
- rotate: function(angle,center) {
- /// <signature>
- /// <summary>
- /// Rotates the element 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="kendo.dataviz.diagram.Point" >The center of rotation.</param>
- /// </signature>
- },
- visible: function(visible) {
- /// <signature>
- /// <summary>
- /// Gets or sets the visibility of the current element.
- /// </summary>
- /// <param name="visible" type="Boolean" >The new visibility state.</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.dataviz.diagram, {
- Image: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.diagram.Image</summary>
- /// </signature>
- }
- });
- kendo.dataviz.diagram.Image = (function() {
- var original = kendo.dataviz.diagram.Image;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- position: function(offset) {
- /// <signature>
- /// <summary>
- /// Get or sets the element position.
- /// </summary>
- /// <param name="offset" type="kendo.dataviz.diagram.Point" >The origin of the element.</param>
- /// </signature>
- },
- rotate: function(angle,center) {
- /// <signature>
- /// <summary>
- /// Rotates the element 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="kendo.dataviz.diagram.Point" >The center of rotation.</param>
- /// </signature>
- },
- visible: function(visible) {
- /// <signature>
- /// <summary>
- /// Gets or sets the visibility of the current element.
- /// </summary>
- /// <param name="visible" type="Boolean" >The new visibility state.</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.dataviz.diagram, {
- Layout: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.diagram.Layout</summary>
- /// </signature>
- }
- });
- kendo.dataviz.diagram.Layout = (function() {
- var original = kendo.dataviz.diagram.Layout;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- append: function(element) {
- /// <signature>
- /// <summary>
- /// Appends the given element to the group
- /// </summary>
- /// <param name="element" type="Object" >The element to append.</param>
- /// </signature>
- },
- clear: function() {
- /// <signature>
- /// <summary>
- /// Removes all elements from the group.
- /// </summary>
- /// </signature>
- },
- rect: function(rect) {
- /// <signature>
- /// <summary>
- /// Gets or sets the layout rectangle.
- /// </summary>
- /// <param name="rect" type="kendo.dataviz.diagram.Rect" >The layout rectangle.</param>
- /// <returns type="kendo.dataviz.diagram.Rect">The current rectangle.</returns>
- /// </signature>
- },
- reflow: function() {
- /// <signature>
- /// <summary>
- /// Arranges the elements based on the current options.
- /// </summary>
- /// </signature>
- },
- remove: function(element) {
- /// <signature>
- /// <summary>
- /// Removes the given element from the group
- /// </summary>
- /// <param name="element" type="Object" >The element to remove.</param>
- /// </signature>
- },
- visible: function(visible) {
- /// <signature>
- /// <summary>
- /// Gets or sets the visibility of the current element.
- /// </summary>
- /// <param name="visible" type="Boolean" >The new visibility state.</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.dataviz.diagram, {
- Line: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.diagram.Line</summary>
- /// </signature>
- }
- });
- kendo.dataviz.diagram.Line = (function() {
- var original = kendo.dataviz.diagram.Line;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- position: function(offset) {
- /// <signature>
- /// <summary>
- /// Get or sets the element position.
- /// </summary>
- /// <param name="offset" type="kendo.dataviz.diagram.Point" >The origin of the element.</param>
- /// </signature>
- },
- rotate: function(angle,center) {
- /// <signature>
- /// <summary>
- /// Rotates the element 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="kendo.dataviz.diagram.Point" >The center of rotation.</param>
- /// </signature>
- },
- visible: function(visible) {
- /// <signature>
- /// <summary>
- /// Gets or sets the visibility of the current element.
- /// </summary>
- /// <param name="visible" type="Boolean" >The new visibility state.</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.dataviz.diagram, {
- Path: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.diagram.Path</summary>
- /// </signature>
- }
- });
- kendo.dataviz.diagram.Path = (function() {
- var original = kendo.dataviz.diagram.Path;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- data: function(path) {
- /// <signature>
- /// <summary>
- /// Gets or sets the SVG Path data.
- /// </summary>
- /// <param name="path" type="String" >The new SVG path.</param>
- /// <returns type="String">The current SVG path.</returns>
- /// </signature>
- },
- visible: function(visible) {
- /// <signature>
- /// <summary>
- /// Gets or sets the visibility of the current element.
- /// </summary>
- /// <param name="visible" type="Boolean" >The new visibility state.</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.dataviz.diagram, {
- Point: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.diagram.Point</summary>
- /// </signature>
- }
- });
- kendo.dataviz.diagram.Point = (function() {
- var original = kendo.dataviz.diagram.Point;
- 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.dataviz.diagram, {
- Polyline: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.diagram.Polyline</summary>
- /// </signature>
- }
- });
- kendo.dataviz.diagram.Polyline = (function() {
- var original = kendo.dataviz.diagram.Polyline;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- points: function(points) {
- /// <signature>
- /// <summary>
- /// Gets or sets the polyline points.
- /// </summary>
- /// <param name="points" type="Array" >The new points.</param>
- /// <returns type="Array">The current points.</returns>
- /// </signature>
- },
- visible: function(visible) {
- /// <signature>
- /// <summary>
- /// Gets or sets the visibility of the current element.
- /// </summary>
- /// <param name="visible" type="Boolean" >The new visibility state.</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.dataviz.diagram, {
- Rect: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.diagram.Rect</summary>
- /// </signature>
- }
- });
- kendo.dataviz.diagram.Rect = (function() {
- var original = kendo.dataviz.diagram.Rect;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- position: function(offset) {
- /// <signature>
- /// <summary>
- /// Get or sets the element position.
- /// </summary>
- /// <param name="offset" type="kendo.dataviz.diagram.Point" >The origin of the element.</param>
- /// </signature>
- },
- rotate: function(angle,center) {
- /// <signature>
- /// <summary>
- /// Rotates the element 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="kendo.dataviz.diagram.Point" >The center of rotation.</param>
- /// </signature>
- },
- visible: function(visible) {
- /// <signature>
- /// <summary>
- /// Gets or sets the visibility of the current element.
- /// </summary>
- /// <param name="visible" type="Boolean" >The new visibility state.</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.dataviz.diagram, {
- Rectangle: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.diagram.Rectangle</summary>
- /// </signature>
- }
- });
- kendo.dataviz.diagram.Rectangle = (function() {
- var original = kendo.dataviz.diagram.Rectangle;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- visible: function(visible) {
- /// <signature>
- /// <summary>
- /// Gets or sets the visibility of the current element.
- /// </summary>
- /// <param name="visible" type="Boolean" >The new visibility state.</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.dataviz.diagram, {
- Shape: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.diagram.Shape</summary>
- /// </signature>
- }
- });
- kendo.dataviz.diagram.Shape = (function() {
- var original = kendo.dataviz.diagram.Shape;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- position: function(point) {
- /// <signature>
- /// <summary>
- /// Get or set method returning the current global position or sets the position specified.
- /// </summary>
- /// <param name="point" type="kendo.dataviz.diagram.Point" >Either the location to set or if no parameter given returns the current location.</param>
- /// </signature>
- },
- clone: function() {
- /// <signature>
- /// <summary>
- /// Returns a clone (with a different id) of the shape.
- /// </summary>
- /// <returns type="kendo.dataviz.diagram.Shape">A clone of the current shape.</returns>
- /// </signature>
- },
- connections: function(type) {
- /// <signature>
- /// <summary>
- /// Returns the connections attached to the shape. You can optionally specify to return only the incoming or outgoing connections.
- /// </summary>
- /// <param name="type" type="String" >If not parameter specified all connections are returned, if "in" then only the incoming (i.e. towards the shape) are returned, if "out" the only the outgoing (i.e. away from the shape) are returned.</param>
- /// </signature>
- },
- getConnector: function(name) {
- /// <signature>
- /// <summary>
- /// Fetches a (default or custom) Connector defined on the Shape by its name.
- /// </summary>
- /// <param name="name" type="String" >The name of the connector to get from the shape.</param>
- /// </signature>
- },
- getPosition: function(side) {
- /// <signature>
- /// <summary>
- /// Returns the middle positions of the sides of the bounds or the center of the shape's bounds. This method is useful when defining custom connectors where a position function relative to the shape's coordinate system is required.
- /// </summary>
- /// <param name="side" type="String" >One of the four sides of a bound; "left", "right", "top", "bottom". If none specified the center of the shape's bounds will be returned.</param>
- /// </signature>
- },
- redraw: function(options) {
- /// <signature>
- /// <summary>
- /// Renders the shape with the given options. It redefines the options and redraws the shape accordingly.
- /// </summary>
- /// <param name="options" type="Object" >The object containing a subset of options to change. Follows the same structure as the configuration.</param>
- /// </signature>
- },
- redrawVisual: function() {
- /// <signature>
- /// <summary>
- /// Redraws the shape visual element and its content
- /// </summary>
- /// </signature>
- },
- select: function(value) {
- /// <signature>
- /// <summary>
- /// Selects or deselects the shape.
- /// </summary>
- /// <param name="value" type="Boolean" >Use 'true' to select the shape or 'false' to deselect it.</param>
- /// </signature>
- },
- visible: function(visible) {
- /// <signature>
- /// <summary>
- /// Gets or sets the shape visible state.
- /// </summary>
- /// <param name="visible" type="Boolean" >Indicates whether the shape should be visible in the Diagram. If skipped, the method will return the current visible state of the shape.</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.dataviz.diagram, {
- TextBlock: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.diagram.TextBlock</summary>
- /// </signature>
- }
- });
- kendo.dataviz.diagram.TextBlock = (function() {
- var original = kendo.dataviz.diagram.TextBlock;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- content: function(content) {
- /// <signature>
- /// <summary>
- /// Gets or sets the text block content.
- /// </summary>
- /// <param name="content" type="String" >The new text content.</param>
- /// <returns type="String">the current text content.</returns>
- /// </signature>
- },
- position: function(offset) {
- /// <signature>
- /// <summary>
- /// Get or sets the element position.
- /// </summary>
- /// <param name="offset" type="kendo.dataviz.diagram.Point" >The origin of the element.</param>
- /// </signature>
- },
- rotate: function(angle,center) {
- /// <signature>
- /// <summary>
- /// Rotates the element 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="kendo.dataviz.diagram.Point" >The center of rotation.</param>
- /// </signature>
- },
- visible: function(visible) {
- /// <signature>
- /// <summary>
- /// Gets or sets the visibility of the current element.
- /// </summary>
- /// <param name="visible" type="Boolean" >The new visibility state.</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.dataviz.map, {
- BingLayer: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.map.BingLayer</summary>
- /// </signature>
- }
- });
- kendo.dataviz.map.BingLayer = (function() {
- var original = kendo.dataviz.map.BingLayer;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- show: function() {
- /// <signature>
- /// <summary>
- /// Shows the layer, if not visible.
- /// </summary>
- /// </signature>
- },
- hide: function() {
- /// <signature>
- /// <summary>
- /// Hides the layer, if visible.
- /// </summary>
- /// </signature>
- },
- imagerySet: function() {
- /// <signature>
- /// <summary>
- /// Sets the preferred imagery set for the map.Available imagery sets: * "aerial" - Aerial imagery. * "aerialWithLabels" - Aerial imagery with a road overlay. * "road" - Roads without additional imagery.
- /// </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.dataviz.map, {
- Extent: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.map.Extent</summary>
- /// </signature>
- }
- });
- kendo.dataviz.map.Extent = (function() {
- var original = kendo.dataviz.map.Extent;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- contains: function(location) {
- /// <signature>
- /// <summary>
- /// Tests if a location is contained within the extent.
- /// </summary>
- /// <param name="location" type="kendo.dataviz.map.Location" >The location to test for.</param>
- /// <returns type="Boolean">true if the extent contains the location, false otherwise.</returns>
- /// </signature>
- },
- containsAny: function(locations) {
- /// <signature>
- /// <summary>
- /// Tests if any of the locations is contained within the extent.
- /// </summary>
- /// <param name="locations" type="Array" >An array of locations to test for.</param>
- /// <returns type="Boolean">true if the extent contains any of the locations, false otherwise.</returns>
- /// </signature>
- },
- center: function() {
- /// <signature>
- /// <summary>
- /// Returns the center of the extent.
- /// </summary>
- /// <returns type="kendo.dataviz.map.Location">The extent center location.</returns>
- /// </signature>
- },
- include: function(location) {
- /// <signature>
- /// <summary>
- /// Grows the extent, if required, to contain the specified location.
- /// </summary>
- /// <param name="location" type="kendo.dataviz.map.Location" >The location to include in the extent.</param>
- /// </signature>
- },
- includeAll: function(locations) {
- /// <signature>
- /// <summary>
- /// Grows the extent, if required, to contain all specified locations.
- /// </summary>
- /// <param name="locations" type="Array" >The locations to include in the extent.</param>
- /// </signature>
- },
- edges: function() {
- /// <signature>
- /// <summary>
- /// Returns the four extreme locations of the extent.
- /// </summary>
- /// <returns type="Object">An object with nw, ne, se and sw locations.</returns>
- /// </signature>
- },
- toArray: function() {
- /// <signature>
- /// <summary>
- /// Returns the four extreme locations of the extent as an array.
- /// </summary>
- /// <returns type="Array">An array with [NW, NE, SE, SW] locations.</returns>
- /// </signature>
- },
- overlaps: function(extent) {
- /// <signature>
- /// <summary>
- /// Tests if the given extent overlaps with this instance.
- /// </summary>
- /// <param name="extent" type="kendo.dataviz.map.Extent" >The extent to test with.</param>
- /// <returns type="Boolean">true if the extents overlap, 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.dataviz.map, {
- Layer: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.map.Layer</summary>
- /// </signature>
- }
- });
- kendo.dataviz.map.Layer = (function() {
- var original = kendo.dataviz.map.Layer;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- show: function() {
- /// <signature>
- /// <summary>
- /// Shows the layer, if not visible.
- /// </summary>
- /// </signature>
- },
- hide: function() {
- /// <signature>
- /// <summary>
- /// Hides the layer, if visible.
- /// </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.dataviz.map, {
- Location: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.map.Location</summary>
- /// </signature>
- }
- });
- kendo.dataviz.map.Location = (function() {
- var original = kendo.dataviz.map.Location;
- 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.dataviz.map.Location">The new Location instance.</returns>
- /// </signature>
- },
- destination: function(destination,bearing) {
- /// <signature>
- /// <summary>
- /// Calculates the great-circle distance to the given destination in meters.
- /// </summary>
- /// <param name="destination" type="kendo.dataviz.map.Location" >The destination location.</param>
- /// <param name="bearing" type="Number" >The bearing to the destination in decimal degrees.</param>
- /// <returns type="Number">The distance to the specified location in meters.</returns>
- /// </signature>
- },
- distanceTo: function(distance,bearing) {
- /// <signature>
- /// <summary>
- /// Finds a destination at the given distance and bearing from this location.
- /// </summary>
- /// <param name="distance" type="Number" >The distance to the destination in meters.</param>
- /// <param name="bearing" type="Number" >The initial bearing to the destination in decimal degrees.</param>
- /// <returns type="kendo.dataviz.map.Location">The destination at the given distance and bearing.</returns>
- /// </signature>
- },
- equals: function(location) {
- /// <signature>
- /// <summary>
- /// Compares this location with another instance.
- /// </summary>
- /// <param name="location" type="kendo.dataviz.map.Location" >The location to compare with.</param>
- /// <returns type="Boolean">true if the location coordinates match; false otherwise.</returns>
- /// </signature>
- },
- round: function(digits) {
- /// <signature>
- /// <summary>
- /// Rounds the location coordinates to the specified number of fractional digits.
- /// </summary>
- /// <param name="digits" type="Number" >Number of fractional digits.</param>
- /// <returns type="kendo.dataviz.map.Location">The current Location instance.</returns>
- /// </signature>
- },
- toArray: function() {
- /// <signature>
- /// <summary>
- /// Returns the location coordinates as an [lat, lng] array.
- /// </summary>
- /// <returns type="Array">An array representation of the location, e.g. [39, -179]</returns>
- /// </signature>
- },
- toString: function() {
- /// <signature>
- /// <summary>
- /// Returns the location coordinates formatted as '{lat},{lng}'.
- /// </summary>
- /// <returns type="String">A string representation of the location, e.g. "39,-179"</returns>
- /// </signature>
- },
- wrap: function() {
- /// <signature>
- /// <summary>
- /// Wraps the latitude and longitude to fit into the [0, 90] and [0, 180] range.
- /// </summary>
- /// <returns type="kendo.dataviz.map.Location">The current Location 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.dataviz.map, {
- Marker: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.map.Marker</summary>
- /// </signature>
- }
- });
- kendo.dataviz.map.Marker = (function() {
- var original = kendo.dataviz.map.Marker;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- location: function(location) {
- /// <signature>
- /// <summary>
- /// Gets or sets the Marker location.
- /// </summary>
- /// <param name="location" type="Object" >The marker location on the map. Coordinates are listed as [Latitude, Longitude].</param>
- /// <returns type="kendo.dataviz.map.Location">The current location of the Marker</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.dataviz.map, {
- MarkerLayer: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.map.MarkerLayer</summary>
- /// </signature>
- }
- });
- kendo.dataviz.map.MarkerLayer = (function() {
- var original = kendo.dataviz.map.MarkerLayer;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- add: function(marker) {
- /// <signature>
- /// <summary>
- /// Adds a Marker to the layer.
- /// </summary>
- /// <param name="marker" type="kendo.dataviz.map.Marker" >The Marker instance to add.</param>
- /// </signature>
- },
- clear: function() {
- /// <signature>
- /// <summary>
- /// Clears all Markers from the layer.
- /// </summary>
- /// </signature>
- },
- hide: function() {
- /// <signature>
- /// <summary>
- /// Hides the layer, if visible.
- /// </summary>
- /// </signature>
- },
- remove: function(marker) {
- /// <signature>
- /// <summary>
- /// Removes a Marker from the layer.
- /// </summary>
- /// <param name="marker" type="kendo.dataviz.map.Marker" >The Marker instance to remove.</param>
- /// </signature>
- },
- setDataSource: function(dataSource) {
- /// <signature>
- /// <summary>
- /// Sets the data source of this layer.
- /// </summary>
- /// <param name="dataSource" type="Object" >A live DataSource instance or its configuration object.</param>
- /// </signature>
- },
- show: function() {
- /// <signature>
- /// <summary>
- /// Shows the layer, if not visible.
- /// </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.dataviz.map, {
- ShapeLayer: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.map.ShapeLayer</summary>
- /// </signature>
- }
- });
- kendo.dataviz.map.ShapeLayer = (function() {
- var original = kendo.dataviz.map.ShapeLayer;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- show: function() {
- /// <signature>
- /// <summary>
- /// Shows the layer, if not visible.
- /// </summary>
- /// </signature>
- },
- hide: function() {
- /// <signature>
- /// <summary>
- /// Hides the layer, if visible.
- /// </summary>
- /// </signature>
- },
- setDataSource: function() {
- /// <signature>
- /// <summary>
- /// Sets the data source of this layer.
- /// </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.dataviz.map, {
- TileLayer: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.map.TileLayer</summary>
- /// </signature>
- }
- });
- kendo.dataviz.map.TileLayer = (function() {
- var original = kendo.dataviz.map.TileLayer;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- show: function() {
- /// <signature>
- /// <summary>
- /// Shows the layer, if not visible.
- /// </summary>
- /// </signature>
- },
- hide: function() {
- /// <signature>
- /// <summary>
- /// Hides the layer, if visible.
- /// </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.dataviz.ui, {
- ArcGauge: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.ui.ArcGauge</summary>
- /// </signature>
- }
- });
- kendo.dataviz.ui.ArcGauge = (function() {
- var original = kendo.dataviz.ui.ArcGauge;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the Gauge for safe removal from the DOM.Detaches event handlers and removes data entries in order to avoid memory leaks.
- /// </summary>
- /// </signature>
- },
- exportImage: function(options) {
- /// <signature>
- /// <summary>
- /// Exports the Gauge as an image. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PNG image encoded as a Data URI.
- /// </summary>
- /// <param name="options" type="" >Parameters for the exported image.</param>
- /// <returns type="Promise">A promise that will be resolved with a PNG image encoded as a Data URI.</returns>
- /// </signature>
- },
- exportPDF: function(options) {
- /// <signature>
- /// <summary>
- /// Exports the Gauge as a PDF file. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PDF file encoded as a Data URI.
- /// </summary>
- /// <param name="options" type="kendo.drawing.PDFOptions" >Parameters for the exported PDF file.</param>
- /// <returns type="Promise">A promise that will be resolved with a PDF file encoded as a Data URI.</returns>
- /// </signature>
- },
- exportSVG: function(options) {
- /// <signature>
- /// <summary>
- /// Exports the Gauge as an SVG document. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a SVG document encoded as a Data URI.
- /// </summary>
- /// <param name="options" type="" >Export options.</param>
- /// <returns type="Promise">A promise that will be resolved with a SVG document encoded as a Data URI.</returns>
- /// </signature>
- },
- redraw: function() {
- /// <signature>
- /// <summary>
- /// Redraws the gauge.
- /// </summary>
- /// </signature>
- },
- resize: function(force) {
- /// <signature>
- /// <summary>
- /// Adjusts the widget layout to match the size of the container.
- /// </summary>
- /// <param name="force" type="Boolean" >Defines whether the widget should proceed with resizing even if the element dimensions have not changed.</param>
- /// </signature>
- },
- setOptions: function(options) {
- /// <signature>
- /// <summary>
- /// Sets the current gauge options.
- /// </summary>
- /// <param name="options" type="Object" >The gauge settings to update.</param>
- /// </signature>
- },
- svg: function() {
- /// <signature>
- /// <summary>
- /// Returns the SVG representation of the gauge. The returned string is a self-contained SVG document that can be used as is or converted to other formats using tools like Inkscape andImageMagick. Both programs provide command-line interface suitable for server-side processing.
- /// </summary>
- /// </signature>
- },
- imageDataURL: function() {
- /// <signature>
- /// <summary>
- /// Returns a PNG image of the gauge encoded as a Data URL.
- /// </summary>
- /// <returns type="String">A data URL with image/png MIME type. Will be null if the browser does not support the canvas element.</returns>
- /// </signature>
- },
- value: function() {
- /// <signature>
- /// <summary>
- /// Gets or sets the value of the gauge.
- /// </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.kendoArcGauge = function() {
- this.data("kendoArcGauge", new kendo.dataviz.ui.ArcGauge());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoArcGauge: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.dataviz.ui.ArcGauge widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.dataviz.ui.ArcGauge">The kendo.dataviz.ui.ArcGauge instance (if present).</returns>
- /// </signature>
- },
- kendoArcGauge: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.dataviz.ui.ArcGauge widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// centerTemplate - String|Function
- /// The label template. Template variables: * value - the value
- ///
- /// color - String
- /// The color of the value pointer. Accepts a valid CSS color string, including hex and rgb.
- ///
- /// colors - Array
- /// The color ranges of the value pointer. The pointer color will be set to the color from the range that contains the current value.
- ///
- /// gaugeArea - Object
- /// The gauge area configuration options. This is the entire visible area of the gauge.
- ///
- /// opacity - Number
- /// The opacity of the value pointer.
- ///
- /// renderAs - String
- /// Sets the preferred rendering engine. If it is not supported by the browser, the Gauge will switch to the first available mode.The supported values are: "svg" - renders the widget as inline SVG document, if available or "canvas" - renders the widget as a Canvas element, if available..
- ///
- /// scale - Object
- /// Configures the scale.
- ///
- /// theme - String
- /// The gauge theme. This can be either a built-in theme or "sass". When set to "sass" the gauge will read the variables from the Sass-based themes.The supported values are: "sass" - special value, see notes; "black"; "blueopal"; "bootstrap"; "default"; "highcontrast"; "metro"; "metroblack"; "moonlight"; "silver" or "uniform".
- ///
- /// transitions - Boolean (default: true)
- /// A value indicating if transition animations should be played.
- ///
- /// value - Number
- /// The gauge value.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.dataviz.ui, {
- Barcode: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.ui.Barcode</summary>
- /// </signature>
- }
- });
- kendo.dataviz.ui.Barcode = (function() {
- var original = kendo.dataviz.ui.Barcode;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- exportImage: function(options) {
- /// <signature>
- /// <summary>
- /// Exports the barcode as an image. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PNG image encoded as a Data URI.
- /// </summary>
- /// <param name="options" type="" >Parameters for the exported image.</param>
- /// <returns type="Promise">A promise that will be resolved with a PNG image encoded as a Data URI.</returns>
- /// </signature>
- },
- exportPDF: function(options) {
- /// <signature>
- /// <summary>
- /// Exports the barcode as a PDF file. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PDF file encoded as a Data URI.
- /// </summary>
- /// <param name="options" type="kendo.drawing.PDFOptions" >Parameters for the exported PDF file.</param>
- /// <returns type="Promise">A promise that will be resolved with a PDF file encoded as a Data URI.</returns>
- /// </signature>
- },
- exportSVG: function(options) {
- /// <signature>
- /// <summary>
- /// Exports the barcode as an SVG document. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a SVG document encoded as a Data URI.
- /// </summary>
- /// <param name="options" type="" >Export options.</param>
- /// <returns type="Promise">A promise that will be resolved with a SVG document encoded as a Data URI.</returns>
- /// </signature>
- },
- imageDataURL: function() {
- /// <signature>
- /// <summary>
- /// Returns a PNG image of the barcode encoded as a Data URL.
- /// </summary>
- /// <returns type="String">A data URL with image/png MIME type. Will be null if the browser does not support the canvas element.</returns>
- /// </signature>
- },
- redraw: function() {
- /// <signature>
- /// <summary>
- /// Redraws the barcode.
- /// </summary>
- /// </signature>
- },
- resize: function(force) {
- /// <signature>
- /// <summary>
- /// Adjusts the widget layout to match the size of the container.
- /// </summary>
- /// <param name="force" type="Boolean" >Defines whether the widget should proceed with resizing even if the element dimensions have not changed.</param>
- /// </signature>
- },
- svg: function() {
- /// <signature>
- /// <summary>
- /// Returns the SVG representation of the barcode. The returned string is a self-contained SVG document that can be used as is or converted to other formats using tools like Inkscape andImageMagick. Both programs provide command-line interface suitable for server-side processing.
- /// </summary>
- /// <returns type="String">the SVG representation of the barcode.</returns>
- /// </signature>
- },
- value: function(value) {
- /// <signature>
- /// <summary>
- /// Gets/Sets the value of the barcode.
- /// </summary>
- /// <param name="value" type="Object" >The value to set.</param>
- /// <returns type="String">The value of the barcode.</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.kendoBarcode = function() {
- this.data("kendoBarcode", new kendo.dataviz.ui.Barcode());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoBarcode: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.dataviz.ui.Barcode widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.dataviz.ui.Barcode">The kendo.dataviz.ui.Barcode instance (if present).</returns>
- /// </signature>
- },
- kendoBarcode: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.dataviz.ui.Barcode widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// renderAs - String (default: "svg")
- /// Sets the preferred rendering engine. If it is not supported by the browser, the Barcode will switch to the first available mode.The supported values are: "canvas" - renders the widget as a Canvas element, if available. or "svg" - renders the widget as inline SVG document, if available.
- ///
- /// background - String (default: "white")
- /// The background of the barcode area. Any valid CSS color string will work here, including hex and rgb.
- ///
- /// border - Object
- /// The border of the barcode area.
- ///
- /// checksum - Boolean (default: false)
- /// If set to true, the Barcode will display the checksum digit next to the value in the text area.
- ///
- /// color - String (default: "black")
- /// The color of the bar elements. Any valid CSS color string will work here, including hex and rgb.
- ///
- /// height - Number (default: 100)
- /// The height of the barcode in pixels. By default the height is 100.
- ///
- /// padding - Object
- /// The padding of the barcode.
- ///
- /// text - Object
- /// Can be set to a JavaScript object which represents the text configuration.
- ///
- /// type - String (default: "code39")
- /// The symbology (encoding) the barcode will use.The supported values are: EAN8; EAN13; UPCE; UPCA; Code11; Code39; Code39Extended; Code93; Code93Extended; Code128; Code128A; Code128B; Code128C; GS1-128; MSImod10; MSImod11; MSImod1010; MSImod1110 or POSTNET.
- ///
- /// value - String
- /// The initial value of the Barcode
- ///
- /// width - Number (default: 300)
- /// The width of the barcode in pixels. By default the width is 300.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.dataviz.ui, {
- Chart: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.ui.Chart</summary>
- /// </signature>
- }
- });
- kendo.dataviz.ui.Chart = (function() {
- var original = kendo.dataviz.ui.Chart;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the widget 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>
- },
- exportImage: function(options) {
- /// <signature>
- /// <summary>
- /// Exports the chart as an image. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PNG image encoded as a Data URI.
- /// </summary>
- /// <param name="options" type="" >Parameters for the exported image.</param>
- /// <returns type="Promise">A promise that will be resolved with a PNG image encoded as a Data URI.</returns>
- /// </signature>
- },
- exportPDF: function(options) {
- /// <signature>
- /// <summary>
- /// Exports the chart as a PDF file. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PDF file encoded as a Data URI.
- /// </summary>
- /// <param name="options" type="kendo.drawing.PDFOptions" >Parameters for the exported PDF file.</param>
- /// <returns type="Promise">A promise that will be resolved with a PDF file encoded as a Data URI.</returns>
- /// </signature>
- },
- exportSVG: function(options) {
- /// <signature>
- /// <summary>
- /// Exports the chart as an SVG document. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a SVG document encoded as a Data URI.
- /// </summary>
- /// <param name="options" type="" >Export options.</param>
- /// <returns type="Promise">A promise that will be resolved with a SVG document encoded as a Data URI.</returns>
- /// </signature>
- },
- findAxisByName: function(name) {
- /// <signature>
- /// <summary>
- /// An alias for the existing getAxis method.
- /// </summary>
- /// <param name="name" type="String" >The axis name.</param>
- /// <returns type="kendo.dataviz.ChartAxis">The chart axis.</returns>
- /// </signature>
- },
- findPaneByIndex: function(index) {
- /// <signature>
- /// <summary>
- /// Returns a pane with specific index.
- /// </summary>
- /// <param name="index" type="Number" >The pane index.</param>
- /// <returns type="kendo.dataviz.ChartPane">The chart pane.</returns>
- /// </signature>
- },
- findPaneByName: function(name) {
- /// <signature>
- /// <summary>
- /// Returns a pane with specific name.
- /// </summary>
- /// <param name="name" type="String" >The pane name.</param>
- /// <returns type="kendo.dataviz.ChartPane">The chart pane.</returns>
- /// </signature>
- },
- findSeries: function(callback) {
- /// <signature>
- /// <summary>
- /// Returns a series determined from the passed function. The function is called with the options of each series until it returns true.
- /// </summary>
- /// <param name="callback" type="Function" >The function that will be called for each series.</param>
- /// <returns type="kendo.dataviz.ChartSeries">The chart series.</returns>
- /// </signature>
- },
- findSeriesByIndex: function(index) {
- /// <signature>
- /// <summary>
- /// Returns a series with specific index.
- /// </summary>
- /// <param name="index" type="Number" >The series index.</param>
- /// <returns type="kendo.dataviz.ChartSeries">The chart series.</returns>
- /// </signature>
- },
- findSeriesByName: function(name) {
- /// <signature>
- /// <summary>
- /// Returns a series with specific name.
- /// </summary>
- /// <param name="name" type="String" >The series name.</param>
- /// <returns type="kendo.dataviz.ChartSeries">The chart series.</returns>
- /// </signature>
- },
- getAxis: function(name) {
- /// <signature>
- /// <summary>
- /// Returns an axis with specific name.
- /// </summary>
- /// <param name="name" type="String" >The axis name.</param>
- /// <returns type="kendo.dataviz.ChartAxis">The chart axis.</returns>
- /// </signature>
- },
- hideTooltip: function() {
- /// <signature>
- /// <summary>
- /// Hides the chart tooltip.
- /// </summary>
- /// </signature>
- },
- plotArea: function() {
- /// <signature>
- /// <summary>
- /// Returns the chart plotArea.
- /// </summary>
- /// <returns type="kendo.dataviz.ChartPlotArea">The chart plot area.</returns>
- /// </signature>
- },
- redraw: function() {
- /// <signature>
- /// <summary>
- /// Repaints the chart using the currently loaded data.
- /// </summary>
- /// </signature>
- },
- refresh: function() {
- /// <signature>
- /// <summary>
- /// Reloads the data and renders the chart.
- /// </summary>
- /// </signature>
- },
- resize: function(force) {
- /// <signature>
- /// <summary>
- /// Adjusts the chart layout to match the size of the container.
- /// </summary>
- /// <param name="force" type="Boolean" >Defines whether the widget should proceed with resizing even if the element dimensions have not changed.</param>
- /// </signature>
- },
- saveAsPDF: function() {
- /// <signature>
- /// <summary>
- /// Saves the Chart as a PDF file using the options specified in options.pdf.
- /// </summary>
- /// </signature>
- },
- setDataSource: function(dataSource) {
- /// <signature>
- /// <summary>
- /// Sets the data source of the widget.
- /// </summary>
- /// <param name="dataSource" type="kendo.data.DataSource" >The data source to which the widget should be bound.</param>
- /// </signature>
- },
- setOptions: function(options) {
- /// <signature>
- /// <summary>
- /// Sets the widget options. Changes are cumulative.
- /// </summary>
- /// <param name="options" type="Object" >The chart settings to update.</param>
- /// </signature>
- },
- showTooltip: function(filter) {
- /// <signature>
- /// <summary>
- /// Shows the chart tooltip for specific point or the shared tooltip for specific category. The method accepts a function which will be called for each point until the function returns true.
- /// </summary>
- /// <param name="filter" type="Object" >The callback function which will be called for the points or the category value for a shared tooltip.</param>
- /// </signature>
- },
- svg: function() {
- /// <signature>
- /// <summary>
- /// Returns the SVG representation of the chart. The returned string is a self-contained SVG document that can be used as is or converted to other formats using tools like Inkscape andImageMagick. Both programs provide command-line interface suitable for server-side processing.
- /// </summary>
- /// <returns type="String">the SVG representation of the chart.</returns>
- /// </signature>
- },
- imageDataURL: function() {
- /// <signature>
- /// <summary>
- /// Returns a PNG image of the chart encoded as a Data URL.
- /// </summary>
- /// <returns type="String">A data URL with image/png MIME type. Will be null if the browser does not support the canvas element.</returns>
- /// </signature>
- },
- toggleHighlight: function(show,options) {
- /// <signature>
- /// <summary>
- /// Toggles the highlight of the series points or a segment for pie, donut and funnel charts.
- /// </summary>
- /// <param name="show" type="Boolean" >A boolean value that specifies if the highlight should be shown or hidden.</param>
- /// <param name="options" type="Object" >A string representing the series name or the category name or an object with the series and category names or a function which will be called for each point. The fields available in the function argument are: category - the point category.; dataItem - the point dataItem.; value - the point value.; series - the point series.; percentage - the point value represented as a percentage value. Available only for donut, pie and 100% stacked charts.; runningTotal - the sum of point values since the last "runningTotal" summary point. Available for waterfall series. or total - the sum of all previous series values. Available for waterfall series..</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.kendoChart = function() {
- this.data("kendoChart", new kendo.dataviz.ui.Chart());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoChart: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.dataviz.ui.Chart widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.dataviz.ui.Chart">The kendo.dataviz.ui.Chart instance (if present).</returns>
- /// </signature>
- },
- kendoChart: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.dataviz.ui.Chart 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 data source 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 data source specified in the configuration.
- ///
- /// axisDefaults - Object
- /// The default options for all chart axes. Accepts the options supported by categoryAxis, valueAxis, xAxis and yAxis.
- ///
- /// categoryAxis - Array|Object
- /// The category axis configuration options.
- ///
- /// chartArea - Object
- /// The chart area configuration options. Represents the entire visible area of the chart.
- ///
- /// dataSource - Object|Array|kendo.data.DataSource
- /// The data source of the chart which is used to display the series. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing kendo.data.DataSource instance.If the dataSource option is set to a JavaScript object or array the widget will initialize a new kendo.data.DataSource instance using that value as data source configuration.If the dataSource option is an existing kendo.data.DataSource instance the widget will use that instance and will not initialize a new one.
- ///
- /// legend - Object
- /// The chart legend configuration options.
- ///
- /// panes - Array
- /// The chart panes configuration.Panes are used to split the chart in two or more parts. The panes are ordered from top to bottom.Each axis can be associated with a pane by setting its pane option to the name of the desired pane. Axis that don't have specified pane are placed in the top (default) pane.Series are moved to the desired pane by associating them with an axis.
- ///
- /// pannable - Boolean (default: false)
- /// Specifies if the chart can be panned.
- ///
- /// pannable - Object (default: false)
- /// Specifies if the chart can be panned.
- ///
- /// pdf - Object
- /// Configures the export settings for the saveAsPDF method.
- ///
- /// persistSeriesVisibility - Boolean (default: false)
- /// Specifies if the series visible option should be persisted when changing the dataSource data.
- ///
- /// plotArea - Object
- /// The plot area configuration options. The plot area is the area which displays the series.
- ///
- /// renderAs - String
- /// Sets the preferred rendering engine. If it is not supported by the browser, the Chart will switch to the first available mode.The supported values are: "svg" - renders the widget as inline SVG document, if available or "canvas" - renders the widget as a Canvas element, if available..
- ///
- /// series - Array
- /// The configuration of the chart series.The series type is determined by the value of the type field. If a type value is missing, the type is assumed to be the one specified in seriesDefaults.
- ///
- /// seriesColors - Array
- /// The default colors for the chart's series. When all colors are used, new colors are pulled from the start again.
- ///
- /// seriesDefaults - Object
- /// The default options for all series.
- ///
- /// theme - String
- /// The chart theme. This can be either a built-in theme or "sass". When set to "sass" the chart will read the variables from the Sass-based themes.The supported values are: "sass" - special value, see notes; "black"; "blueopal"; "bootstrap"; "default"; "highcontrast"; "metro"; "metroblack"; "moonlight"; "silver" or "uniform".
- ///
- /// title - String
- /// The chart title configuration options or text.
- ///
- /// title - Object
- /// The chart title configuration options or text.
- ///
- /// tooltip - Object
- /// The chart series tooltip configuration options.
- ///
- /// transitions - Boolean (default: true)
- /// If set to true the chart will play animations when displaying the series. By default animations are enabled.
- ///
- /// valueAxis - Array|Object
- /// The value axis configuration options.
- ///
- /// xAxis - Array
- /// The X-axis configuration options of the scatter chart X-axis. Supports all valueAxis options.
- ///
- /// yAxis - Array
- /// The y axis configuration options of the scatter chart. Supports all valueAxis options.
- ///
- /// zoomable - Boolean (default: false)
- /// Specifies if the chart can be zoomed.
- ///
- /// zoomable - Object (default: false)
- /// Specifies if the chart can be zoomed.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.dataviz.ui, {
- Diagram: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.ui.Diagram</summary>
- /// </signature>
- }
- });
- kendo.dataviz.ui.Diagram = (function() {
- var original = kendo.dataviz.ui.Diagram;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- addConnection: function(connection,undoable) {
- /// <signature>
- /// <summary>
- /// Adds the given Connection to the diagram.
- /// </summary>
- /// <param name="connection" type="Object" >The Connection instance to be added to the diagram.</param>
- /// <param name="undoable" type="Boolean" >Whether the addition should be recorded in the undo-redo stack.</param>
- /// </signature>
- },
- addShape: function(obj,undoable) {
- /// <signature>
- /// <summary>
- /// Adds a new shape to the diagram.
- /// </summary>
- /// <param name="obj" type="Object" >A Shape instance or a Point where the default shape type will be added.</param>
- /// <param name="undoable" type="Boolean" >Whether the addition should be recorded in the undo-redo stack.</param>
- /// <returns type="kendo.dataviz.diagram.Shape">The newly created diagram shape.</returns>
- /// </signature>
- },
- alignShapes: function(direction) {
- /// <signature>
- /// <summary>
- /// Aligns the edges (as defined by the bounding box) of the selected shapes.
- /// </summary>
- /// <param name="direction" type="String" >This can be one of the four supported directions: "left"; "right"; "top" or "bottom".</param>
- /// </signature>
- },
- boundingBox: function(items) {
- /// <signature>
- /// <summary>
- ///
- /// </summary>
- /// <param name="items" type="Array" >The items (shapes and connections) to include in the bounding box. Defaults to all items if not specified.</param>
- /// <returns type="kendo.dataviz.diagram.Rect">The bounding rectangle of the specified items. If nothing is specified the bounding box of the all diagram will be returned.</returns>
- /// </signature>
- },
- bringIntoView: function(obj,options) {
- /// <signature>
- /// <summary>
- /// Brings one or more items into the view in function of various criteria.
- /// </summary>
- /// <param name="obj" type="Object" >a diagram item; an array of items or a rectangle: this defines a window which the view should contain.</param>
- /// <param name="options" type="Object" >animate or align.</param>
- /// </signature>
- },
- cancelEdit: function() {
- /// <signature>
- /// <summary>
- /// Cancels edit and close the popup form.
- /// </summary>
- /// </signature>
- },
- clear: function() {
- /// <signature>
- /// <summary>
- /// Clears the content of the diagram.
- /// </summary>
- /// </signature>
- },
- connect: function(source,target,options) {
- /// <signature>
- /// <summary>
- /// Creates a connection which can be either attached on both ends to a shape, half attached or floating (not attached to any shape). When a connection is (half) attached to a shape it happens through the intermediate Connector object. Connectors are part of a Shape's definition and you can specify the binding of a connection to a shape directly via the shape or via one of its connectors. If you specify a Shape as a connection's endpoint the Auto-connector will be used. This means that the endpoint of the connection will switch to the most convenient (in the sense of shortest path) connector automatically. If you specify a shape's connector as an endpoint for a connection the endpoint will remain attached to that given Connector instance. Finally, if you wish to have a (half) floating connection endpoint you should specify a Point as parameter for the floating end.
- /// </summary>
- /// <param name="source" type="Object" >The source definition of the connection. This can be a Shape, a Connector or a Point.</param>
- /// <param name="target" type="Object" >The target definition of the connection. This can be a Shape, a Connector or a Point.</param>
- /// <param name="options" type="Object" >The options of the new connection. See connections options.</param>
- /// </signature>
- },
- connected: function(source,target) {
- /// <signature>
- /// <summary>
- /// Returns whether the two given shapes are connected through a connection.
- /// </summary>
- /// <param name="source" type="Object" >A Shape in the diagram.</param>
- /// <param name="target" type="Object" >A Shape in the diagram.</param>
- /// </signature>
- },
- copy: function() {
- /// <signature>
- /// <summary>
- /// Puts a copy of the currently selected diagram to an internal clipboard.
- /// </summary>
- /// </signature>
- },
- createConnection: function() {
- /// <signature>
- /// <summary>
- /// Adds an empty connection data item and a popup window will be displayed.
- /// </summary>
- /// </signature>
- },
- createShape: function() {
- /// <signature>
- /// <summary>
- /// Adds an empty shape data item and a popup window will be displayed.
- /// </summary>
- /// </signature>
- },
- cut: function() {
- /// <signature>
- /// <summary>
- /// Cuts the currently selected diagram items to an internal clipboard.
- /// </summary>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the widget for safe removal 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>
- },
- documentToModel: function(point) {
- /// <signature>
- /// <summary>
- /// Transforms a point from Page document coordinates to Model coordinates. Shortcut for viewToModel(documentToView(point)). This method is useful when you want to transform coordinates of a drag operation on top of the Diagram.
- /// </summary>
- /// <param name="point" type="Object" >The point in Page document coordinates.</param>
- /// <returns type="Object">the transformed point</returns>
- /// </signature>
- },
- documentToView: function(point) {
- /// <signature>
- /// <summary>
- /// Transforms a point from Page document coordinates to View coordinates. View coordinates are relative to the currently visible portion of the Diagram.
- /// </summary>
- /// <param name="point" type="Object" >The point in Page document coordinates.</param>
- /// <returns type="Object">the transformed point</returns>
- /// </signature>
- },
- edit: function(item) {
- /// <signature>
- /// <summary>
- /// Edit diagram connection/shape.
- /// </summary>
- /// <param name="item" type="Object" >A diagram item to edit.</param>
- /// </signature>
- },
- exportImage: function(options) {
- /// <signature>
- /// <summary>
- /// Exports the diagram content as an image. The result can be saved using kendo.saveAs.The full content of the diagram will be exported in 1:1 scale. If exporting the current view is desired then the kendo.drawing.drawDOM method should be called on a container element.The export operation is asynchronous and returns a promise. The promise will be resolved with a PNG image encoded as a Data URI.
- /// </summary>
- /// <param name="options" type="" >Parameters for the exported image.</param>
- /// <returns type="Promise">A promise that will be resolved with a PNG image encoded as a Data URI.</returns>
- /// </signature>
- },
- exportPDF: function(options) {
- /// <signature>
- /// <summary>
- /// Exports the diagram content as a PDF file. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PDF file encoded as a Data URI.
- /// </summary>
- /// <param name="options" type="kendo.drawing.PDFOptions" >Parameters for the exported PDF file.</param>
- /// <returns type="Promise">A promise that will be resolved with a PDF file encoded as a Data URI.</returns>
- /// </signature>
- },
- exportSVG: function(options) {
- /// <signature>
- /// <summary>
- /// Exports the diagram content as an SVG document. The result can be saved using kendo.saveAs.The full content of the diagram will be exported in 1:1 scale. If exporting the current view is desired then the kendo.drawing.drawDOM method should be called on a container element.The export operation is asynchronous and returns a promise. The promise will be resolved with a SVG document encoded as a Data URI.
- /// </summary>
- /// <param name="options" type="" >Export options.</param>
- /// <returns type="Promise">A promise that will be resolved with a SVG document encoded as a Data URI.</returns>
- /// </signature>
- },
- focus: function() {
- /// <signature>
- /// <summary>
- /// Sets the focus on the diagram.
- /// </summary>
- /// </signature>
- },
- getConnectionByModelId: function(id) {
- /// <signature>
- /// <summary>
- /// Returns the connection corresponding to the model with the specified id value.
- /// </summary>
- /// <param name="id" type="Object" >The model id value.</param>
- /// <returns type="kendo.dataviz.diagram.Connection">the connection corresponding to the model.</returns>
- /// </signature>
- },
- getConnectionByModelUid: function(uid) {
- /// <signature>
- /// <summary>
- /// Returns the connection corresponding to the model with the specified uid value.
- /// </summary>
- /// <param name="uid" type="String" >The model uid value.</param>
- /// <returns type="kendo.dataviz.diagram.Connection">the connection corresponding to the model.</returns>
- /// </signature>
- },
- getShapeById: function(id) {
- /// <signature>
- /// <summary>
- /// Returns the shape or connection with the specified identifier.
- /// </summary>
- /// <param name="id" type="String" >The unique identifier of the Shape or Connection</param>
- /// <returns type="Object">the item that has the provided ID.</returns>
- /// </signature>
- },
- getShapeByModelId: function(id) {
- /// <signature>
- /// <summary>
- /// Returns the shape corresponding to the model with the specified id value.
- /// </summary>
- /// <param name="id" type="Object" >The model id value.</param>
- /// <returns type="kendo.dataviz.diagram.Shape">the shape corresponding to the model.</returns>
- /// </signature>
- },
- getShapeByModelUid: function(uid) {
- /// <signature>
- /// <summary>
- /// Returns the shape corresponding to the model with the specified uid value.
- /// </summary>
- /// <param name="uid" type="String" >The model uid value.</param>
- /// <returns type="kendo.dataviz.diagram.Shape">the shape corresponding to the model.</returns>
- /// </signature>
- },
- layerToModel: function(point) {
- /// <signature>
- /// <summary>
- /// Transforms a point from Layer coordinates to Model coordinates. Layer coordinates are relative to the drawable surface.
- /// </summary>
- /// <param name="point" type="Object" >The point in layer coordinates.</param>
- /// <returns type="Object">the transformed point</returns>
- /// </signature>
- },
- layout: function(options) {
- /// <signature>
- /// <summary>
- /// Applies a layout algorithm on the current diagram.A more detailed overview of layout and graph analysis can be found below.
- /// </summary>
- /// <param name="options" type="Object" >The layout options. See options.layout for a full reference.</param>
- /// </signature>
- },
- load: function(json) {
- /// <signature>
- /// <summary>
- /// Loads a saved diagram.
- /// </summary>
- /// <param name="json" type="Object" >The serialized Diagram options to load.</param>
- /// </signature>
- },
- modelToDocument: function(point) {
- /// <signature>
- /// <summary>
- /// Transforms a point from Model coordinates to Page document coordinates. Shortcut for viewToDocument(modelToView(point)).
- /// </summary>
- /// <param name="point" type="Object" >The point in Model coordinates.</param>
- /// <returns type="Object">the transformed point</returns>
- /// </signature>
- },
- modelToLayer: function(point) {
- /// <signature>
- /// <summary>
- /// Transforms a point from Model coordinates to Layer coordinates. Layer coordinates are relative to the drawing surface.
- /// </summary>
- /// <param name="point" type="Object" >The point in Model coordinates.</param>
- /// <returns type="Object">the transformed point</returns>
- /// </signature>
- },
- modelToView: function(point) {
- /// <signature>
- /// <summary>
- /// Transforms a point from Model coordinates to View coordinates. Model coordinates are independent coordinates to define Shape bounds. View coordinates are relative to the currently visible part of the drawing surface.
- /// </summary>
- /// <param name="point" type="Object" >The point in Model coordinates.</param>
- /// <returns type="Object">the transformed point</returns>
- /// </signature>
- },
- pan: function(pan) {
- /// <signature>
- /// <summary>
- /// Pans the diagram with a specified delta (represented as a Point).
- /// </summary>
- /// <param name="pan" type="Object" >The translation delta to apply to the diagram or the Point to pan to.</param>
- /// </signature>
- },
- paste: function() {
- /// <signature>
- /// <summary>
- /// Pastes the content of the internal diagram clipboard.
- /// </summary>
- /// </signature>
- },
- redo: function() {
- /// <signature>
- /// <summary>
- /// Executes again the previously undone action.
- /// </summary>
- /// </signature>
- },
- remove: function(items,undoable) {
- /// <signature>
- /// <summary>
- /// Removes one or more items from the diagram
- /// </summary>
- /// <param name="items" type="Object" >A diagram item or an array of diagram items to remove.</param>
- /// <param name="undoable" type="Boolean" >Whether the removal should be recorded in the undo-redo stack.</param>
- /// </signature>
- },
- resize: function() {
- /// <signature>
- /// <summary>
- /// Adjusts the diagram size to match the size of the container.
- /// </summary>
- /// </signature>
- },
- save: function() {
- /// <signature>
- /// <summary>
- /// Returns the complete Diagram configuration in JSON format.
- /// </summary>
- /// <returns type="Object">An options object containing the complete Diagram configuration.</returns>
- /// </signature>
- },
- saveAsPDF: function() {
- /// <signature>
- /// <summary>
- /// Saves the diagram content as PDF document.
- /// </summary>
- /// <returns type="Promise">A promise that will be resolved when the export completes.</returns>
- /// </signature>
- },
- saveEdit: function() {
- /// <signature>
- /// <summary>
- /// Saves any changes made by the user.
- /// </summary>
- /// </signature>
- },
- select: function(elements,options) {
- /// <signature>
- /// <summary>
- /// Gets or sets the selected elements.
- /// </summary>
- /// <param name="elements" type="Object" >The diagram element(s) that should be selected.</param>
- /// <param name="options" type="" ></param>
- /// <returns type="Array">The selected diagram elements.</returns>
- /// </signature>
- },
- selectAll: function() {
- /// <signature>
- /// <summary>
- /// Selects all shapes and the connections between them (without the point-to-point connections).
- /// </summary>
- /// </signature>
- },
- selectArea: function(rect) {
- /// <signature>
- /// <summary>
- /// Selects all diagram elements within the given rectangle.
- /// </summary>
- /// <param name="rect" type="kendo.dataviz.diagram.Rect" >The rectangle that determines which elements should be selected.</param>
- /// </signature>
- },
- setConnectionsDataSource: function(dataSource) {
- /// <signature>
- /// <summary>
- /// Sets the connections data source of the diagram.
- /// </summary>
- /// <param name="dataSource" type="kendo.data.DataSource" >The data source to which the widget should be bound.</param>
- /// </signature>
- },
- setDataSource: function(dataSource) {
- /// <signature>
- /// <summary>
- /// Sets the data source of the diagram.
- /// </summary>
- /// <param name="dataSource" type="kendo.data.DataSource" >The data source to which the widget should be bound.</param>
- /// </signature>
- },
- toBack: function(items,undoable) {
- /// <signature>
- /// <summary>
- /// Sends the specified items to the back, i.e. it's reordering items to ensure they are underneath the complementary items.
- /// </summary>
- /// <param name="items" type="Array" >An array of diagram items.</param>
- /// <param name="undoable" type="Boolean" >Whether the change should be recorded in the undo-redo stack.</param>
- /// </signature>
- },
- toFront: function(items,undoable) {
- /// <signature>
- /// <summary>
- /// Brings the specified items in front, i.e. it's reordering items to ensure they are on top of the complementary items.
- /// </summary>
- /// <param name="items" type="Array" >An array of diagram items.</param>
- /// <param name="undoable" type="Boolean" >Whether the change should be recorded in the undo-redo stack.</param>
- /// </signature>
- },
- undo: function() {
- /// <signature>
- /// <summary>
- /// Undoes the previous action.
- /// </summary>
- /// </signature>
- },
- viewToDocument: function(point) {
- /// <signature>
- /// <summary>
- /// Transforms a point from View coordinates to Page document coordinates. View origin is the diagram container.
- /// </summary>
- /// <param name="point" type="kendo.dataviz.diagram.Point" >The point in Page document coordinates.</param>
- /// <returns type="kendo.dataviz.diagram.Point">the transformed point</returns>
- /// </signature>
- },
- viewToModel: function(point) {
- /// <signature>
- /// <summary>
- /// Transforms a point from View coordinates to Model coordinates. Model coordinates are independent coordinates to define Shape bounds.
- /// </summary>
- /// <param name="point" type="kendo.dataviz.diagram.Point" >The point in View coordinates.</param>
- /// <returns type="kendo.dataviz.diagram.Point">the transformed point</returns>
- /// </signature>
- },
- viewport: function() {
- /// <signature>
- /// <summary>
- /// The bounds of the diagramming canvas.
- /// </summary>
- /// <returns type="kendo.dataviz.diagram.Rect">as viewport bounds</returns>
- /// </signature>
- },
- zoom: function(zoom,point) {
- /// <signature>
- /// <summary>
- /// Gets or sets the current zoom level of the diagram.
- /// </summary>
- /// <param name="zoom" type="Number" >The zoom factor.</param>
- /// <param name="point" type="kendo.dataviz.diagram.Point" >The point to zoom into or out of.</param>
- /// <returns type="Number">The current zoom level</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.kendoDiagram = function() {
- this.data("kendoDiagram", new kendo.dataviz.ui.Diagram());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoDiagram: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.dataviz.ui.Diagram widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.dataviz.ui.Diagram">The kendo.dataviz.ui.Diagram instance (if present).</returns>
- /// </signature>
- },
- kendoDiagram: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.dataviz.ui.Diagram 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 data source 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 data source specified in the configuration.
- ///
- /// connectionDefaults - Object
- /// Defines the defaults of the connections. Whenever a connection is created, the specified connectionDefaults will be used and merged with the (optional) configuration passed through the connection creation method.
- ///
- /// connections - Array
- /// Defines the connections configuration.
- ///
- /// connectionsDataSource - Object|Array|kendo.data.DataSource
- /// Defines the data source of the connections.
- ///
- /// dataSource - Object|Array|kendo.data.DataSource
- /// Defines the data source of the diagram.
- ///
- /// editable - Boolean (default: true)
- /// A set of settings to configure the Diagram behavior when the user attempts to: edit, delete or create shapes and connections.; drag shapes.; resize shapes. or rotate shapes..
- ///
- /// editable - Object (default: true)
- /// A set of settings to configure the Diagram behavior when the user attempts to: edit, delete or create shapes and connections.; drag shapes.; resize shapes. or rotate shapes..
- ///
- /// layout - Object
- /// The layout of a diagram consists in arranging the shapes (sometimes also the connections) in some fashion in order to achieve an aesthetically pleasing experience to the user. It aims at giving a more direct insight in the information contained within the diagram and its relational structure.On a technical level, layout consists of a multitude of algorithms and optimizations: analysis of the relational structure (loops, multi-edge occurrence...); connectedness of the diagram and the splitting into disconnected components; crossings of connections or bends and length of links. and various ad-hoc calculations which depend on the type of layout. The criteria on which an algorithm is based vary but the common denominator is: a clean separation of connected components (subgraphs); an orderly organization of the shapes in such a way that siblings are close to another, i.e. a tight packing of shapes which belong together (parent of child relationship) or a minimum of connection crossings. Kendo diagram includes three of the most used layout algorithms which should cover most of your layout needs - tree layout, force-directed layout and layered layout. Please, check the type property for more details regarding each type.The generic way to apply a layout is by calling the layout() method on the diagram. The method has a single parameter options. It is an object, which can contain parameters which are specific to the layout as well as parameters customizing the global grid layout. Parameters which apply to other layout algorithms can be included but are overlooked if not applicable to the chose layout type. This means that you can define a set of parameters which cover all possible layout types and simply pass it in the method whatever the layout define in the first parameter.
- ///
- /// pannable - Boolean (default: true)
- /// Defines the pannable options. Use this setting to disable Diagram pan or change the key that activates the pan behavior.
- ///
- /// pannable - Object (default: true)
- /// Defines the pannable options. Use this setting to disable Diagram pan or change the key that activates the pan behavior.
- ///
- /// pdf - Object
- /// Configures the export settings for the saveAsPDF method.
- ///
- /// selectable - Boolean (default: true)
- /// Defines the Diagram selection options.By default, you can select shapes in the Diagram in one of two ways: Clicking a single shape to select it and deselect any previously selected shapes. or Holding the Ctrl key while clicking multiple shapes to select them and any other shapes between them.. Using the selectable configuration, you can enable single selection only, enable selection by drawing a rectangular area with the mouse around shapes in the canvas, or disable selection altogether.
- ///
- /// selectable - Object (default: true)
- /// Defines the Diagram selection options.By default, you can select shapes in the Diagram in one of two ways: Clicking a single shape to select it and deselect any previously selected shapes. or Holding the Ctrl key while clicking multiple shapes to select them and any other shapes between them.. Using the selectable configuration, you can enable single selection only, enable selection by drawing a rectangular area with the mouse around shapes in the canvas, or disable selection altogether.
- ///
- /// shapeDefaults - Object
- /// Defines the default options that will be applied to all shapes in the Diagram.
- ///
- /// shapes - Array
- /// Defines the shape options.
- ///
- /// template - String|Function (default: "")
- /// The template which renders the content of the shape when bound to a dataSource. The names you can use in the template correspond to the properties used in the dataSource. For an example, refer to the dataSource topic below.
- ///
- /// theme - String
- /// The diagram theme. This can be either a built-in theme or "sass". When set to "sass" the diagram will read the variables from a Sass-based theme.The supported values are: * "sass" - works only when a custom Sass theme is loaded in the page * "black" * "blueopal" * "bootstrap" * "bootstrap-v4" - works only with the Bootstrap-v4 Sass theme loaded in the page * "default" * "default-v2" - works only with the Default-v2 Sass theme loaded in the page * "fiori" * "flat" * "highcontrast" * "material" * "materialBlack" * "metro" * "metroblack" * "moonlight" * "nova" * "office365" * "silver" * "uniform"
- ///
- /// zoom - Number (default: 1)
- /// The default zoom level of the Diagram in percentages.
- ///
- /// zoomMax - Number (default: 2)
- /// The maximum zoom level in percentages. The user will not be allowed to zoom in past this level.
- ///
- /// zoomMin - Number (default: 0.1)
- /// The minimum zoom level in percentages. The user will not be allowed to zoom out past this level. You can see an example in zoomMax.
- ///
- /// zoomRate - Number (default: 0.1)
- /// The zoom step when using the mouse-wheel to zoom in or out.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.dataviz.ui, {
- LinearGauge: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.ui.LinearGauge</summary>
- /// </signature>
- }
- });
- kendo.dataviz.ui.LinearGauge = (function() {
- var original = kendo.dataviz.ui.LinearGauge;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- allValues: function(values) {
- /// <signature>
- /// <summary>
- /// Allows setting or getting multiple Gauge values at once.
- /// </summary>
- /// <param name="values" type="Array" >An array of values to be set.</param>
- /// <returns type="Array">An array of the Gauge pointer values will be returned if no parameter is passed.</returns>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the Gauge for safe removal from the DOM.Detaches event handlers and removes data entries in order to avoid memory leaks.
- /// </summary>
- /// </signature>
- },
- exportImage: function(options) {
- /// <signature>
- /// <summary>
- /// Exports the Gauge as an image. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PNG image encoded as a Data URI.
- /// </summary>
- /// <param name="options" type="" >Parameters for the exported image.</param>
- /// <returns type="Promise">A promise that will be resolved with a PNG image encoded as a Data URI.</returns>
- /// </signature>
- },
- exportPDF: function(options) {
- /// <signature>
- /// <summary>
- /// Exports the Gauge as a PDF file. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PDF file encoded as a Data URI.
- /// </summary>
- /// <param name="options" type="kendo.drawing.PDFOptions" >Parameters for the exported PDF file.</param>
- /// <returns type="Promise">A promise that will be resolved with a PDF file encoded as a Data URI.</returns>
- /// </signature>
- },
- exportSVG: function(options) {
- /// <signature>
- /// <summary>
- /// Exports the Gauge as an SVG document. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a SVG document encoded as a Data URI.
- /// </summary>
- /// <param name="options" type="" >Export options.</param>
- /// <returns type="Promise">A promise that will be resolved with a SVG document encoded as a Data URI.</returns>
- /// </signature>
- },
- redraw: function() {
- /// <signature>
- /// <summary>
- /// Redraws the gauge.
- /// </summary>
- /// </signature>
- },
- resize: function(force) {
- /// <signature>
- /// <summary>
- /// Adjusts the widget layout to match the size of the container.
- /// </summary>
- /// <param name="force" type="Boolean" >Defines whether the widget should proceed with resizing even if the element dimensions have not changed.</param>
- /// </signature>
- },
- setOptions: function(options) {
- /// <signature>
- /// <summary>
- /// Sets the current gauge options.
- /// </summary>
- /// <param name="options" type="Object" >The gauge settings to update.</param>
- /// </signature>
- },
- svg: function() {
- /// <signature>
- /// <summary>
- /// Returns the SVG representation of the gauge. The returned string is a self-contained SVG document that can be used as is or converted to other formats using tools like Inkscape andImageMagick. Both programs provide command-line interface suitable for server-side processing.
- /// </summary>
- /// </signature>
- },
- imageDataURL: function() {
- /// <signature>
- /// <summary>
- /// Returns a PNG image of the gauge encoded as a Data URL.
- /// </summary>
- /// <returns type="String">A data URL with image/png MIME type. Will be null if the browser does not support the canvas element.</returns>
- /// </signature>
- },
- value: function() {
- /// <signature>
- /// <summary>
- /// Change the value of the gauge.
- /// </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.kendoLinearGauge = function() {
- this.data("kendoLinearGauge", new kendo.dataviz.ui.LinearGauge());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoLinearGauge: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.dataviz.ui.LinearGauge widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.dataviz.ui.LinearGauge">The kendo.dataviz.ui.LinearGauge instance (if present).</returns>
- /// </signature>
- },
- kendoLinearGauge: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.dataviz.ui.LinearGauge widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// gaugeArea - Object
- /// The gauge area configuration options. This is the entire visible area of the gauge.
- ///
- /// pointer - Array
- /// The pointer configuration options. It accepts an Array of pointers, each with it's own configuration options.
- ///
- /// renderAs - String
- /// Sets the preferred rendering engine. If it is not supported by the browser, the Gauge will switch to the first available mode.The supported values are: "svg" - renders the widget as inline SVG document, if available or "canvas" - renders the widget as a Canvas element, if available..
- ///
- /// scale - Object
- /// Configures the scale.
- ///
- /// theme - String
- /// The gauge theme. This can be either a built-in theme or "sass". When set to "sass" the chart will read the variables from the Sass-based themes.The supported values are: "sass" - special value, see notes; "black"; "blueopal"; "bootstrap"; "default"; "highcontrast"; "metro"; "metroblack"; "moonlight"; "silver" or "uniform".
- ///
- /// transitions - Boolean (default: true)
- /// A value indicating if transition animations should be played.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.dataviz.ui, {
- Map: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.ui.Map</summary>
- /// </signature>
- }
- });
- kendo.dataviz.ui.Map = (function() {
- var original = kendo.dataviz.ui.Map;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- center: function(center) {
- /// <signature>
- /// <summary>
- /// Gets or sets the map center. The setter is chainable, i.e. returns the map instance.
- /// </summary>
- /// <param name="center" type="Object" >The location of the new map center. An array argument is assumed to be in [Latitude, Longitude] order.</param>
- /// <returns type="kendo.dataviz.map.Location">The current map center.</returns>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the widget 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>
- },
- eventOffset: function(e) {
- /// <signature>
- /// <summary>
- /// Returns the event coordinates relative to the map element. Offset coordinates are not synchronized to a particular location on the map.
- /// </summary>
- /// <param name="e" type="Object" >The DOM or jQuery mouse event.</param>
- /// <returns type="kendo.geometry.Point">The event coordinates relative to the map element.</returns>
- /// </signature>
- },
- eventToLayer: function(e) {
- /// <signature>
- /// <summary>
- /// Retrieves projected (layer) coordinates that correspond to this mouse event. Layer coordinates are absolute and change only when the zoom level is changed.
- /// </summary>
- /// <param name="e" type="Object" >The DOM or jQuery mouse event.</param>
- /// <returns type="kendo.geometry.Point">The projected (layer) coordinates that correspond to this mouse event.</returns>
- /// </signature>
- },
- eventToLocation: function(e) {
- /// <signature>
- /// <summary>
- /// Retrieves the geographic location that correspond to this mouse event.
- /// </summary>
- /// <param name="e" type="Object" >The DOM or jQuery mouse event.</param>
- /// <returns type="kendo.geometry.Point">The geographic location that correspond to this mouse event.</returns>
- /// </signature>
- },
- eventToView: function(e) {
- /// <signature>
- /// <summary>
- /// Retrieves relative (view) coordinates that correspond to this mouse event. Layer elements positioned on these coordinates will appear under the mouse cursor.View coordinates are no longer valid after a map reset.
- /// </summary>
- /// <param name="e" type="Object" >The DOM or jQuery mouse event.</param>
- /// <returns type="kendo.geometry.Point">The relative (view) coordinates that correspond to this mouse event.</returns>
- /// </signature>
- },
- extent: function(extent) {
- /// <signature>
- /// <summary>
- /// Gets or sets the map extent or visible area. The setter is chainable, i.e. returns the map instance.
- /// </summary>
- /// <param name="extent" type="kendo.dataviz.map.Extent" >The new extent of the map.</param>
- /// <returns type="kendo.dataviz.map.Extent">The current map extent.</returns>
- /// </signature>
- },
- layerToLocation: function(point,zoom) {
- /// <signature>
- /// <summary>
- /// Transforms layer (projected) coordinates to geographical location.
- /// </summary>
- /// <param name="point" type="Object" >The layer (projected) coordinates. An array argument is assumed to be in x, y order.</param>
- /// <param name="zoom" type="Number" >Optional. Assumed zoom level. Defaults to the current zoom level.</param>
- /// <returns type="kendo.dataviz.map.Location">The geographic location that corresponds to the layer coordinates.</returns>
- /// </signature>
- },
- locationToLayer: function(location,zoom) {
- /// <signature>
- /// <summary>
- /// Returns the layer (projected) coordinates that correspond to a geographical location.
- /// </summary>
- /// <param name="location" type="Object" >The geographic location. An array argument is assumed to be in [Latitude, Longitude] order.</param>
- /// <param name="zoom" type="Number" >Optional. Assumed zoom level. Defaults to the current zoom level.</param>
- /// <returns type="kendo.geometry.Point">The layer (projected) coordinates.</returns>
- /// </signature>
- },
- locationToView: function(location) {
- /// <signature>
- /// <summary>
- /// Returns the view (relative) coordinates that correspond to a geographical location.
- /// </summary>
- /// <param name="location" type="Object" >The geographic location. An array argument is assumed to be in [Latitude, Longitude] order.</param>
- /// <returns type="kendo.geometry.Point">The view coordinates that correspond to a geographical location.</returns>
- /// </signature>
- },
- resize: function(force) {
- /// <signature>
- /// <summary>
- /// Adjusts the widget layout to match the size of the container.
- /// </summary>
- /// <param name="force" type="Boolean" >Defines whether the widget should proceed with resizing even if the element dimensions have not changed.</param>
- /// </signature>
- },
- setOptions: function(options) {
- /// <signature>
- /// <summary>
- /// Resets the map and applies new options over the current state.
- /// </summary>
- /// <param name="options" type="Object" >The new options to be applied.</param>
- /// </signature>
- },
- viewSize: function() {
- /// <signature>
- /// <summary>
- /// Retrieves the size of the visible portion of the map.
- /// </summary>
- /// <returns type="Object">The size (width and height) of the visible portion of the map.</returns>
- /// </signature>
- },
- viewToLocation: function(point,zoom) {
- /// <signature>
- /// <summary>
- /// Returns the geographical location that correspond to the view (relative) coordinates.
- /// </summary>
- /// <param name="point" type="Object" >The view coordinates. An array argument is assumed to be in x, y order.</param>
- /// <param name="zoom" type="Number" >Optional. Assumed zoom level. Defaults to the current zoom level.</param>
- /// <returns type="kendo.dataviz.map.Location">The geographic location that corresponds to the view coordinates.</returns>
- /// </signature>
- },
- zoom: function(level) {
- /// <signature>
- /// <summary>
- /// Gets or sets the map zoom level. The setter is chainable, i.e. returns the map instance.
- /// </summary>
- /// <param name="level" type="Number" >The new zoom level. The value is clamped to the [minZoom, maxZoom] interval.</param>
- /// <returns type="Number">The current zoom level.</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.kendoMap = function() {
- this.data("kendoMap", new kendo.dataviz.ui.Map());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoMap: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.dataviz.ui.Map widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.dataviz.ui.Map">The kendo.dataviz.ui.Map instance (if present).</returns>
- /// </signature>
- },
- kendoMap: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.dataviz.ui.Map widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// center - Array|kendo.dataviz.map.Location
- /// The map center. Coordinates are listed as [Latitude, Longitude].
- ///
- /// controls - Object
- /// The configuration of built-in map controls.
- ///
- /// layerDefaults - Object
- /// The default configuration for map layers by type.
- ///
- /// layers - Array
- /// The configuration of the map layers. The layer type is determined by the value of the type field.
- ///
- /// markerDefaults - Object
- /// The default options for all markers.
- ///
- /// markers - Array
- /// Static markers to display on the map.
- ///
- /// minZoom - Number (default: 1)
- /// The minimum zoom level. Typical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features).
- ///
- /// maxZoom - Number (default: 19)
- /// The maximum zoom level. Typical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features).
- ///
- /// minSize - Number (default: 256)
- /// The size of the map in pixels at zoom level 0.
- ///
- /// pannable - Boolean (default: true)
- /// Controls whether the user can pan the map.
- ///
- /// wraparound - Boolean (default: true)
- /// Specifies whether the map should wrap around the east-west edges.
- ///
- /// zoom - Number (default: 3)
- /// The initial zoom level.Typical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features).The map size is derived from the zoom level and minScale options: size = (2 ^ zoom) * minSize
- ///
- /// zoomable - Boolean (default: true)
- /// Controls whether the map zoom level can be changed by the user.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.dataviz.ui, {
- QRCode: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.ui.QRCode</summary>
- /// </signature>
- }
- });
- kendo.dataviz.ui.QRCode = (function() {
- var original = kendo.dataviz.ui.QRCode;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the QRCode for safe removal from the DOM.Removes data entries in order to avoid memory leaks.
- /// </summary>
- /// </signature>
- },
- exportImage: function(options) {
- /// <signature>
- /// <summary>
- /// Exports the QRCode as an image. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PNG image encoded as a Data URI.
- /// </summary>
- /// <param name="options" type="" >Parameters for the exported image.</param>
- /// <returns type="Promise">A promise that will be resolved with a PNG image encoded as a Data URI.</returns>
- /// </signature>
- },
- exportPDF: function(options) {
- /// <signature>
- /// <summary>
- /// Exports the QRCode as a PDF file. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PDF file encoded as a Data URI.
- /// </summary>
- /// <param name="options" type="kendo.drawing.PDFOptions" >Parameters for the exported PDF file.</param>
- /// <returns type="Promise">A promise that will be resolved with a PDF file encoded as a Data URI.</returns>
- /// </signature>
- },
- exportSVG: function(options) {
- /// <signature>
- /// <summary>
- /// Exports the QRCode as an SVG document. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a SVG document encoded as a Data URI.
- /// </summary>
- /// <param name="options" type="" >Export options.</param>
- /// <returns type="Promise">A promise that will be resolved with a SVG document encoded as a Data URI.</returns>
- /// </signature>
- },
- imageDataURL: function() {
- /// <signature>
- /// <summary>
- /// Returns a PNG image of the qrcode encoded as a Data URL.
- /// </summary>
- /// <returns type="String">A data URL with image/png MIME type. Will be null if the browser does not support the canvas element.</returns>
- /// </signature>
- },
- redraw: function() {
- /// <signature>
- /// <summary>
- /// Redraws the QR code using the current value and options.
- /// </summary>
- /// </signature>
- },
- resize: function(force) {
- /// <signature>
- /// <summary>
- /// Adjusts the widget layout to match the size of the container.
- /// </summary>
- /// <param name="force" type="Boolean" >Defines whether the widget should proceed with resizing even if the element dimensions have not changed.</param>
- /// </signature>
- },
- setOptions: function(options) {
- /// <signature>
- /// <summary>
- /// Sets new options to the QRCode and redraws it.
- /// </summary>
- /// <param name="options" type="Object" >An object with the new options. All configuration options can be set.</param>
- /// </signature>
- },
- svg: function() {
- /// <signature>
- /// <summary>
- /// Returns the SVG representation of the qrcode. The returned string is a self-contained SVG document that can be used as is or converted to other formats using tools like Inkscape andImageMagick. Both programs provide command-line interface suitable for server-side processing.
- /// </summary>
- /// <returns type="String">the SVG representation of the qrcode.</returns>
- /// </signature>
- },
- value: function(options) {
- /// <signature>
- /// <summary>
- /// Change the value of the QR code.
- /// </summary>
- /// <param name="options" type="Object" >The new value to be set.</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.kendoQRCode = function() {
- this.data("kendoQRCode", new kendo.dataviz.ui.QRCode());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoQRCode: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.dataviz.ui.QRCode widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.dataviz.ui.QRCode">The kendo.dataviz.ui.QRCode instance (if present).</returns>
- /// </signature>
- },
- kendoQRCode: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.dataviz.ui.QRCode widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// background - String (default: "#fff")
- /// The background color of the QR code. Accepts a valid CSS color string, including hex and rgb.
- ///
- /// border - Object
- /// The border of the QR code.
- ///
- /// color - String (default: "#000")
- /// The color of the QR code. Accepts a valid CSS color string, including hex and rgb.
- ///
- /// encoding - String (default: "ISO_8859_1")
- /// The encoding mode used to encode the value.The possible values are: "ISO_8859_1" - supports all characters from the ISO/IEC 8859-1 character set. or "UTF_8" - supports all Unicode characters..
- ///
- /// errorCorrection - String (default: "L")
- /// The error correction level used to encode the value.The possible values are: "L" - approximately 7% of the codewords can be restored.; "M" - approximately 15% of the codewords can be restored.; "Q" - approximately 25% of the codewords can be restored. or "H" - approximately 30% of the codewords can be restored..
- ///
- /// padding - Number (default: 0)
- /// Sets the minimum distance in pixels that should be left between the border and the QR modules.
- ///
- /// renderAs - String (default: "svg")
- /// Sets the preferred rendering engine. If it is not supported by the browser, the QRCode will switch to the first available mode.The supported values are: "canvas" - renders the widget as a Canvas element, if available. or "svg" - renders the widget as inline SVG document, if available.
- ///
- /// size - Number|String
- /// Specifies the size of a QR code in pixels (i.e. "200px"). Numeric values are treated as pixels. If no size is specified, it will be determined from the element width and height. In case the element has width or height of zero, a default value of 200 pixels will be used.
- ///
- /// value - Number|String
- /// The value of the QRCode.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.dataviz.ui, {
- RadialGauge: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.ui.RadialGauge</summary>
- /// </signature>
- }
- });
- kendo.dataviz.ui.RadialGauge = (function() {
- var original = kendo.dataviz.ui.RadialGauge;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- allValues: function(values) {
- /// <signature>
- /// <summary>
- /// Allows setting or getting multiple Gauge values at once.
- /// </summary>
- /// <param name="values" type="Array" >An array of values to be set.</param>
- /// <returns type="Array">An array of the Gauge pointer values will be returned if no parameter is passed.</returns>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the Gauge for safe removal from the DOM.Detaches event handlers and removes data entries in order to avoid memory leaks.
- /// </summary>
- /// </signature>
- },
- exportImage: function(options) {
- /// <signature>
- /// <summary>
- /// Exports the Gauge as an image. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PNG image encoded as a Data URI.
- /// </summary>
- /// <param name="options" type="" >Parameters for the exported image.</param>
- /// <returns type="Promise">A promise that will be resolved with a PNG image encoded as a Data URI.</returns>
- /// </signature>
- },
- exportPDF: function(options) {
- /// <signature>
- /// <summary>
- /// Exports the Gauge as a PDF file. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PDF file encoded as a Data URI.
- /// </summary>
- /// <param name="options" type="kendo.drawing.PDFOptions" >Parameters for the exported PDF file.</param>
- /// <returns type="Promise">A promise that will be resolved with a PDF file encoded as a Data URI.</returns>
- /// </signature>
- },
- exportSVG: function(options) {
- /// <signature>
- /// <summary>
- /// Exports the Gauge as an SVG document. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a SVG document encoded as a Data URI.
- /// </summary>
- /// <param name="options" type="" >Export options.</param>
- /// <returns type="Promise">A promise that will be resolved with a SVG document encoded as a Data URI.</returns>
- /// </signature>
- },
- redraw: function() {
- /// <signature>
- /// <summary>
- /// Redraws the gauge.
- /// </summary>
- /// </signature>
- },
- resize: function(force) {
- /// <signature>
- /// <summary>
- /// Adjusts the widget layout to match the size of the container.
- /// </summary>
- /// <param name="force" type="Boolean" >Defines whether the widget should proceed with resizing even if the element dimensions have not changed.</param>
- /// </signature>
- },
- setOptions: function(options) {
- /// <signature>
- /// <summary>
- /// Sets the current gauge options.
- /// </summary>
- /// <param name="options" type="Object" >The gauge settings to update.</param>
- /// </signature>
- },
- svg: function() {
- /// <signature>
- /// <summary>
- /// Returns the SVG representation of the gauge. The returned string is a self-contained SVG document that can be used as is or converted to other formats using tools like Inkscape andImageMagick. Both programs provide command-line interface suitable for server-side processing.
- /// </summary>
- /// </signature>
- },
- imageDataURL: function() {
- /// <signature>
- /// <summary>
- /// Returns a PNG image of the gauge encoded as a Data URL.
- /// </summary>
- /// <returns type="String">A data URL with image/png MIME type. Will be null if the browser does not support the canvas element.</returns>
- /// </signature>
- },
- value: function() {
- /// <signature>
- /// <summary>
- /// Change the value of the gauge.
- /// </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.kendoRadialGauge = function() {
- this.data("kendoRadialGauge", new kendo.dataviz.ui.RadialGauge());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoRadialGauge: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.dataviz.ui.RadialGauge widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.dataviz.ui.RadialGauge">The kendo.dataviz.ui.RadialGauge instance (if present).</returns>
- /// </signature>
- },
- kendoRadialGauge: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.dataviz.ui.RadialGauge widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// gaugeArea - Object
- /// The gauge area configuration options. This is the entire visible area of the gauge.
- ///
- /// pointer - Array
- /// The pointer configuration options. It accepts an Array of pointers, each with it's own configuration options.
- ///
- /// renderAs - String
- /// Sets the preferred rendering engine. If it is not supported by the browser, the Gauge will switch to the first available mode.The supported values are: "svg" - renders the widget as inline SVG document, if available or "canvas" - renders the widget as a Canvas element, if available..
- ///
- /// scale - Object
- /// Configures the scale.
- ///
- /// theme - String
- /// The gauge theme. This can be either a built-in theme or "sass". When set to "sass" the chart will read the variables from the Sass-based themes.The supported values are: "sass" - special value, see notes; "black"; "blueopal"; "bootstrap"; "default"; "highcontrast"; "metro"; "metroblack"; "moonlight"; "silver" or "uniform".
- ///
- /// transitions - Boolean (default: true)
- /// A value indicating if transition animations should be played.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.dataviz.ui, {
- Sparkline: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.ui.Sparkline</summary>
- /// </signature>
- }
- });
- kendo.dataviz.ui.Sparkline = (function() {
- var original = kendo.dataviz.ui.Sparkline;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the Sparkline for safe removal from the DOM.Detaches event handlers and removes data entries in order to avoid memory leaks.
- /// </summary>
- /// </signature>
- },
- exportImage: function(options) {
- /// <signature>
- /// <summary>
- /// Exports the chart as an image.Inherited from Chart.exportImage
- /// </summary>
- /// <param name="options" type="" >Parameters for the exported image.</param>
- /// <returns type="Promise">A promise that will be resolved with a PNG image encoded as a Data URI.</returns>
- /// </signature>
- },
- exportPDF: function(options) {
- /// <signature>
- /// <summary>
- /// Exports the chart as a PDF file.Inherited from Chart.exportPDF
- /// </summary>
- /// <param name="options" type="kendo.drawing.PDFOptions" >Parameters for the exported PDF file.</param>
- /// <returns type="Promise">A promise that will be resolved with a PDF file encoded as a Data URI.</returns>
- /// </signature>
- },
- exportSVG: function(options) {
- /// <signature>
- /// <summary>
- /// Exports the chart as an SVG document.Inherited from Chart.exportSVG
- /// </summary>
- /// <param name="options" type="" >Export options.</param>
- /// <returns type="Promise">A promise that will be resolved with a SVG document encoded as a Data URI.</returns>
- /// </signature>
- },
- refresh: function() {
- /// <signature>
- /// <summary>
- /// Reloads the data and repaints the chart.
- /// </summary>
- /// </signature>
- },
- setDataSource: function(dataSource) {
- /// <signature>
- /// <summary>
- /// Sets the dataSource of an existing Chart and rebinds it.
- /// </summary>
- /// <param name="dataSource" type="kendo.data.DataSource" ></param>
- /// </signature>
- },
- setOptions: function(options) {
- /// <signature>
- /// <summary>
- /// Sets the widget options. Changes are cumulative.
- /// </summary>
- /// <param name="options" type="Object" >The chart settings to update.</param>
- /// </signature>
- },
- svg: function() {
- /// <signature>
- /// <summary>
- /// Returns the SVG representation of the chart. The returned string is a self-contained SVG document that can be used as is or converted to other formats using tools like Inkscape andImageMagick. Both programs provide command-line interface suitable for server-side processing.
- /// </summary>
- /// <returns type="String">the SVG representation of the sparkline.</returns>
- /// </signature>
- },
- imageDataURL: function() {
- /// <signature>
- /// <summary>
- /// Returns a PNG image of the sparkline encoded as a Data URL.
- /// </summary>
- /// <returns type="String">A data URL with image/png MIME type. Will be null if the browser does not support the canvas 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;
- })();
- jQuery.fn.kendoSparkline = function() {
- this.data("kendoSparkline", new kendo.dataviz.ui.Sparkline());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoSparkline: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.dataviz.ui.Sparkline widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.dataviz.ui.Sparkline">The kendo.dataviz.ui.Sparkline instance (if present).</returns>
- /// </signature>
- },
- kendoSparkline: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.dataviz.ui.Sparkline widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// axisDefaults - Object
- /// Default options for all chart axes.
- ///
- /// categoryAxis - Array
- /// The category axis configuration options.
- ///
- /// chartArea - Object
- /// The chart area configuration options. This is the entire visible area of the chart.
- ///
- /// data - Array
- /// The data for the default sparkline series.Will be discarded if series are supplied.
- ///
- /// dataSource - Object
- /// DataSource configuration or instance.
- ///
- /// autoBind - Boolean (default: true)
- /// Indicates whether the chart will call read on the data source initially.
- ///
- /// plotArea - Object
- /// The plot area configuration options. This is the area containing the plotted series.
- ///
- /// pointWidth - Number (default: 5)
- /// The width to allocate for each data point.
- ///
- /// renderAs - String
- /// Sets the preferred rendering engine. If it is not supported by the browser, the Sparkline will switch to the first available mode.The supported values are: "svg" - renders the widget as inline SVG document, if available or "canvas" - renders the widget as a Canvas element, if available..
- ///
- /// series - Array
- /// Array of series definitions.The series type is determined by the value of the type field. If a type value is missing, the type is assumed to be the one specified in seriesDefaults.Each series type has a different set of options.
- ///
- /// seriesColors - Array
- /// The default colors for the chart's series. When all colors are used, new colors are pulled from the start again.
- ///
- /// seriesDefaults - Object
- /// Default values for each series.
- ///
- /// theme - String
- /// The sparkline theme. This can be either a built-in theme or "sass". When set to "sass" the sparkline will read the variables from the Sass-based themes.The supported values are: "sass" - special value, see notes; "black"; "blueopal"; "bootstrap"; "default"; "highcontrast"; "metro"; "metroblack"; "moonlight"; "silver" or "uniform".
- ///
- /// tooltip - Object
- /// The data point tooltip configuration options.
- ///
- /// transitions - Boolean (default: false)
- /// A value indicating if transition animations should be played.
- ///
- /// type - String (default: "line")
- /// The default series type.
- ///
- /// valueAxis - Array
- /// The value axis configuration options.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.dataviz.ui, {
- StockChart: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.ui.StockChart</summary>
- /// </signature>
- }
- });
- kendo.dataviz.ui.StockChart = (function() {
- var original = kendo.dataviz.ui.StockChart;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the widget 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>
- },
- exportImage: function(options) {
- /// <signature>
- /// <summary>
- /// Exports the chart as an image.Inherited from Chart.exportImage
- /// </summary>
- /// <param name="options" type="" >Parameters for the exported image.</param>
- /// <returns type="Promise">A promise that will be resolved with a PNG image encoded as a Data URI.</returns>
- /// </signature>
- },
- exportPDF: function(options) {
- /// <signature>
- /// <summary>
- /// Exports the chart as a PDF file.Inherited from Chart.exportPDF
- /// </summary>
- /// <param name="options" type="kendo.drawing.PDFOptions" >Parameters for the exported PDF file.</param>
- /// <returns type="Promise">A promise that will be resolved with a PDF file encoded as a Data URI.</returns>
- /// </signature>
- },
- exportSVG: function(options) {
- /// <signature>
- /// <summary>
- /// Exports the chart as an SVG document.Inherited from Chart.exportSVG
- /// </summary>
- /// <param name="options" type="" >Export options.</param>
- /// <returns type="Promise">A promise that will be resolved with a SVG document encoded as a Data URI.</returns>
- /// </signature>
- },
- redraw: function() {
- /// <signature>
- /// <summary>
- /// Repaints the chart using the currently loaded data.
- /// </summary>
- /// </signature>
- },
- refresh: function() {
- /// <signature>
- /// <summary>
- /// Reloads the data and renders the chart.
- /// </summary>
- /// </signature>
- },
- resize: function(force) {
- /// <signature>
- /// <summary>
- /// Adjusts the chart layout to match the size of the container.
- /// </summary>
- /// <param name="force" type="Boolean" >Defines whether the widget should proceed with resizing even if the element dimensions have not changed.</param>
- /// </signature>
- },
- setDataSource: function(dataSource) {
- /// <signature>
- /// <summary>
- /// Sets the data source of the widget.
- /// </summary>
- /// <param name="dataSource" type="kendo.data.DataSource" >The data source to which the widget should be bound.</param>
- /// </signature>
- },
- setOptions: function(options) {
- /// <signature>
- /// <summary>
- /// Sets the widget options. Changes are cumulative.
- /// </summary>
- /// <param name="options" type="Object" >The chart settings to update.</param>
- /// </signature>
- },
- svg: function() {
- /// <signature>
- /// <summary>
- /// Returns the SVG representation of the chart. The returned string is a self-contained SVG document that can be used as is or converted to other formats using tools like Inkscape andImageMagick. Both programs provide command-line interface suitable for server-side processing.
- /// </summary>
- /// <returns type="String">the SVG representation of the chart.</returns>
- /// </signature>
- },
- imageDataURL: function() {
- /// <signature>
- /// <summary>
- /// Returns a PNG image of the chart encoded as a Data URL.
- /// </summary>
- /// <returns type="String">A data URL with image/png MIME type. Will be null if the browser does not support the canvas 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;
- })();
- jQuery.fn.kendoStockChart = function() {
- this.data("kendoStockChart", new kendo.dataviz.ui.StockChart());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoStockChart: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.dataviz.ui.StockChart widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.dataviz.ui.StockChart">The kendo.dataviz.ui.StockChart instance (if present).</returns>
- /// </signature>
- },
- kendoStockChart: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.dataviz.ui.StockChart widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// dateField - String (default: "date")
- /// The field containing the point date. It is used as a default categoryField for all series.The data item field value must be either: Date instance; String parsable by new Date([field value]) or String in ASP.NET JSON format, i.e. "\/Date(1320825600000-0800)\/".
- ///
- /// navigator - Object
- /// The data navigator configuration options.
- ///
- /// axisDefaults - Object
- /// Default options for all chart axes.
- ///
- /// categoryAxis - Array
- /// The category axis configuration options.
- ///
- /// chartArea - Object
- /// The chart area configuration options. This is the entire visible area of the chart.
- ///
- /// dataSource - Object
- /// DataSource configuration or instance.
- ///
- /// autoBind - Boolean (default: true)
- /// Indicates whether the chart will call read on the data source initially.
- ///
- /// legend - Object
- /// The chart legend configuration options.
- ///
- /// panes - Array
- /// The chart panes configuration.Panes are used to split the chart in two or more parts. The panes are ordered from top to bottom.Each axis can be associated with a pane by setting its pane option to the name of the desired pane. Axis that don't have specified pane are placed in the top (default) pane.Series are moved to the desired pane by associating them with an axis.
- ///
- /// pdf - Object
- /// Configures the export settings for the saveAsPDF method.
- ///
- /// persistSeriesVisibility - Boolean (default: true)
- /// Specifies if the series visible option should be persisted when changing the dataSource data.
- ///
- /// plotArea - Object
- /// The plot area configuration options. This is the area containing the plotted series.
- ///
- /// renderAs - String
- /// Sets the preferred rendering engine. If it is not supported by the browser, the Chart will switch to the first available mode.The supported values are: "svg" - renders the widget as inline SVG document, if available or "canvas" - renders the widget as a Canvas element, if available..
- ///
- /// series - Array
- /// Array of series definitions.The series type is determined by the value of the type field. If a type value is missing, the type is assumed to be the one specified in seriesDefaults.Each series type has a different set of options.
- ///
- /// seriesColors - Array
- /// The default colors for the chart's series. When all colors are used, new colors are pulled from the start again.
- ///
- /// seriesDefaults - Object
- /// Default values for each series.
- ///
- /// theme - String
- /// The chart theme. This can be either a built-in theme or "sass". When set to "sass" the chart will read the variables from the Sass-based themes.The supported values are: "sass" - special value, see notes; "black"; "blueopal"; "bootstrap"; "default"; "highcontrast"; "metro"; "metroblack"; "moonlight"; "silver" or "uniform".
- ///
- /// title - Object
- /// The chart title configuration options or text.
- ///
- /// tooltip - Object
- /// The data point tooltip configuration options.
- ///
- /// transitions - Boolean (default: true)
- /// A value indicating if transition animations should be played.
- ///
- /// valueAxis - Array
- /// The value axis configuration options.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.dataviz.ui, {
- TreeMap: function() {
- /// <signature>
- /// <summary>Constructor of kendo.dataviz.ui.TreeMap</summary>
- /// </signature>
- }
- });
- kendo.dataviz.ui.TreeMap = (function() {
- var original = kendo.dataviz.ui.TreeMap;
- 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.kendoTreeMap = function() {
- this.data("kendoTreeMap", new kendo.dataviz.ui.TreeMap());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoTreeMap: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.dataviz.ui.TreeMap widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.dataviz.ui.TreeMap">The kendo.dataviz.ui.TreeMap instance (if present).</returns>
- /// </signature>
- },
- kendoTreeMap: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.dataviz.ui.TreeMap widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// dataSource - Object|Array|kendo.data.HierarchicalDataSource
- /// The data source of the treeMap which is used to display the tiles and titles. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing kendo.data.HierarchicalDataSource instance.If the HierarchicalDataSource option is set to a JavaScript object or array the widget will initialize a new kendo.data.HierarchicalDataSource instance using that value as data source configuration.If the HierarchicalDataSource option is an existing kendo.data.HierarchicalDataSource instance the widget will use that instance and will not initialize a new one.
- ///
- /// autoBind - Boolean (default: true)
- /// If set to false the widget will not bind to the data source 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 data source specified in the configuration.
- ///
- /// type - String (default: "squarified")
- /// The layout type for the TreeMap.The Supported values are: squarified; horizontal or vertical.
- ///
- /// theme - String (default: "default")
- /// The theme of the TreeMap.
- ///
- /// valueField - String (default: "value")
- /// The data item field which contains the tile value.
- ///
- /// colorField - String (default: "color")
- /// The data item field which contains the tile color.
- ///
- /// textField - String (default: "text")
- /// The data item field which contains the tile title.
- ///
- /// template - String|Function
- /// The template which renders the treeMap tile content.The fields which can be used in the template are: dataItem - the original data item used to construct the point. or text - the original tile text..
- ///
- /// colors - Array
- /// The default colors for the TreeMap items (tiles). Can be set to array of specific colors or array of color ranges. For more information on the widget behavior, see the Colors section on the TreeMap Overview page.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- 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.spreadsheet, {
- CustomFilter: function() {
- /// <signature>
- /// <summary>Constructor of kendo.spreadsheet.CustomFilter</summary>
- /// </signature>
- }
- });
- kendo.spreadsheet.CustomFilter = (function() {
- var original = kendo.spreadsheet.CustomFilter;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- init: function(options) {
- /// <signature>
- /// <summary>
- /// The constructor of the filter.
- /// </summary>
- /// <param name="options" type="Object" >An object which may contain the following keys: logic - string - either "and" or "or". or criteria - an array of objects, containing operator (String) and value (String|Date|Number) fields.. The supported criteria operators are: eq (equal to), neq (not equal to), lt (less than), lte (less than or equal to), gt (greater than), gte (greater than or equal to). In addition, startswith, endswith, contains, doesnotstartwith and doesnotendwith are supported for cells that contain strings.</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.spreadsheet, {
- DynamicFilter: function() {
- /// <signature>
- /// <summary>Constructor of kendo.spreadsheet.DynamicFilter</summary>
- /// </signature>
- }
- });
- kendo.spreadsheet.DynamicFilter = (function() {
- var original = kendo.spreadsheet.DynamicFilter;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- init: function(options) {
- /// <signature>
- /// <summary>
- /// The constructor of the filter.
- /// </summary>
- /// <param name="options" type="Object" >An object which should have a type field set to: "belowAverage", "aboveAverage", "bottomPercent", or "bottomNumber" for numbers. or "tomorrow", "today", "yesterday", "nextWeek", "thisWeek", "lastWeek", "nextMonth", "thisMonth", "lastMonth", "nextQuarter", "thisQuarter","lastQuarter", "nextYear", "thisYear", "lastYear", "yearToDate" for date fields. "quarter1", "quarter2", "quarter3", "quarter4" and month (en-US) names are also accepted..</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.spreadsheet, {
- Range: function() {
- /// <signature>
- /// <summary>Constructor of kendo.spreadsheet.Range</summary>
- /// </signature>
- }
- });
- kendo.spreadsheet.Range = (function() {
- var original = kendo.spreadsheet.Range;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- background: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the background color of the cells in the range.
- /// </summary>
- /// <param name="value" type="String" >Any valid CSS color.</param>
- /// <returns type="String">the current background color of the top-left cell of the range.</returns>
- /// </signature>
- },
- bold: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the bold state of the cells in the range.
- /// </summary>
- /// <param name="value" type="Boolean" >True to make the text bold; false otherwise.</param>
- /// <returns type="Boolean">the current bold state of the top-left cell of the range.</returns>
- /// </signature>
- },
- borderBottom: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the state of the bottom border of the cells. If the range includes more than a single cell, the setting is applied to all cells.
- /// </summary>
- /// <param name="value" type="Object" >The border configuration object. It may contain size and color keys.The color may be set to any valid CSS color. The size should be the border width in pixels (numeric, not string).</param>
- /// <returns type="Object">the current value of the top-left cell of the range.</returns>
- /// </signature>
- },
- borderLeft: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the state of the left border of the cells. If the range includes more than a single cell, the setting is applied to all cells.
- /// </summary>
- /// <param name="value" type="Object" >The border configuration object. It may contain size and color keys.The color may be set to any valid CSS color. The size should be the border width in pixels (numeric, not string).</param>
- /// <returns type="Object">the current value of the top-left cell of the range.</returns>
- /// </signature>
- },
- borderRight: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the state of the right border of the cells. If the range includes more than a single cell, the setting is applied to all cells.
- /// </summary>
- /// <param name="value" type="Object" >The border configuration object. It may contain size and color keys.The color may be set to any valid CSS color. The size should be the border width in pixels (numeric, not string).</param>
- /// <returns type="Object">the current value of the top-left cell of the range.</returns>
- /// </signature>
- },
- borderTop: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the state of the top border of the cells. If the range includes more than a single cell, the setting is applied to all cells.
- /// </summary>
- /// <param name="value" type="Object" >The border configuration object. It may contain size and color keys.The color may be set to any valid CSS color. The size should be the border width in pixels (numeric, not string).</param>
- /// <returns type="Object">the current value of the top-left cell of the range.</returns>
- /// </signature>
- },
- color: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the text color of the range.
- /// </summary>
- /// <param name="value" type="String" >Any valid CSS color.</param>
- /// <returns type="String">the current color of the top-left cell of the range.</returns>
- /// </signature>
- },
- comment: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the comment for the cells. The comment is a text tooltip that appears when the cell is hovered.
- /// </summary>
- /// <param name="value" type="String" >Text comment. Pass null to remove the comment.</param>
- /// <returns type="String">the current comment of the top-left cell in the range.</returns>
- /// </signature>
- },
- clear: function(options) {
- /// <signature>
- /// <summary>
- /// Clears the contents of the range cells.
- /// </summary>
- /// <param name="options" type="Object" >An object which may contain contentsOnly: true or formatOnly: true key values. Clearing the format will remove the cell formatting and visual styles.If a parameter is not passed, the method will clear both the cells values and the formatting.</param>
- /// </signature>
- },
- clearFilter: function(indices) {
- /// <signature>
- /// <summary>
- /// Clears the set filters for the given column(s). The indices is relative to the beginning of the range.
- /// </summary>
- /// <param name="indices" type="Object" >The column(s) which filters should be cleared.</param>
- /// </signature>
- },
- editor: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the editor of the cells in the range.
- /// </summary>
- /// <param name="value" type="String" >The name of the custom cell editor, registered as described in this help article</param>
- /// <returns type="String">name of the custom cell editor.</returns>
- /// </signature>
- },
- enable: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the disabled state of the cells in the range.
- /// </summary>
- /// <param name="value" type="Boolean" >True to make the cell enabled; false to disable it.</param>
- /// <returns type="Boolean">the current disabled state of the top-left cell of the range.</returns>
- /// </signature>
- },
- fillFrom: function(srcRange,direction) {
- /// <signature>
- /// <summary>
- /// Fills a range with values inferred from a source range. This method employs some heuristics similar to what Excel's auto-filling algorithm does when you select a range of cells and drag the bottom-right handle. The range to be filled is the current object, and you must pass a source range containing data as first argument.
- /// </summary>
- /// <param name="srcRange" type="Object" >The source range. It must have the same number of rows or the same number of columns as the current range — otherwise an exception will be thrown (a Range.FillError object having code property "incompatibleRanges").</param>
- /// <param name="direction" type="Number" >Specifies the fill direction. If the source range (srcRange) and target range (the current object) are adjacent, the fill direction can be inferred from their positions, so it can be missing. For example:In this case it will select vertical reverse filling, because the target range is above the source range.If the ranges are not adjacent and the direction is missing, an exception will be thrown if the ranges don't start either on same column or on the same row ("noFillDirection" error code).Possible values for direction: 0 — fill top-down; 1 — fill left-to-right; 2 — fill bottom-up or 3 — fill right-to-left.</param>
- /// </signature>
- },
- filter: function(filter) {
- /// <signature>
- /// <summary>
- /// Enables/disables or sets the filter for a given range.
- /// </summary>
- /// <param name="filter" type="Object" >Determines the action performed by the method. Passing true enables the filtering for the given range.; Passing false disables and clears the set filters.; Passing a { column: Number, filter: kendo.spreadsheet.Filter } object applies the filter to the respective column. or Passing an array of { column: Number, filter: kendo.spreadsheet.Filter } objects applies each filter to the respective column. The column index is relative to the beginning of the range..</param>
- /// </signature>
- },
- fontFamily: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the font family of the cells in the range.
- /// </summary>
- /// <param name="value" type="String" >The font family that should be set.</param>
- /// <returns type="String">the font family of the top-left cell of the range.</returns>
- /// </signature>
- },
- fontSize: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the font size of the cells in the range.
- /// </summary>
- /// <param name="value" type="Number" >The font size (in pixels) that should be set.</param>
- /// <returns type="Number">the font size of the top-left cell of the range.</returns>
- /// </signature>
- },
- forEachCell: function(callback) {
- /// <signature>
- /// <summary>
- /// Executes a function for each cell in the range.
- /// </summary>
- /// <param name="callback" type="Function" >The function that will be executed against every cell. The function receives the following parameters: rowIndex - the row index of the cell; columnIndex - the column index of the cell or value - the cell properties.</param>
- /// </signature>
- },
- format: function(format) {
- /// <signature>
- /// <summary>
- /// Gets or sets the format of the cells.
- /// </summary>
- /// <param name="format" type="String" >The new format for the cells.</param>
- /// <returns type="String">the format of the top-left cell of the range. When used as a setter, format returns the Range object to allow chained calls.More details about the supported format may be found in the cell formatting help topic.</returns>
- /// </signature>
- },
- formula: function(formula) {
- /// <signature>
- /// <summary>
- /// Gets or sets the formula of the cells.
- /// </summary>
- /// <param name="formula" type="String" >The new formula of the cell. The string may optionally start with =.</param>
- /// <returns type="String">the formula of the top-left cell of the range.</returns>
- /// </signature>
- },
- hasFilter: function() {
- /// <signature>
- /// <summary>
- /// Returns true if the sheet of the range has filter enabled.
- /// </summary>
- /// <returns type="Boolean">true if the sheet has a filter, false otherwise.</returns>
- /// </signature>
- },
- input: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the value of the cells. This is similar to value, but it parses the argument as if it was entered through the text box: if it starts with = (equal sign), a formula is set. This may throw an error if the formula is syntactically invalid. Example: range("C1").input("=A1+B1").; if it looks like a number, a numeric value (not string) is set.; if it's true or false (case-insensitive) the respective boolean value is set.; if it's a Date object, or a string that can be parsed as a date, it is converted to the numerical representation of the date. or if it starts with ' (single quote), a string containing the rest of the characters is set. Example: range("A1").input("'TRUE") — sets the text "TRUE", not the boolean..
- /// </summary>
- /// <param name="value" type="Object" >The value to be set to the cells.</param>
- /// <returns type="Object">the current value of the top-left cell of the range.</returns>
- /// </signature>
- },
- isSortable: function() {
- /// <signature>
- /// <summary>
- /// Returns if a range can be sorted.
- /// </summary>
- /// <returns type="Boolean">whether the range can be sorted.</returns>
- /// </signature>
- },
- isFilterable: function() {
- /// <signature>
- /// <summary>
- /// Returns if a range can be filtered.
- /// </summary>
- /// <returns type="Boolean">whether the range can be filtered.</returns>
- /// </signature>
- },
- italic: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the italic state of the cells in the range.
- /// </summary>
- /// <param name="value" type="Boolean" >True will make the text of the cells italic; false otherwise.</param>
- /// <returns type="Boolean">the current italic state of the top-left cell of the range.</returns>
- /// </signature>
- },
- link: function(url) {
- /// <signature>
- /// <summary>
- /// Gets or sets the hyperlink of the cells in the range.
- /// </summary>
- /// <param name="url" type="String" >Pass a string (the URL) to create a hyperlink. Pass null to remove the link. Omit argument to get the existing URL, if any.</param>
- /// <returns type="String">the current hyperlink attribute of the top-left cell of the range.</returns>
- /// </signature>
- },
- merge: function() {
- /// <signature>
- /// <summary>
- /// Merges the range cells into a single merged cell. If the range already includes a merged cell, they are merged, too.
- /// </summary>
- /// </signature>
- },
- select: function() {
- /// <signature>
- /// <summary>
- /// Sets the sheet selection to the range cells.``````
- /// </summary>
- /// </signature>
- },
- sort: function(sort) {
- /// <signature>
- /// <summary>
- /// Sorts the rows in the range.
- /// </summary>
- /// <param name="sort" type="Object" >Determines the action performed by the method. Passing a number n sorts the nth column in the range, in ascending order.; Passing a { column: Number, ascending: Boolean } sorts the respective column in ascending / descending order, based on the ascending parameter. The column index is relative to the beginning of the range. or Passing an array of { column: Number, ascending: Boolean } objects sorts each column, specified by the index..</param>
- /// </signature>
- },
- textAlign: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the text alignment of the cells in the range.
- /// </summary>
- /// <param name="value" type="String" >One of the following values: "left", "center", "right" and "justify".</param>
- /// <returns type="String">the current text alignment of the top-left cell of the range.</returns>
- /// </signature>
- },
- unmerge: function() {
- /// <signature>
- /// <summary>
- /// Un-merges any merged cells which are included in the range.``````
- /// </summary>
- /// </signature>
- },
- values: function(values) {
- /// <signature>
- /// <summary>
- /// Gets or sets the values of the range cells. The argument should be an array of arrays which match the dimensions of the range.
- /// </summary>
- /// <param name="values" type="Array" >The cell values.</param>
- /// <returns type="Array">the cell values.</returns>
- /// </signature>
- },
- validation: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the validation of the cells.
- /// </summary>
- /// <param name="value" type="Object" >The validation configuration object. It may contain type, comparerType, dataType, from, to, allowNulls, messageTemplate and titleTemplate keys.The type Can be set to "warning" or "reject". By default the type is "warning".The comparerType Can be set to "greaterThan", "lessThan", "between", "equalTo", "notEqualTo", "greaterThanOrEqualTo", "lessThanOrEqualTo", "notBetween" or "custom".The dataType Can be set to "date", "text", "number", "list" or "custom".The from This key holds formula or value. Used as first or only compare value depending on specified comparer.The to This key can be set to formula or value. It's optional depending on the specified comparer.The allowNulls Can be set to boolean value.The messageTemplate The message which will be displayed in the "reject" validation window.The titleTemplate The title of the "reject" validation window.</param>
- /// <returns type="Object">the current validation of the top-left cell of the range.</returns>
- /// </signature>
- },
- value: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the value of the cells.
- /// </summary>
- /// <param name="value" type="Object" >The value to be set to the cells.</param>
- /// <returns type="Object">the current value of the top-left cell of the range.</returns>
- /// </signature>
- },
- verticalAlign: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the vertical alignment of the cells in the range.
- /// </summary>
- /// <param name="value" type="String" >One of the following values: "top", "center" and "bottom".</param>
- /// <returns type="String">the current text alignment of the top-left cell of the range.</returns>
- /// </signature>
- },
- wrap: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the wrap of the range cells.
- /// </summary>
- /// <param name="value" type="Boolean" >if to enable wrapping, false otherwise.</param>
- /// <returns type="Boolean">the current wrap state of the top-left cell of the range.</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.spreadsheet, {
- Sheet: function() {
- /// <signature>
- /// <summary>Constructor of kendo.spreadsheet.Sheet</summary>
- /// </signature>
- }
- });
- kendo.spreadsheet.Sheet = (function() {
- var original = kendo.spreadsheet.Sheet;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- addDrawing: function(drawing) {
- /// <signature>
- /// <summary>
- /// Adds a new drawing to this sheet.
- /// </summary>
- /// <param name="drawing" type="Object" >This can contain the same properties as you can pass tosheets.drawings configuration options.</param>
- /// <returns type="Object">an internal Drawing object containing the passed properties. The internals of this object are not intended to be public API at this point, but you can pass this object reference to removeDrawing if you want to remove this drawing.</returns>
- /// </signature>
- },
- clearFilter: function(indexes) {
- /// <signature>
- /// <summary>
- /// Clears the filters for the passed column index. If an array is passed, clearFilter will clear the filter for each column index.
- /// </summary>
- /// <param name="indexes" type="Object" >The column index(es)</param>
- /// </signature>
- },
- columnWidth: function(index,width) {
- /// <signature>
- /// <summary>
- /// Gets or sets the width of the column at the given index.
- /// </summary>
- /// <param name="index" type="Number" >The zero-based index of the column</param>
- /// <param name="width" type="Number" >If passed, the method will set the width of the column at the passed index.</param>
- /// </signature>
- },
- batch: function(callback,changeEventArgs) {
- /// <signature>
- /// <summary>
- /// Suppresses triggering of change events for a sequence of actions. Triggers a single change event at the end of the sequence.Greatly improves performance when calling multiple methods that change the sheet state, as the widget will be refreshed once.
- /// </summary>
- /// <param name="callback" type="Function" >The sequence of actions that will be executed without triggering a change event.</param>
- /// <param name="changeEventArgs" type="Object" >The change event arguments that will be used for the change event triggered after the callback finishes executing.</param>
- /// </signature>
- },
- deleteColumn: function(index) {
- /// <signature>
- /// <summary>
- /// Deletes the contents of the column at the provided index and shifts the remaining contents of the sheet to the left.
- /// </summary>
- /// <param name="index" type="Number" >The zero-based index of the column</param>
- /// </signature>
- },
- deleteRow: function(index) {
- /// <signature>
- /// <summary>
- /// Deletes the contents of the row at the provided index and shifts the remaining contents of the sheet up.
- /// </summary>
- /// <param name="index" type="Number" >The zero-based index of the row</param>
- /// </signature>
- },
- fromJSON: function(data) {
- /// <signature>
- /// <summary>
- /// Loads the sheet from an object in the format defined in the sheet configuration.
- /// </summary>
- /// <param name="data" type="Object" >The object to load data from. This should be the deserialized object, not the JSON string.</param>
- /// </signature>
- },
- frozenColumns: function(count) {
- /// <signature>
- /// <summary>
- /// Gets or sets the amount of frozen columns displayed by the sheet.
- /// </summary>
- /// <param name="count" type="Number" >The amount of columns to be frozen. Pass 0 to remove the frozen pane.</param>
- /// <returns type="Number">The current frozen columns. By default, returns 0.</returns>
- /// </signature>
- },
- frozenRows: function(count) {
- /// <signature>
- /// <summary>
- /// Gets or sets the amount of frozen rows displayed by the sheet.
- /// </summary>
- /// <param name="count" type="Number" >The amount of columns to be frozen. Pass 0 to remove the frozen pane.</param>
- /// <returns type="Number">The current frozen rows. By default, returns 0.</returns>
- /// </signature>
- },
- hideColumn: function(index) {
- /// <signature>
- /// <summary>
- /// Hides the column at the provided index.
- /// </summary>
- /// <param name="index" type="Number" >The zero-based index of the column</param>
- /// </signature>
- },
- hideRow: function(index) {
- /// <signature>
- /// <summary>
- /// Hides the row at the provided index.
- /// </summary>
- /// <param name="index" type="Number" >The zero-based index of the row</param>
- /// </signature>
- },
- insertColumn: function(index) {
- /// <signature>
- /// <summary>
- /// Inserts a new, empty column at the provided index. The contents of the spreadsheet (including the ones in the current column index) are shifted to the right.
- /// </summary>
- /// <param name="index" type="Number" >The zero-based index of the column</param>
- /// </signature>
- },
- insertRow: function(index) {
- /// <signature>
- /// <summary>
- /// Inserts a new, empty row at the provided index. The contents of the spreadsheet (including the ones in the current row index) are shifted down.
- /// </summary>
- /// <param name="index" type="Number" >The zero-based index of the column</param>
- /// </signature>
- },
- range: function(ref,rowIndex,columnIndex,rowCount,columnCount) {
- /// <signature>
- /// <summary>
- /// Returns a Range for the given range specification.
- /// </summary>
- /// <param name="ref" type="String" ></param>
- /// <param name="rowIndex" type="Number" ></param>
- /// <param name="columnIndex" type="Number" ></param>
- /// <param name="rowCount" type="Number" ></param>
- /// <param name="columnCount" type="Number" >If the parameter is a string, it should represent an A1 or RC notation reference of the cells.If the parameters are Numbers, the first two would represent the row index (the first parameter) and the column index (the second parameter) of the top-left cell of the range. If there are only two parameters, only one cell will be included in the range. If the other two Numbers are also present, they will represent the number of rows (the third parameter) and number of columns (the forth parameter) that would be included in the range, starting from the specified top-left cell. If the third or the forth parameter is set to 0 or 1, only one row / column will be included in the range.</param>
- /// <returns type="kendo.spreadsheet.Range">a range object, which may be used to manipulate the cell state further.</returns>
- /// </signature>
- },
- removeDrawing: function(drawing) {
- /// <signature>
- /// <summary>
- /// Removes a drawing previously added with addDrawing.
- /// </summary>
- /// <param name="drawing" type="Object" >The drawing object.</param>
- /// </signature>
- },
- rowHeight: function(index,width) {
- /// <signature>
- /// <summary>
- /// Gets or sets the height of the row at the given index.
- /// </summary>
- /// <param name="index" type="Number" >The zero-based index of the row</param>
- /// <param name="width" type="Number" >If passed, the method will set the height of the row at the passed index.</param>
- /// </signature>
- },
- selection: function() {
- /// <signature>
- /// <summary>
- /// Returns a range with the current active selection.
- /// </summary>
- /// <returns type="kendo.spreadsheet.Range">the selection range.</returns>
- /// </signature>
- },
- setDataSource: function(dataSource,columns) {
- /// <signature>
- /// <summary>
- /// Binds the sheet to a DataSource instance. For more information on the data-binding Spreadsheet functionality, refer to the article on binding the Spreadsheet to a data source.
- /// </summary>
- /// <param name="dataSource" type="kendo.data.DataSource" >The DataSource instance.</param>
- /// <param name="columns" type="Array" >Columns configuration.</param>
- /// </signature>
- },
- showGridLines: function(showGridLines) {
- /// <signature>
- /// <summary>
- /// Gets or sets a flag indicating if the grid lines should be visible.
- /// </summary>
- /// <param name="showGridLines" type="Boolean" >If passed, the method will toggle the display of the grid lines according to the value.</param>
- /// <returns type="Boolean">True if the grid lines are currently visible, false otherwise.</returns>
- /// </signature>
- },
- toJSON: function() {
- /// <signature>
- /// <summary>
- /// Serializes the sheet in the format defined in the sheet configuration.
- /// </summary>
- /// </signature>
- },
- unhideColumn: function(index) {
- /// <signature>
- /// <summary>
- /// Shows the hidden column at the provided index. Does not have any effect if the column is already visible.
- /// </summary>
- /// <param name="index" type="Number" >The zero-based index of the column</param>
- /// </signature>
- },
- unhideRow: function(index) {
- /// <signature>
- /// <summary>
- /// Shows the hidden row at the provided index. Does not have any effect if the row is already visible.
- /// </summary>
- /// <param name="index" type="Number" >The zero-based index of the row</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.spreadsheet, {
- TopFilter: function() {
- /// <signature>
- /// <summary>Constructor of kendo.spreadsheet.TopFilter</summary>
- /// </signature>
- }
- });
- kendo.spreadsheet.TopFilter = (function() {
- var original = kendo.spreadsheet.TopFilter;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- init: function(options) {
- /// <signature>
- /// <summary>
- /// The constructor of the filter.
- /// </summary>
- /// <param name="options" type="Object" >An object which may contain the following keys: type - String - can be "topPercent", "topNumber", "bottomPercent", or "bottomNumber". or value - Number, the count | percentage of items to display..</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.spreadsheet, {
- ValueFilter: function() {
- /// <signature>
- /// <summary>Constructor of kendo.spreadsheet.ValueFilter</summary>
- /// </signature>
- }
- });
- kendo.spreadsheet.ValueFilter = (function() {
- var original = kendo.spreadsheet.ValueFilter;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- init: function(options) {
- /// <signature>
- /// <summary>
- /// The constructor of the filter.
- /// </summary>
- /// <param name="options" type="Object" >An object which may contain the following keys: values - an array of the matching values that should be preserved.; blanks - if set as true, empty cells will be shown, too. or dates - an array which works like the values option, but performs partial matching for date values. It should contain objects with year, month, day, hours, minutes, and seconds. Each field is optional..</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.ui, {
- Alert: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.Alert</summary>
- /// </signature>
- }
- });
- kendo.ui.Alert = (function() {
- var original = kendo.ui.Alert;
- 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.kendoAlert = function() {
- this.data("kendoAlert", new kendo.ui.Alert());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoAlert: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.Alert widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.Alert">The kendo.ui.Alert instance (if present).</returns>
- /// </signature>
- },
- kendoAlert: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.Alert widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// messages - Object
- /// Defines the text of the labels that are shown within the alert dialog. Used primarily for localization.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- AutoComplete: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.AutoComplete</summary>
- /// </signature>
- }
- });
- kendo.ui.AutoComplete = (function() {
- var original = kendo.ui.AutoComplete;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- close: function() {
- /// <signature>
- /// <summary>
- /// Closes the widget suggestion popup.
- /// </summary>
- /// </signature>
- },
- dataItem: function(index) {
- /// <signature>
- /// <summary>
- /// Returns the data item at the specified index.
- /// </summary>
- /// <param name="index" type="Number" >The zero-based index of of the data item.</param>
- /// <returns type="Object">the data item at the specified index. Returns undefined if the index is not within bounds.</returns>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the widget 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" >If set to true the widget will be enabled. If set to false the widget will be disabled.</param>
- /// </signature>
- },
- focus: function() {
- /// <signature>
- /// <summary>
- /// Focuses the widget.
- /// </summary>
- /// </signature>
- },
- items: function() {
- /// <signature>
- /// <summary>
- /// Obtains an Array of the DOM elements, which correspond to the data items from the Kendo UI DataSource view (e.g. the ones that match the user's last filtering input).
- /// </summary>
- /// <returns type="Array">The currently rendered dropdown list items (<li> elements).</returns>
- /// </signature>
- },
- readonly: function(readonly) {
- /// <signature>
- /// <summary>
- /// Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input.
- /// </summary>
- /// <param name="readonly" type="Boolean" >If set to true the widget will not allow user input. If set to false the widget will allow user input.</param>
- /// </signature>
- },
- refresh: function() {
- /// <signature>
- /// <summary>
- /// Refresh the suggestion popup by rendering all items again.
- /// </summary>
- /// </signature>
- },
- search: function(word) {
- /// <signature>
- /// <summary>
- /// Searches the data source for the provided value and displays any matches as suggestions.
- /// </summary>
- /// <param name="word" type="String" >The value to search for. All matches are displayed in the suggestion popup.</param>
- /// </signature>
- },
- select: function(item) {
- /// <signature>
- /// <summary>
- /// Selects the item provided as an argument and updates the value of the widget.
- /// </summary>
- /// <param name="item" type="Object" >A string, DOM element or jQuery object which represents the item to be selected. A string is treated as a jQuery selector.</param>
- /// </signature>
- },
- setDataSource: function(dataSource) {
- /// <signature>
- /// <summary>
- /// Sets the data source of the widget.
- /// </summary>
- /// <param name="dataSource" type="kendo.data.DataSource" >The data source to which the widget should be bound.</param>
- /// </signature>
- },
- suggest: function(value) {
- /// <signature>
- /// <summary>
- /// Sets the value of the widget to the specified argument and visually selects the text.
- /// </summary>
- /// <param name="value" type="String" >The value to set.</param>
- /// </signature>
- },
- value: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the value of the widget.
- /// </summary>
- /// <param name="value" type="String" >The value to set.</param>
- /// <returns type="String">the value of the widget.</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.kendoAutoComplete = function() {
- this.data("kendoAutoComplete", new kendo.ui.AutoComplete());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoAutoComplete: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.AutoComplete widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.AutoComplete">The kendo.ui.AutoComplete instance (if present).</returns>
- /// </signature>
- },
- kendoAutoComplete: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.AutoComplete widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// animation - Boolean
- /// Configures the opening and closing animations of the suggestion popup. Setting the animation option to false will disable the opening and closing animations. As a result the suggestion popup will open and close instantly. is not a valid configuration.
- ///
- /// animation - Object
- /// Configures the opening and closing animations of the suggestion popup. Setting the animation option to false will disable the opening and closing animations. As a result the suggestion popup will open and close instantly. is not a valid configuration.
- ///
- /// autoWidth - Boolean
- /// If set to true, the widget automatically adjusts the width of the popup element and does not wrap up the item label.
- ///
- /// dataSource - Object|Array|kendo.data.DataSource
- /// The data source of the widget which is used to display suggestions for the current value. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing kendo.data.DataSource instance.If the dataSource option is set to a JavaScript object or array the widget will initialize a new kendo.data.DataSource instance using that value as data source configuration.If the dataSource option is an existing kendo.data.DataSource instance the widget will use that instance and will not initialize a new one.
- ///
- /// clearButton - Boolean (default: true)
- /// Unless this options is set to false, a button will appear when hovering the widget. Clicking that button will reset the widget's value and will trigger the change event.
- ///
- /// dataTextField - String (default: null)
- /// The field of the data item used when searching for suggestions. This is the text that will be displayed in the list of matched results.
- ///
- /// delay - Number (default: 200)
- /// The delay in milliseconds between a keystroke and when the widget displays the suggestion popup.
- ///
- /// enable - Boolean (default: true)
- /// If set to false the widget will be disabled and will not allow user input. The widget is enabled by default and allows user input.
- ///
- /// enforceMinLength - Boolean (default: false)
- /// If set to true the widget will not show all items when the text of the search input cleared. By default the widget shows all items when the text of the search input is cleared. Works in conjunction with minLength.
- ///
- /// filter - String (default: "startswith")
- /// The filtering method used to determine the suggestions for the current value. The default filter is "startswith" - all data items which begin with the current widget value are displayed in the suggestion popup. The supported filter values are startswith, endswith and contains.
- ///
- /// fixedGroupTemplate - String|Function
- /// The template used to render the fixed header group. By default the widget displays only the value of the current group.
- ///
- /// footerTemplate - String|Function
- /// The template used to render the footer template. The footer template receives the widget itself as a part of the data argument. Use the widget fields directly in the template.
- ///
- /// groupTemplate - String|Function
- /// The template used to render the groups. By default the widget displays only the value of the group.
- ///
- /// height - Number (default: 200)
- /// The height of the suggestion popup in pixels. The default value is 200 pixels.
- ///
- /// highlightFirst - Boolean (default: true)
- /// If set to true the first suggestion will be automatically highlighted.
- ///
- /// ignoreCase - Boolean (default: true)
- /// If set to false case-sensitive search will be performed to find suggestions. The widget performs case-insensitive searching by default.
- ///
- /// minLength - Number (default: 1)
- /// The minimum number of characters the user must type before a search is performed. Set to higher value than 1 if the search could match a lot of items.
- ///
- /// noDataTemplate - String|Function (default: "NO DATA FOUND.")
- /// The template used to render the "no data" template, which will be displayed if no results are found or the underlying data source is empty. The noData template receives the widget itself as a part of the data argument. The template will be evaluated on every widget data bound.
- ///
- /// placeholder - String (default: "")
- /// The hint displayed by the widget when it is empty. Not set by default.
- ///
- /// popup - Object
- /// The options that will be used for the popup initialization. For more details about the available options refer to Popup documentation.
- ///
- /// separator - String|Array (default: "")
- /// The character used to separate multiple values. Empty by default.
- ///
- /// suggest - Boolean (default: false)
- /// If set to true the widget will automatically use the first suggestion as its value.
- ///
- /// headerTemplate - String|Function
- /// Specifies a static HTML content, which will be rendered as a header of the popup element.
- ///
- /// template - String|Function
- /// The template used to render the suggestions. By default the widget displays only the text of the suggestion (configured via dataTextField).
- ///
- /// value - String (default: "")
- /// The value of the widget.
- ///
- /// valuePrimitive - Boolean (default: false)
- /// Specifies the value binding behavior for the widget when the initial model value is null. If set to true, the View-Model field will be updated with the selected item text field. If set to false, the View-Model field will be updated with the selected item.
- ///
- /// virtual - Boolean (default: false)
- /// Enables the virtualization feature of the widget. The configuration can be set on an object, which contains two properties - itemHeight and valueMapper.For detailed information, refer to the article on virtualization.
- ///
- /// virtual - Object (default: false)
- /// Enables the virtualization feature of the widget. The configuration can be set on an object, which contains two properties - itemHeight and valueMapper.For detailed information, refer to the article on virtualization.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- Button: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.Button</summary>
- /// </signature>
- }
- });
- kendo.ui.Button = (function() {
- var original = kendo.ui.Button;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- enable: function(toggle) {
- /// <signature>
- /// <summary>
- /// Enables or disables the Button.
- /// </summary>
- /// <param name="toggle" type="Boolean" >Indicates whether the Button should be enabled or disabled. true and false arguments are accepted. If no argument is supplied, the Button will assume true and will be enabled.</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.kendoButton = function() {
- this.data("kendoButton", new kendo.ui.Button());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoButton: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.Button widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.Button">The kendo.ui.Button instance (if present).</returns>
- /// </signature>
- },
- kendoButton: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.Button widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// enable - Boolean (default: true)
- /// Indicates whether the Button should be enabled or disabled. By default, it is enabled, unless a disabled="disabled" attribute is detected.
- ///
- /// icon - String
- /// Defines a name of an existing icon in the Kendo UI theme sprite. The icon will be applied as background image of a span element inside the Button. The span element can be added automatically by the widget, or an existing element can be used, if it has a k-icon CSS class applied. For a list of available icon names, please refer to the Icons demo.
- ///
- /// iconClass - String
- /// Defines a CSS class - or multiple classes separated by spaced - which are applied to a span element inside the Button. Allows the usage of custom icons.
- ///
- /// imageUrl - String
- /// Defines a URL, which will be used for an img element inside the Button. The URL can be relative or absolute. In case it is relative, it will be evaluated with relation to the web page URL.The img element can be added automatically by the widget, or an existing element can be used, if it has a k-image CSS class applied.
- ///
- /// spriteCssClass - String
- /// Defines a CSS class (or multiple classes separated by spaces), which will be used for applying a background image to a span element inside the Button. In case you want to use an icon from the Kendo UI theme sprite background image, it is easier to use the icon property.The span element can be added automatically by the widget, or an existing element can be used, if it has a k-sprite CSS class applied.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- ButtonGroup: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.ButtonGroup</summary>
- /// </signature>
- }
- });
- kendo.ui.ButtonGroup = (function() {
- var original = kendo.ui.ButtonGroup;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- badge: function(button,value) {
- /// <signature>
- /// <summary>
- ///
- /// </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.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.kendoButtonGroup = function() {
- this.data("kendoButtonGroup", new kendo.ui.ButtonGroup());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoButtonGroup: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.ButtonGroup widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.ButtonGroup">The kendo.ui.ButtonGroup instance (if present).</returns>
- /// </signature>
- },
- kendoButtonGroup: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.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. By default, it is enabled.
- ///
- /// index - Number
- /// Defines the initially selected Button (zero based index).
- ///
- /// selection - String (default: default "single")
- /// Defines the selection type.
- ///
- /// items - Array
- /// A JavaScript array that contains the ButtonGroup's items configuration.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- Calendar: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.Calendar</summary>
- /// </signature>
- }
- });
- kendo.ui.Calendar = (function() {
- var original = kendo.ui.Calendar;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- current: function() {
- /// <signature>
- /// <summary>
- /// Gets currently focused date.
- /// </summary>
- /// <returns type="Date">The current focused date shown in the calendar.</returns>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the Calendar 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>
- },
- max: function(value) {
- /// <signature>
- /// <summary>
- /// Gets/Sets the max value of the calendar.
- /// </summary>
- /// <param name="value" type="Object" >The max date to set.</param>
- /// <returns type="Date">The max value of the calendar.</returns>
- /// </signature>
- },
- min: function(value) {
- /// <signature>
- /// <summary>
- /// Gets/Sets the min value of the calendar.
- /// </summary>
- /// <param name="value" type="Object" >The min date to set.</param>
- /// <returns type="Date">The min value of the calendar.</returns>
- /// </signature>
- },
- navigate: function(value,view) {
- /// <signature>
- /// <summary>
- /// Navigates to view.
- /// </summary>
- /// <param name="value" type="Date" >Desired date.</param>
- /// <param name="view" type="String" >Desired view.</param>
- /// </signature>
- },
- navigateDown: function(value) {
- /// <signature>
- /// <summary>
- /// Navigates to the lower view.
- /// </summary>
- /// <param name="value" type="Date" >Desired date.</param>
- /// </signature>
- },
- navigateToFuture: function() {
- /// <signature>
- /// <summary>
- /// Navigates to the future.
- /// </summary>
- /// </signature>
- },
- navigateToPast: function() {
- /// <signature>
- /// <summary>
- /// Navigates to the past.
- /// </summary>
- /// </signature>
- },
- navigateUp: function() {
- /// <signature>
- /// <summary>
- /// Navigates to the upper view.
- /// </summary>
- /// </signature>
- },
- selectDates: function() {
- /// <signature>
- /// <summary>
- /// Gets/Sets the selected dates for the calendar.
- /// </summary>
- /// </signature>
- },
- value: function(value) {
- /// <signature>
- /// <summary>
- /// Gets/Sets the value of the calendar.
- /// </summary>
- /// <param name="value" type="Object" >The date to set.</param>
- /// <returns type="Date">The value of the calendar.</returns>
- /// </signature>
- },
- view: function() {
- /// <signature>
- /// <summary>
- /// Gets an instance of the current view used by the calendar.
- /// </summary>
- /// <returns type="Object">The instance of the current view used by the calendar.</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.kendoCalendar = function() {
- this.data("kendoCalendar", new kendo.ui.Calendar());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoCalendar: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.Calendar widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.Calendar">The kendo.ui.Calendar instance (if present).</returns>
- /// </signature>
- },
- kendoCalendar: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.Calendar widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// culture - String (default: "en-US")
- /// Specifies the culture info used by the widget.
- ///
- /// dates - Array
- /// Specifies a list of dates, which will be passed to the month template.
- ///
- /// depth - String
- /// Specifies the navigation depth. The following settings are available for the depth value: "month" - Shows the days of the month.; "year" - Shows the months of the year.; "decade" - Shows the years of the decade. or "century" - Shows the decades from the century..
- ///
- /// disableDates - Array|Function (default: null)
- /// An array or function that will be used to determine which dates to be disabled in the calendar.
- ///
- /// footer - String|Function
- /// The template which renders the footer. If false, the footer will not be rendered.
- ///
- /// format - String (default: "M/d/yyyy")
- /// Specifies the format, which is used to parse value set with value() method.
- ///
- /// max - Date (default: Date(2099, 11, 31))
- /// Specifies the maximum date, which the calendar can show.
- ///
- /// messages - Object
- /// Allows localization of the strings that are used in the widget.
- ///
- /// min - Date (default: Date(1900, 0, 1))
- /// Specifies the minimum date, which the calendar can show.
- ///
- /// month - Object
- /// Templates for the cells rendered in "month" view.
- ///
- /// selectable - String (default: "single")
- /// By default user is able to select a single date. The property can also be set to "multiple" in order the multiple date selection to be enabled. More information about multiple selection can be found in the Selection article.
- ///
- /// selectDates - Array (default: [])
- /// Specifies which dates to be selected when the calendar is initialized.
- ///
- /// weekNumber - Boolean (default: false)
- /// If set to true a week of the year will be shown on the left side of the calendar.
- ///
- /// start - String (default: "month")
- /// Specifies the start view. The following settings are available for the start value: "month" - Shows the days of the month.; "year" - Shows the months of the year.; "decade" - Shows the years of the decade. or "century" - Shows the decades from the century..
- ///
- /// value - Date (default: null)
- /// Specifies the selected date.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- Chat: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.Chat</summary>
- /// </signature>
- }
- });
- kendo.ui.Chat = (function() {
- var original = kendo.ui.Chat;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- getUser: function() {
- /// <signature>
- /// <summary>
- /// Gets the user information that is associated with the Chat instance.
- /// </summary>
- /// <returns type="Object">- The object with the user information. Contains the auto-generated id, name, and iconUrl.</returns>
- /// </signature>
- },
- postMessage: function(message) {
- /// <signature>
- /// <summary>
- /// Triggers the post event with the message and renders it inside the widget.
- /// </summary>
- /// <param name="message" type="String" >The text that will be sent and rendered.</param>
- /// </signature>
- },
- renderAttachments: function(options,sender) {
- /// <signature>
- /// <summary>
- /// Renders an attachment inside the Chat. The attachments are rendered through a predefined or custom template that is registered with the Chat.
- /// </summary>
- /// <param name="options" type="" >The configuration options for the attachment.</param>
- /// <param name="sender" type="" >The configuration object which contains information about the sender of the message bubble. Determines where the message will be rendered.</param>
- /// </signature>
- },
- renderMessage: function(message,sender) {
- /// <signature>
- /// <summary>
- /// Renders a message bubble inside the Chat.
- /// </summary>
- /// <param name="message" type="" >The configuration options for the message.</param>
- /// <param name="sender" type="" >The configuration object which contains information about the sender of the message bubble. Determines where the message will be rendered.</param>
- /// </signature>
- },
- renderSuggestedActions: function(suggestedActions) {
- /// <signature>
- /// <summary>
- /// Renders an array of suggested actions inside the chat.
- /// </summary>
- /// <param name="suggestedActions" type="" >An array of suggestedAction objects.</param>
- /// </signature>
- },
- renderUserTypingIndicator: function(sender) {
- /// <signature>
- /// <summary>
- /// Renders the typing indicator for the specified user inside the chat. If a Chat indicator is already rendered, renderUserTypingIndicator will add the user to the typing list.
- /// </summary>
- /// <param name="sender" type="" >The configuration object which contains information about the sender of the typing indicator bubble.</param>
- /// </signature>
- },
- clearUserTypingIndicator: function(sender) {
- /// <signature>
- /// <summary>
- /// Clears the typing indicator for the specified user inside the chat. If a typing indicator is rendered for multiple users, clearUserTypingIndicator will remove the name of the specified user from the typing list.
- /// </summary>
- /// <param name="sender" type="" >The configuration object which contains information about the sender of the typing indicator bubble.</param>
- /// </signature>
- },
- removeTypingIndicator: function() {
- /// <signature>
- /// <summary>
- /// Removes the typing indicator bubble from the chat. If a typing indicator is rendered for multiple users, removeTypingIndicator will remove the entire bubble.
- /// </summary>
- /// </signature>
- },
- toggleToolbar: function(skipEffects) {
- /// <signature>
- /// <summary>
- /// Toggles the Chat toolbar.
- /// </summary>
- /// <param name="skipEffects" type="Boolean" >If set to true, an animation will not play.</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.kendoChat = function() {
- this.data("kendoChat", new kendo.ui.Chat());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoChat: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.Chat widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.Chat">The kendo.ui.Chat instance (if present).</returns>
- /// </signature>
- },
- kendoChat: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.Chat widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// messages - Object
- /// Allows localization of the strings that are used in the widget.
- ///
- /// user - Object
- /// Configures the user information of the Chat.
- ///
- /// toolbar - Object
- /// Configures the toolbar of the Chat.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- ColorPalette: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.ColorPalette</summary>
- /// </signature>
- }
- });
- kendo.ui.ColorPalette = (function() {
- var original = kendo.ui.ColorPalette;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- value: function(color) {
- /// <signature>
- /// <summary>
- /// Get or set the selected color. If no argument is given, this returns the currently selected color as a string in format #FFFFFF.If one argument is given, it selects the new color and updates the UI. The argument can be a string in hex, rgb or rgba format, or a kendo.Color object object.
- /// </summary>
- /// <param name="color" type="String" ></param>
- /// <returns type="String">the string representation of the current color.</returns>
- /// </signature>
- },
- color: function(color) {
- /// <signature>
- /// <summary>
- /// Get or set the selected color. If no argument is given, this returns the currently selected color as a kendo.Color object.
- /// </summary>
- /// <param name="color" type="kendo.Color" >The color that should be set as the current value</param>
- /// <returns type="kendo.Color">the current value</returns>
- /// </signature>
- },
- enable: function(enable) {
- /// <signature>
- /// <summary>
- /// Enables or disables the widget.
- /// </summary>
- /// <param name="enable" type="Boolean" >Whether the widget should be enabled (true) or disabled (false). If not specified, the method will enable 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.kendoColorPalette = function() {
- this.data("kendoColorPalette", new kendo.ui.ColorPalette());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoColorPalette: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.ColorPalette widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.ColorPalette">The kendo.ui.ColorPalette instance (if present).</returns>
- /// </signature>
- },
- kendoColorPalette: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.ColorPalette widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// palette - String|Array (default: "basic")
- /// Specifies the color palette to display. It can be a string with comma-separated colors in hex representation, an array of kendo.Color object objects or of strings that parseColor understands. As a shortcut, you can pass "basic" to get the simple palette (this is the default) or "websafe" to get the Web-safe palette.
- ///
- /// columns - Number (default: 10)
- /// The number of columns to display. When you use the "websafe" palette, this will automatically default to 18.
- ///
- /// tileSize - Number (default: 14)
- /// The size of a color cell.
- ///
- /// tileSize - Object (default: 14)
- /// The size of a color cell.
- ///
- /// value - String (default: null)
- /// Specifies the initially selected color.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- ColorPicker: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.ColorPicker</summary>
- /// </signature>
- }
- });
- kendo.ui.ColorPicker = (function() {
- var original = kendo.ui.ColorPicker;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- close: function() {
- /// <signature>
- /// <summary>
- /// Closes the popup.
- /// </summary>
- /// </signature>
- },
- open: function() {
- /// <signature>
- /// <summary>
- /// Opens the popup element with the color selector.
- /// </summary>
- /// </signature>
- },
- toggle: function() {
- /// <signature>
- /// <summary>
- /// Toggles the popup.
- /// </summary>
- /// </signature>
- },
- value: function(color) {
- /// <signature>
- /// <summary>
- /// Get or set the selected color. If no argument is given, this returns the currently selected color as a string in format #FFFFFF when the opacity option is off, or rgba(255, 255, 255, 1) when opacity is requested.If one argument is given, it selects the new color and updates the UI. The argument can be a string in hex, rgb or rgba format, or a Color object. This does not trigger the "change" event.
- /// </summary>
- /// <param name="color" type="String" ></param>
- /// <returns type="String">the string representation of the current color.</returns>
- /// </signature>
- },
- color: function(color) {
- /// <signature>
- /// <summary>
- /// Get or set the selected color. If no argument is given, this returns the currently selected color as a kendo.Color object.
- /// </summary>
- /// <param name="color" type="kendo.Color" >The color that should be set as the current value</param>
- /// <returns type="kendo.Color">the current value</returns>
- /// </signature>
- },
- enable: function(enable) {
- /// <signature>
- /// <summary>
- /// Enables or disables the widget.
- /// </summary>
- /// <param name="enable" type="Boolean" >Whether the widget should be enabled (true) or disabled (false). If not specified, the method will enable 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.kendoColorPicker = function() {
- this.data("kendoColorPicker", new kendo.ui.ColorPicker());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoColorPicker: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.ColorPicker widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.ColorPicker">The kendo.ui.ColorPicker instance (if present).</returns>
- /// </signature>
- },
- kendoColorPicker: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.ColorPicker widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// buttons - Boolean (default: true)
- /// Specifies whether the widget should display the Apply / Cancel buttons.Applicable only for the HSV selector, when a pallete is not specified.
- ///
- /// clearButton - Boolean (default: false)
- /// Specifies whether the widget should display the 'Clear color' button.Applicable only for the HSV selector, when a pallete is not specified.
- ///
- /// columns - Number
- /// The number of columns to show in the color dropdown when a pallete is specified. This is automatically initialized for the "basic" and "websafe" palettes. If you use a custom palette then you can set this to some value that makes sense for your colors.
- ///
- /// tileSize - Number (default: 14)
- /// The size of a color cell.
- ///
- /// tileSize - Object (default: 14)
- /// The size of a color cell.
- ///
- /// messages - Object
- /// Allows localization of the strings that are used in the widget.
- ///
- /// palette - String|Array (default: null)
- /// When a non-null palette argument is supplied, the drop-down will be a simple color picker that lists the colors. The following are supported: "basic" -- displays 20 basic colors; "websafe" -- display the "web-safe" color palette or otherwise, pass a string with colors in HEX representation separated with commas, or an array of colors, and it will display that palette instead. If you pass an array it can contain strings supported by parseColor orColor objects.. If palette is missing or null, the widget will display the HSV selector.
- ///
- /// opacity - Boolean (default: false)
- /// Only for the HSV selector. If true, the widget will display the opacity slider. Note that currently in HTML5 the does not support opacity.
- ///
- /// preview - Boolean (default: true)
- /// Only applicable for the HSV selector.Displays the color preview element, along with an input field where the end user can paste a color in a CSS-supported notation.
- ///
- /// toolIcon - String (default: null)
- /// A CSS class name to display an icon in the color picker button. If specified, the HTML for the element will look like this:
- ///
- /// value - String (default: null)
- /// The initially selected color. Note that when initializing the widget from an element, the initial color will be decided by the field instead.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- ComboBox: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.ComboBox</summary>
- /// </signature>
- }
- });
- kendo.ui.ComboBox = (function() {
- var original = kendo.ui.ComboBox;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- close: function() {
- /// <signature>
- /// <summary>
- /// Closes the widget popup.
- /// </summary>
- /// </signature>
- },
- dataItem: function(index) {
- /// <signature>
- /// <summary>
- /// Returns the data item at the specified index. If the index is not specified, the selected index will be used.
- /// </summary>
- /// <param name="index" type="Number" >The zero-based index of the data record.</param>
- /// <returns type="Object">The raw data record. Returns undefined if no data.</returns>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the ComboBox 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" >If set to true the widget will be enabled. If set to false the widget will be disabled.</param>
- /// </signature>
- },
- focus: function() {
- /// <signature>
- /// <summary>
- /// Focuses the widget.
- /// </summary>
- /// </signature>
- },
- items: function() {
- /// <signature>
- /// <summary>
- /// Obtains an Array of the DOM elements, which correspond to the data items from the Kendo UI DataSource view.
- /// </summary>
- /// <returns type="Array">The currently rendered dropdown list items (<li> elements).</returns>
- /// </signature>
- },
- open: function() {
- /// <signature>
- /// <summary>
- /// Opens the popup.
- /// </summary>
- /// </signature>
- },
- readonly: function(readonly) {
- /// <signature>
- /// <summary>
- /// Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input.
- /// </summary>
- /// <param name="readonly" type="Boolean" >If set to true the widget will not allow user input. If set to false the widget will allow user input.</param>
- /// </signature>
- },
- refresh: function() {
- /// <signature>
- /// <summary>
- /// Refresh the popup by rendering all items again.
- /// </summary>
- /// </signature>
- },
- search: function(word) {
- /// <signature>
- /// <summary>
- /// Searches the data source for the provided value and displays any matches as suggestions.
- /// </summary>
- /// <param name="word" type="String" >The filter value.</param>
- /// </signature>
- },
- select: function(li) {
- /// <signature>
- /// <summary>
- /// Gets or sets the selected item. Selects the item provided as an argument and updates the value and text of the widget.
- /// </summary>
- /// <param name="li" type="Object" >A string, DOM element or jQuery object which represents the item to be selected. A string is treated as a jQuery selector. A number representing the index of the item or function predicate which returns the correct data item.</param>
- /// <returns type="Number">The index of the selected item, if called with no parameters. If a custom value is entered, the returned selected index is -1. If called with a parameter as a setter.</returns>
- /// </signature>
- },
- setDataSource: function(dataSource) {
- /// <signature>
- /// <summary>
- /// Sets the dataSource of an existing ComboBox and rebinds it.
- /// </summary>
- /// <param name="dataSource" type="kendo.data.DataSource" ></param>
- /// </signature>
- },
- suggest: function(value) {
- /// <signature>
- /// <summary>
- /// Sets the value of the widget to the specified argument and visually selects the text.
- /// </summary>
- /// <param name="value" type="String" >Characters to force a suggestion.</param>
- /// </signature>
- },
- text: function(text) {
- /// <signature>
- /// <summary>
- /// Gets or sets the text of the ComboBox. Widget will select the item with same text. If there are no matches then the text will be considered as a custom value of the widget.
- /// </summary>
- /// <param name="text" type="String" >The text to set.</param>
- /// <returns type="String">The text of the ComboBox.</returns>
- /// </signature>
- },
- toggle: function(toggle) {
- /// <signature>
- /// <summary>
- /// Opens or closes the widget popup.
- /// </summary>
- /// <param name="toggle" type="Boolean" >Defines the whether to open/close the drop-down list.</param>
- /// </signature>
- },
- value: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the value of the ComboBox.
- /// </summary>
- /// <param name="value" type="String" >The value to set.</param>
- /// <returns type="String">The value of the ComboBox.</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.kendoComboBox = function() {
- this.data("kendoComboBox", new kendo.ui.ComboBox());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoComboBox: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.ComboBox widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.ComboBox">The kendo.ui.ComboBox instance (if present).</returns>
- /// </signature>
- },
- kendoComboBox: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.ComboBox widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// animation - Object
- /// Configures the opening and closing animations of the suggestion popup. Setting the animation option to false will disable the opening and closing animations. As a result the suggestion popup will open and close instantly.
- ///
- /// autoBind - Boolean (default: true)
- /// Controls whether to bind the widget to the data source on initialization.
- ///
- /// autoWidth - Boolean
- /// If set to true, the widget automatically adjusts the width of the popup element and does not wrap up the item label.
- ///
- /// cascadeFrom - String
- /// Use it to set the Id of the parent ComboBox widget.Help topic showing how cascading functionality works
- ///
- /// cascadeFromField - String
- /// Defines the field to be used to filter the data source. If not defined, it is set to a field with the same name as the parent's dataValueField option.Help topic showing how cascading functionality works
- ///
- /// cascadeFromParentField - String
- /// Defines the parent field to be used to retain value from. This value will be used further to filter the dataSource. If not defined the value from the parent's dataValueField will be used.
- ///
- /// clearButton - Boolean (default: true)
- /// Unless this options is set to false, a button will appear when hovering the widget. Clicking that button will reset the widget's value and will trigger the change event.
- ///
- /// dataSource - Object|Array|kendo.data.DataSource
- /// The data source of the widget which is used to display a list of values. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing kendo.data.DataSource instance.If the dataSource option is set to a JavaScript object or array the widget will initialize a new kendo.data.DataSource instance using that value as data source configuration.If the dataSource option is an existing kendo.data.DataSource instance the widget will use that instance and will not initialize a new one.
- ///
- /// dataTextField - String (default: "")
- /// The field of the data item that provides the text content of the list items. The widget will filter the data source based on this field.
- ///
- /// dataValueField - String (default: "")
- /// The field of the data item that provides the value of the widget.
- ///
- /// delay - Number (default: 200)
- /// The delay in milliseconds between a keystroke and when the widget displays the popup.
- ///
- /// enable - Boolean (default: true)
- /// If set to false the widget will be disabled and will not allow user input. The widget is enabled by default and allows user input.
- ///
- /// enforceMinLength - Boolean (default: false)
- /// If set to true the widget will not show all items when the text of the search input cleared. By default the widget shows all items when the text of the search input is cleared. Works in conjunction with minLength.
- ///
- /// filter - String (default: "none")
- /// The filtering method used to determine the suggestions for the current value. Filtration is turned off by default, and can be performed over string values only (either the widget's data has to be an array of strings, or over the field, configured in the dataTextField option). The supported filter values are startswith, endswith and contains.
- ///
- /// fixedGroupTemplate - String|Function
- /// The template used to render the fixed header group. By default the widget displays only the value of the current group.
- ///
- /// footerTemplate - String|Function
- /// The template used to render the footer template. The footer template receives the widget itself as a part of the data argument. Use the widget fields directly in the template.
- ///
- /// groupTemplate - String|Function
- /// The template used to render the groups. By default the widget displays only the value of the group.
- ///
- /// height - Number (default: 200)
- /// The height of the suggestion popup in pixels. The default value is 200 pixels.
- ///
- /// highlightFirst - Boolean (default: true)
- /// If set to true the first suggestion will be automatically highlighted.
- ///
- /// ignoreCase - Boolean (default: true)
- /// If set to false case-sensitive search will be performed to find suggestions. The widget performs case-insensitive searching by default.
- ///
- /// index - Number (default: -1)
- /// The index of the initially selected item. The index is 0 based.
- ///
- /// minLength - Number (default: 1)
- /// The minimum number of characters the user must type before a search is performed. Set to higher value than 1 if the search could match a lot of items.
- ///
- /// noDataTemplate - String|Function (default: "NO DATA FOUND.")
- /// The template used to render the "no data" template, which will be displayed if no results are found or the underlying data source is empty. The noData template receives the widget itself as a part of the data argument. The template will be evaluated on every widget data bound.
- ///
- /// placeholder - String (default: "")
- /// The hint displayed by the widget when it is empty. Not set by default.
- ///
- /// popup - Object
- /// The options that will be used for the popup initialization. For more details about the available options refer to Popup documentation.
- ///
- /// suggest - Boolean (default: false)
- /// If set to true the widget will automatically use the first suggestion as its value.
- ///
- /// syncValueAndText - Boolean (default: true)
- /// When set to true the widget will automatically set selected value to the typed custom text. Set the option to false to clear the selected value but keep the custom text.
- ///
- /// headerTemplate - String|Function
- /// Specifies a static HTML content, which will be rendered as a header of the popup element.
- ///
- /// template - String|Function
- /// The template used to render the items. By default the widget displays only the text of the data item (configured via dataTextField).
- ///
- /// text - String (default: "")
- /// The text of the widget used when the autoBind is set to false.
- ///
- /// value - String (default: "")
- /// The value of the widget.
- ///
- /// valuePrimitive - Boolean (default: false)
- /// Specifies the value binding behavior for the widget when the initial model value is null. If set to true, the View-Model field will be updated with the selected item value field. If set to false, the View-Model field will be updated with the selected item.
- ///
- /// virtual - Boolean (default: false)
- /// Enables the virtualization feature of the widget. The configuration can be set on an object, which contains two properties - itemHeight and valueMapper.For detailed information, refer to the article on virtualization.
- ///
- /// virtual - Object (default: false)
- /// Enables the virtualization feature of the widget. The configuration can be set on an object, which contains two properties - itemHeight and valueMapper.For detailed information, refer to the article on virtualization.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- Confirm: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.Confirm</summary>
- /// </signature>
- }
- });
- kendo.ui.Confirm = (function() {
- var original = kendo.ui.Confirm;
- 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.kendoConfirm = function() {
- this.data("kendoConfirm", new kendo.ui.Confirm());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoConfirm: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.Confirm widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.Confirm">The kendo.ui.Confirm instance (if present).</returns>
- /// </signature>
- },
- kendoConfirm: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.Confirm widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// messages - Object
- /// Defines the text of the labels that are shown within the confirm dialog. Used primarily for localization.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- ContextMenu: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.ContextMenu</summary>
- /// </signature>
- }
- });
- kendo.ui.ContextMenu = (function() {
- var original = kendo.ui.ContextMenu;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- append: function(item,referenceItem) {
- /// <signature>
- /// <summary>
- /// Appends an item to a ContextMenu in the specified referenceItem's sub menu (or the root ContextMenu if not specified).
- /// </summary>
- /// <param name="item" type="Object" >Item to be appended, specified as a JSON object. An array of objects can also be passed.</param>
- /// <param name="referenceItem" type="Object" >A reference item to append the new item in. If omitted, the new item will be appended to the as a root item.</param>
- /// <returns type="kendo.ui.ContextMenu">Returns the ContextMenu object to support chaining.</returns>
- /// </signature>
- },
- close: function(element) {
- /// <signature>
- /// <summary>
- /// Closes the ContextMenu. This method can be prevented to stop the closure.
- /// </summary>
- /// <param name="element" type="Object" >If called without arguments, will close the ContextMenu. If passed an item, it will be closed (if opened).</param>
- /// <returns type="kendo.ui.ContextMenu">Returns the ContextMenu object to support chaining.</returns>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Safely removes the ContextMenu from the DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets.If a new ContextMenu widget should be created afterwards, use a new <ul> for that, as the old one no longer exists.
- /// </summary>
- /// </signature>
- },
- enable: function(element,enable) {
- /// <signature>
- /// <summary>
- /// Enables or disables an item of a ContextMenu. This can optionally be accomplished on initialization by setting the disabled="disabled" on the desired menu item html element.
- /// </summary>
- /// <param name="element" type="Object" >Target element</param>
- /// <param name="enable" type="Boolean" >Desired state</param>
- /// <returns type="kendo.ui.ContextMenu">Returns the ContextMenu object to support chaining.</returns>
- /// </signature>
- },
- findByUid: function(uid) {
- /// <signature>
- /// <summary>
- /// Returns the ContextMenu item by the dataItem's uid.
- /// </summary>
- /// <param name="uid" type="String" >The uid of the data item.</param>
- /// <returns type="jQuery">the item found.</returns>
- /// </signature>
- },
- insertAfter: function(item,referenceItem) {
- /// <signature>
- /// <summary>
- /// Inserts an item into a ContextMenu after the specified referenceItem.
- /// </summary>
- /// <param name="item" type="Object" >Target item, specified as a JSON object. Can also handle an array of such objects.</param>
- /// <param name="referenceItem" type="Object" >A reference item to insert the new item after.</param>
- /// <returns type="kendo.ui.ContextMenu">Returns the ContextMenu object to support chaining.</returns>
- /// </signature>
- },
- insertBefore: function(item,referenceItem) {
- /// <signature>
- /// <summary>
- /// Inserts an item into a ContextMenu before the specified referenceItem.
- /// </summary>
- /// <param name="item" type="Object" >Target item, specified as a JSON object. Can also handle an array of such objects.</param>
- /// <param name="referenceItem" type="Object" >A reference item to insert the new item before</param>
- /// <returns type="kendo.ui.ContextMenu">Returns the ContextMenu object to support chaining.</returns>
- /// </signature>
- },
- open: function(x,y) {
- /// <signature>
- /// <summary>
- /// Shows the ContextMenu at the specified coordinates in pixels or aligned to the specified anchor. If passed an item, it will be opened. This method can be prevented to stop the ContextMenu from opening.
- /// </summary>
- /// <param name="x" type="Object" >X coordinate in pixels or the anchor element to which to align. If passed an item - jQuery object or element - it will be opened.</param>
- /// <param name="y" type="Number" >Y coordinate in pixels. If not specified, ContextMenu will assume the first parameter is an anchor element.</param>
- /// <returns type="kendo.ui.ContextMenu">Returns the ContextMenu object to support chaining.</returns>
- /// </signature>
- },
- remove: function(element) {
- /// <signature>
- /// <summary>
- /// Removes a specified item(s) from a ContextMenu.
- /// </summary>
- /// <param name="element" type="Object" >Target item selector.</param>
- /// <returns type="kendo.ui.ContextMenu">Returns the ContextMenu object to support chaining.</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.kendoContextMenu = function() {
- this.data("kendoContextMenu", new kendo.ui.ContextMenu());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoContextMenu: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.ContextMenu widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.ContextMenu">The kendo.ui.ContextMenu instance (if present).</returns>
- /// </signature>
- },
- kendoContextMenu: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.ContextMenu widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// alignToAnchor - Boolean (default: false)
- /// Specifies that ContextMenu should be shown aligned to the target or the filter element if specified.
- ///
- /// animation - Boolean
- /// A collection of Animation objects, used to change default animations. A value of false will disable all animations in the widget. is not a valid configuration.Available animations for the ContextMenu are listed below. Each animation has a reverse options which is used for the close effect by default, but can be over-ridden by setting the close animation. Each animation also has a direction which can be set off the animation (i.e. slideIn:Down).
- ///
- /// animation - Object
- /// A collection of Animation objects, used to change default animations. A value of false will disable all animations in the widget. is not a valid configuration.Available animations for the ContextMenu are listed below. Each animation has a reverse options which is used for the close effect by default, but can be over-ridden by setting the close animation. Each animation also has a direction which can be set off the animation (i.e. slideIn:Down).
- ///
- /// appendTo - String|jQuery (default: document.body)
- /// The DOM element to which the ContextMenu will be appended. The element needs to be relatively positioned.
- ///
- /// closeOnClick - Boolean (default: true)
- /// Specifies that sub menus should close after item selection (provided they won't navigate).
- ///
- /// copyAnchorStyles - Boolean (default: true)
- /// Copies and uses the styles from the anchor.
- ///
- /// dataSource - Object|Array|kendo.data.HierarchicalDataSource
- /// The data source of the widget which is used to render its items. Can be a JSON object/Array/kendo.data.HierarchicalDataSource that contains an item or an Array of items to be rendered. Refer to the example below for a list of the supported properties.
- ///
- /// dataTextField - String
- /// Sets the field of the data item that provides the text of the ContextMenu items.
- ///
- /// dataUrlField - String
- /// Sets the field of the data item that provides the url of the ContextMenu items.
- ///
- /// dataSpriteCssClassField - String
- /// Sets the field of the data item that provides the sprite css class of the ContextMenu items.
- ///
- /// dataImageUrlField - String
- /// Sets the field of the data item that provides the image url of the ContextMenu items.
- ///
- /// dataContentField - String
- /// Sets the field of the data item that provides the content of the ContextMenu items.
- ///
- /// direction - String (default: "default")
- /// Specifies ContextMenu's sub menu opening direction. Can be "top", "bottom", "left", "right". The example below will initialize the sub menus to open to the left.
- ///
- /// filter - String
- /// Specifies ContextMenu filter selector - the ContextMenu will only be shown on items that satisfy the provided selector.
- ///
- /// hoverDelay - Number (default: 100)
- /// Specifies the delay in ms before the sub menus are opened/closed - used to avoid accidental closure on leaving.
- ///
- /// orientation - String (default: "vertical")
- /// Root menu orientation. Could be horizontal or vertical.
- ///
- /// popupCollision - String
- /// Specifies how ContextMenu should adjust to screen boundaries. By default the strategy is "fit" for a sub menu with a horizontal parent or the root menu, meaning it will move to fit in screen boundaries in all directions, and "fit flip" for a sub menu with vertical parent, meaning it will fit vertically and flip over its parent horizontally. You can also switch off the screen boundary detection completely if you set the popupCollision to false.
- ///
- /// scrollable - Boolean (default: false)
- /// If enabled, the ContextMenu displays buttons that scroll the items when they cannot fit the viewport height. By default, scrolling is disabled.
- ///
- /// scrollable - Object (default: false)
- /// If enabled, the ContextMenu displays buttons that scroll the items when they cannot fit the viewport height. By default, scrolling is disabled.
- ///
- /// showOn - String
- /// Specifies the event or events on which ContextMenu should open. By default ContextMenu will show on contextmenu event on desktop and hold event on touch devices. Could be any pointer/mouse/touch event, also several, separated by spaces.
- ///
- /// target - String|jQuery (default: "body")
- /// Specifies the element on which ContextMenu should open. The default element is the document body.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- DateInput: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.DateInput</summary>
- /// </signature>
- }
- });
- kendo.ui.DateInput = (function() {
- var original = kendo.ui.DateInput;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the DateInput 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>
- /// Enable/Disable the DateInput widget.
- /// </summary>
- /// <param name="enable" type="Boolean" >The argument, which defines whether to enable/disable the DateInput.</param>
- /// </signature>
- },
- readonly: function(readonly) {
- /// <signature>
- /// <summary>
- /// Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input.
- /// </summary>
- /// <param name="readonly" type="Boolean" >The argument, which defines whether the DateInput should be readonly or editable.</param>
- /// </signature>
- },
- max: function(value) {
- /// <signature>
- /// <summary>
- /// Gets/Sets the max value of the DateInput.
- /// </summary>
- /// <param name="value" type="Object" >The max date to set.</param>
- /// <returns type="Date">The max value of the DateInput.</returns>
- /// </signature>
- },
- min: function(value) {
- /// <signature>
- /// <summary>
- /// Gets/Sets the min value of the DateInput.
- /// </summary>
- /// <param name="value" type="Object" >The min date to set.</param>
- /// <returns type="Date">The min value of the DateInput.</returns>
- /// </signature>
- },
- setOptions: function(options) {
- /// <signature>
- /// <summary>
- /// Changes the initial DateInput configuration.
- /// </summary>
- /// <param name="options" type="Object" >The new configuration options.</param>
- /// </signature>
- },
- value: function(value) {
- /// <signature>
- /// <summary>
- /// Gets/Sets the value of the DateInput.
- /// </summary>
- /// <param name="value" type="Object" >The value to set.</param>
- /// <returns type="Date">The value of the DateInput.</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.kendoDateInput = function() {
- this.data("kendoDateInput", new kendo.ui.DateInput());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoDateInput: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.DateInput widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.DateInput">The kendo.ui.DateInput instance (if present).</returns>
- /// </signature>
- },
- kendoDateInput: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.DateInput widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// format - String (default: "M/d/yyyy")
- /// Specifies the format, which is used to format the value of the DateInput displayed in the input. The format also will be used to parse the input.
- ///
- /// max - Date (default: Date(2099, 11, 31))
- /// Specifies the maximum date which can be entered in the input.
- ///
- /// min - Date (default: Date(1900, 0, 1))
- /// Specifies the minimum date that which be entered in the input.
- ///
- /// value - Date (default: null)
- /// Specifies the selected date.
- ///
- /// messages - Object
- /// The messages that DateInput uses. Use it to customize or localize the placeholders of each date/time part.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- DatePicker: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.DatePicker</summary>
- /// </signature>
- }
- });
- kendo.ui.DatePicker = (function() {
- var original = kendo.ui.DatePicker;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- close: function() {
- /// <signature>
- /// <summary>
- /// Closes the calendar.
- /// </summary>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the DatePicker 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>
- /// Enable/Disable the DatePicker widget.
- /// </summary>
- /// <param name="enable" type="Boolean" >The argument, which defines whether to enable/disable the DatePicker.</param>
- /// </signature>
- },
- readonly: function(readonly) {
- /// <signature>
- /// <summary>
- /// Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input.
- /// </summary>
- /// <param name="readonly" type="Boolean" >The argument, which defines whether the DatePicker should be readonly or editable.</param>
- /// </signature>
- },
- max: function(value) {
- /// <signature>
- /// <summary>
- /// Gets/Sets the max value of the DatePicker.
- /// </summary>
- /// <param name="value" type="Object" >The max date to set.</param>
- /// <returns type="Date">The max value of the DatePicker.</returns>
- /// </signature>
- },
- min: function(value) {
- /// <signature>
- /// <summary>
- /// Gets/Sets the min value of the DatePicker.
- /// </summary>
- /// <param name="value" type="Object" >The min date to set.</param>
- /// <returns type="Date">The min value of the DatePicker.</returns>
- /// </signature>
- },
- open: function() {
- /// <signature>
- /// <summary>
- /// Opens the calendar.
- /// </summary>
- /// </signature>
- },
- setOptions: function(options) {
- /// <signature>
- /// <summary>
- /// Changes the initial DatePicker configuration.
- /// </summary>
- /// <param name="options" type="Object" >The new configuration options.</param>
- /// </signature>
- },
- value: function(value) {
- /// <signature>
- /// <summary>
- /// Gets/Sets the value of the DatePicker.
- /// </summary>
- /// <param name="value" type="Object" >The value to set.</param>
- /// <returns type="Date">The value of the DatePicker.</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.kendoDatePicker = function() {
- this.data("kendoDatePicker", new kendo.ui.DatePicker());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoDatePicker: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.DatePicker widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.DatePicker">The kendo.ui.DatePicker instance (if present).</returns>
- /// </signature>
- },
- kendoDatePicker: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.DatePicker widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// animation - Boolean
- /// Configures the opening and closing animations of the calendar popup. Setting the animation option to false will disable the opening and closing animations. As a result the calendar popup will open and close instantly. is not a valid configuration.
- ///
- /// animation - Object
- /// Configures the opening and closing animations of the calendar popup. Setting the animation option to false will disable the opening and closing animations. As a result the calendar popup will open and close instantly. is not a valid configuration.
- ///
- /// ARIATemplate - String (default: "Current focused date is #=kendo.toString(data.current, 'D'#"))
- /// Specifies a template used to populate value of the aria-label attribute.
- ///
- /// culture - String (default: "en-US")
- /// Specifies the culture info used by the widget.
- ///
- /// dateInput - Boolean (default: false)
- /// Specifies if the DatePicker will use DateInput for editing value
- ///
- /// dates - Array
- /// Specifies a list of dates, which will be passed to the month template.
- ///
- /// depth - String
- /// Specifies the navigation depth. The following settings are available for the depth value: "month" - Shows the days of the month.; "year" - Shows the months of the year.; "decade" - Shows the years of the decade. or "century" - Shows the decades from the century..
- ///
- /// disableDates - Array|Function (default: null)
- /// An array or function that will be used to determine which dates to be disabled for selection by the widget.
- ///
- /// footer - String|Function
- /// The template which renders the footer of the calendar. If false, the footer will not be rendered.
- ///
- /// format - String (default: "M/d/yyyy")
- /// Specifies the format, which is used to format the value of the DatePicker displayed in the input. The format also will be used to parse the input.For more information on date and time formats please refer to Date Formatting.
- ///
- /// max - Date (default: Date(2099, 11, 31))
- /// Specifies the maximum date, which the calendar can show.
- ///
- /// min - Date (default: Date(1900, 0, 1))
- /// Specifies the minimum date that the calendar can show.
- ///
- /// month - Object
- /// Templates for the cells rendered in the calendar "month" view.
- ///
- /// weekNumber - Boolean (default: false)
- /// If set to true a week of the year will be shown on the left side of the calendar. It is possible to define a template in order to customize what will be displayed.
- ///
- /// parseFormats - Array
- /// Specifies a list of date formats used to parse the value set with value() method or by direct user input. If not set the value of the format will be used. Note that the format option is always used during parsing.
- ///
- /// start - String (default: "month")
- /// Specifies the start view. The following settings are available for the start value: "month" - Shows the days of the month.; "year" - Shows the months of the year.; "decade" - Shows the years of the decade. or "century" - Shows the decades from the century..
- ///
- /// value - Date (default: null)
- /// Specifies the selected date.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- DateRangePicker: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.DateRangePicker</summary>
- /// </signature>
- }
- });
- kendo.ui.DateRangePicker = (function() {
- var original = kendo.ui.DateRangePicker;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- close: function() {
- /// <signature>
- /// <summary>
- /// Closes the calendar.
- /// </summary>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the DateRangePicker 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>
- /// Enable/Disable the DateRangePicker widget.
- /// </summary>
- /// <param name="enable" type="Boolean" >The argument, which defines whether to enable/disable the DateRangePicker.</param>
- /// </signature>
- },
- readonly: function(readonly) {
- /// <signature>
- /// <summary>
- /// Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input.
- /// </summary>
- /// <param name="readonly" type="Boolean" >The argument, which defines whether the DateRangePicker should be readonly or editable.</param>
- /// </signature>
- },
- max: function(value) {
- /// <signature>
- /// <summary>
- /// Gets/Sets the max value of the DateRangePicker.
- /// </summary>
- /// <param name="value" type="Object" >The max date to set.</param>
- /// <returns type="Date">The max value of the DateRangePicker.</returns>
- /// </signature>
- },
- min: function(value) {
- /// <signature>
- /// <summary>
- /// Gets/Sets the min value of the DateRangePicker.
- /// </summary>
- /// <param name="value" type="Object" >The min date to set.</param>
- /// <returns type="Date">The min value of the DateRangePicker.</returns>
- /// </signature>
- },
- open: function() {
- /// <signature>
- /// <summary>
- /// Opens the calendar.
- /// </summary>
- /// </signature>
- },
- range: function(range) {
- /// <signature>
- /// <summary>
- /// Gets/Sets the selected range for the DateRangePicker.
- /// </summary>
- /// <param name="range" type="Object" >The range to set. It should have a start and end properties with the respective dates.</param>
- /// <returns type="Object">The selected range of the DateRangePicker. The object has a start and end properties.</returns>
- /// </signature>
- },
- setOptions: function(options) {
- /// <signature>
- /// <summary>
- /// Changes the initial DateRangePicker configuration.
- /// </summary>
- /// <param name="options" type="Object" >The new configuration options.</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.kendoDateRangePicker = function() {
- this.data("kendoDateRangePicker", new kendo.ui.DateRangePicker());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoDateRangePicker: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.DateRangePicker widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.DateRangePicker">The kendo.ui.DateRangePicker instance (if present).</returns>
- /// </signature>
- },
- kendoDateRangePicker: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.DateRangePicker widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// ARIATemplate - String (default: "Current focused date is #=kendo.toString(data.current, 'D'#"))
- /// Specifies a template used to populate value of the aria-label attribute.
- ///
- /// culture - String (default: "en-US")
- /// Specifies the culture info used by the widget.
- ///
- /// dates - Array
- /// Specifies a list of dates, which will be passed to the month template.
- ///
- /// depth - String (default: "month")
- /// Specifies the navigation depth. The following settings are available for the depth value: "month" - Shows the days of the month. (default value); "year" - Shows the months of the year.; "decade" - Shows the years of the decade. or "century" - Shows the decades from the century..
- ///
- /// disableDates - Array|Function (default: null)
- /// An array or function that will be used to determine which dates to be disabled for selection by the widget.
- ///
- /// endField - String (default: "")
- /// Specifies the end field name for model binding.
- ///
- /// footer - String|Function
- /// The template which renders the footer of the calendar. If false, the footer will not be rendered.
- ///
- /// format - String (default: "M/d/yyyy")
- /// Specifies the format, which is used to format the value of the DateRangePicker displayed in the input. The format also will be used to parse the input.For more information on date and time formats please refer to Date Formatting.
- ///
- /// max - Date (default: Date(2099, 11, 31))
- /// Specifies the maximum date, which the calendar can show.
- ///
- /// messages - Object
- /// Allows localization of the strings that are used in the widget.
- ///
- /// min - Date (default: Date(1900, 0, 1))
- /// Specifies the minimum date that the calendar can show.
- ///
- /// month - Object
- /// Templates for the cells rendered in the calendar "month" view.
- ///
- /// labels - Boolean (default: true)
- /// Determines if the labels for the inputs will be visible.
- ///
- /// weekNumber - Boolean (default: false)
- /// If set to true a week of the year will be shown on the left side of the calendar. It is possible to define a template in order to customize what will be displayed.
- ///
- /// range - Object
- /// Configures the Kendo UI DateRangePicker range settings.
- ///
- /// start - String (default: "month")
- /// Specifies the start view. The following settings are available for the start value: "month" - Shows the days of the month.; "year" - Shows the months of the year.; "decade" - Shows the years of the decade. or "century" - Shows the decades from the century..
- ///
- /// startField - String (default: "")
- /// Specifies the start field name for model binding.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- DateTimePicker: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.DateTimePicker</summary>
- /// </signature>
- }
- });
- kendo.ui.DateTimePicker = (function() {
- var original = kendo.ui.DateTimePicker;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- close: function(view) {
- /// <signature>
- /// <summary>
- /// Closes the calendar or the time drop-down list.
- /// </summary>
- /// <param name="view" type="String" >The view of the DateTimePicker, expressed as a string. Available views are "time" and "date".</param>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the DateTimePicker 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 a DateTimePicker.
- /// </summary>
- /// <param name="enable" type="Boolean" >Enables (true or undefined) or disables (false) a DateTimePicker.</param>
- /// </signature>
- },
- readonly: function(readonly) {
- /// <signature>
- /// <summary>
- /// Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input.
- /// </summary>
- /// <param name="readonly" type="Boolean" >The argument, which defines whether the DateTimePicker should be readonly or editable.</param>
- /// </signature>
- },
- max: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the maximum value of the DateTimePicker.
- /// </summary>
- /// <param name="value" type="Object" >The maximum time value to set for a DateTimePicker, expressed as a Date object or as a string.</param>
- /// <returns type="Date">The maximum time value of a DateTimePicker.</returns>
- /// </signature>
- },
- min: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the minimum value of the DateTimePicker.
- /// </summary>
- /// <param name="value" type="Object" >The minimum time value to set for a DateTimePicker, expressed as a Date object or as a string.</param>
- /// <returns type="Date">The minimum time value of a DateTimePicker.</returns>
- /// </signature>
- },
- open: function(view) {
- /// <signature>
- /// <summary>
- /// Opens the calendar or the time drop-down list.
- /// </summary>
- /// <param name="view" type="String" >The view of the DateTimePicker, expressed as a string. Available views are "time" and "date".</param>
- /// </signature>
- },
- setOptions: function(options) {
- /// <signature>
- /// <summary>
- ///
- /// </summary>
- /// <param name="options" type="Object" >The new configuration options.</param>
- /// </signature>
- },
- toggle: function(view) {
- /// <signature>
- /// <summary>
- /// Toggles the calendar or the time drop-down list.
- /// </summary>
- /// <param name="view" type="String" >The view of the DateTimePicker, expressed as a string. Available views are "time" and "date".</param>
- /// </signature>
- },
- value: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the value of the DateTimePicker.
- /// </summary>
- /// <param name="value" type="Object" >The time value to set for a DateTimePicker, expressed as a Date object or as a string.</param>
- /// <returns type="Date">The time value of a DateTimePicker.</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.kendoDateTimePicker = function() {
- this.data("kendoDateTimePicker", new kendo.ui.DateTimePicker());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoDateTimePicker: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.DateTimePicker widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.DateTimePicker">The kendo.ui.DateTimePicker instance (if present).</returns>
- /// </signature>
- },
- kendoDateTimePicker: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.DateTimePicker widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// animation - Boolean
- /// Configures the opening and closing animations of the popups. Setting the animation option to false will disable the opening and closing animations. As a result the popup will open and close instantly. is not a valid configuration.
- ///
- /// animation - Object
- /// Configures the opening and closing animations of the popups. Setting the animation option to false will disable the opening and closing animations. As a result the popup will open and close instantly. is not a valid configuration.
- ///
- /// ARIATemplate - String (default: "Current focused date is #=kendo.toString(data.current, 'G'#"))
- /// Specifies a template used to populate value of the aria-label attribute.
- ///
- /// culture - String (default: "en-US")
- /// Specifies the culture info used by the widget.
- ///
- /// dateInput - Boolean (default: false)
- /// Specifies if the DateTimePicker will use DateInput for editing value
- ///
- /// dates - Array
- /// Specifies a list of dates, which will be passed to the month template of the DateView. All dates, which match the date portion of the selected date will be used to re-bind the TimeView.
- ///
- /// depth - String
- /// Specifies the navigation depth of the calendar. The following settings are available for the depth value: "month" - Shows the days of the month.; "year" - Shows the months of the year.; "decade" - Shows the years of the decade. or "century" - Shows the decades from the century..
- ///
- /// disableDates - Array|Function (default: null)
- /// An array or function that will be used to determine which dates to be disabled for selection by the widget.
- ///
- /// footer - String
- /// The template which renders the footer of the calendar. If false, the footer will not be rendered.
- ///
- /// format - String (default: "M/d/yyyy h:mm tt")
- /// Specifies the format, which is used to format the value of the DateTimePicker displayed in the input. The format also will be used to parse the input.For more information on date and time formats please refer to Date Formatting.
- ///
- /// interval - Number (default: 30)
- /// Specifies the interval, between values in the popup list, in minutes.
- ///
- /// max - Date (default: Date(2099, 11, 31))
- /// Specifies the maximum date, which the calendar can show.
- ///
- /// min - Date (default: Date(1900, 0, 1))
- /// Specifies the minimum date that the calendar can show.
- ///
- /// month - Object
- /// Templates for the cells rendered in the calendar "month" view.
- ///
- /// weekNumber - Boolean (default: false)
- /// If set to true a week of the year will be shown on the left side of the calendar. It is possible to define a template in order to customize what will be displayed.
- ///
- /// parseFormats - Array
- /// Specifies the formats, which are used to parse the value set with value() method or by direct input. If not set the value of the options.format and options.timeFormat will be used. Note that value of the format option is always used. The timeFormat value also will be used if defined.
- ///
- /// start - String (default: "month")
- /// Specifies the start view of the calendar. The following settings are available for the start value: "month" - Shows the days of the month.; "year" - Shows the months of the year.; "decade" - Shows the years of the decade. or "century" - Shows the decades from the century..
- ///
- /// timeFormat - String (default: "h:mm tt")
- /// Specifies the format, which is used to format the values in the time drop-down list.
- ///
- /// value - Date (default: null)
- /// Specifies the selected value.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- Dialog: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.Dialog</summary>
- /// </signature>
- }
- });
- kendo.ui.Dialog = (function() {
- var original = kendo.ui.Dialog;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- close: function() {
- /// <signature>
- /// <summary>
- /// Closes a Dialog.
- /// </summary>
- /// <returns type="kendo.ui.Dialog">Returns the dialog object to support chaining.</returns>
- /// </signature>
- },
- content: function(content) {
- /// <signature>
- /// <summary>
- /// Gets or set the content of a dialog. Supports chaining when used as a setter.
- /// </summary>
- /// <param name="content" type="Object" >The content of the Dialog. Can be an HTML string or jQuery object.</param>
- /// <returns type="String">The current dialog content, if used as a getter. If used as a setter, the method will return the dialog object to support chaining.</returns>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Destroys the dialog and its modal overlay, if necessary. Removes the widget HTML elements from the DOM.
- /// </summary>
- /// </signature>
- },
- open: function() {
- /// <signature>
- /// <summary>
- /// Opens a Dialog and brings it on top of any other open Dialog or Window instances by calling toFront internally.
- /// </summary>
- /// <returns type="kendo.ui.Dialog">Returns the dialog object to support chaining.</returns>
- /// </signature>
- },
- title: function(text) {
- /// <signature>
- /// <summary>
- /// Gets or sets the title of a Dialog. Can be a text string. Supports chaining when used as a setter. If passed to the method, an HTML string would be escaped.
- /// </summary>
- /// <param name="text" type="String" >The title of the Dialog.</param>
- /// <returns type="String">The current dialog title, if used as a getter. If used as a setter, the method will return the dialog object to support chaining.</returns>
- /// </signature>
- },
- toFront: function() {
- /// <signature>
- /// <summary>
- /// Increases the z-index style of a Dialog wrapper to bring the instance on top of other open Dialogs. This method is executed automatically when the open method is used.
- /// </summary>
- /// <returns type="kendo.ui.Dialog">Returns the dialog object to support chaining.</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.kendoDialog = function() {
- this.data("kendoDialog", new kendo.ui.Dialog());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoDialog: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.Dialog widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.Dialog">The kendo.ui.Dialog instance (if present).</returns>
- /// </signature>
- },
- kendoDialog: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.Dialog widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// actions - Array
- /// A collection of objects containing text, action and primary attributes used to specify the dialog buttons. #### Example
- ///
- /// animation - Boolean
- /// A collection of {Animation} objects, used to change default animations. A value of false will disable all animations in the widget. is not a valid configuration.
- ///
- /// animation - Object
- /// A collection of {Animation} objects, used to change default animations. A value of false will disable all animations in the widget. is not a valid configuration.
- ///
- /// buttonLayout - String (default: "stretched")
- /// Specifies the possible layout of the action buttons in the Dialog.Possible values are: normal or stretched.
- ///
- /// closable - Boolean (default: true)
- /// Specifies whether a close button should be rendered at the top corner of the dialog.
- ///
- /// content - String
- /// Specifies the content of a Dialog.
- ///
- /// height - Number|String
- /// Specifies height of the dialog.
- ///
- /// maxHeight - Number (default: Infinity)
- /// The maximum height (in pixels) that may be achieved by resizing the dialog.
- ///
- /// maxWidth - Number (default: Infinity)
- /// The maximum width (in pixels) that may be achieved by resizing the dialog.
- ///
- /// messages - Object
- /// Defines the text of the labels that are shown within the dialog. Used primarily for localization.
- ///
- /// minHeight - Number (default: 50)
- /// The minimum height (in pixels) that may be achieved by resizing the dialog.
- ///
- /// minWidth - Number (default: 50)
- /// The minimum width (in pixels) that may be achieved by resizing the dialog.
- ///
- /// modal - Boolean (default: true)
- /// Specifies whether the dialog should show a modal overlay over the page.
- ///
- /// modal - Object (default: true)
- /// Specifies whether the dialog should show a modal overlay over the page.
- ///
- /// title - String|Boolean (default: "")
- /// The text in the dialog title bar. If false, the dialog will be displayed without a title bar.
- ///
- /// visible - Boolean (default: true)
- /// Specifies whether the dialog will be initially visible.
- ///
- /// width - Number|String
- /// Specifies width of the dialog.
- ///
- /// size - String (default: "auto")
- /// Set predefined size to the dialog. The width and height configuration options override the predefined size.Possible values are: auto; small; medium or large.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- Draggable: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.Draggable</summary>
- /// </signature>
- }
- });
- kendo.ui.Draggable = (function() {
- var original = kendo.ui.Draggable;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- cancelHold: function() {
- /// <signature>
- /// <summary>
- /// Has effect only when holdToDrag is set to true. Cancels the activated state of the widget, caused by pressing and holding.
- /// </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.kendoDraggable = function() {
- this.data("kendoDraggable", new kendo.ui.Draggable());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoDraggable: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.Draggable widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.Draggable">The kendo.ui.Draggable instance (if present).</returns>
- /// </signature>
- },
- kendoDraggable: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.Draggable widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// axis - String (default: null)
- /// Constrains the hint movement to either the horizontal (x) or vertical (y) axis. Can be set to either "x" or "y".
- ///
- /// autoScroll - Boolean (default: false)
- /// If set to true the widget will auto-scroll the container when the mouse/finger is close to the top/bottom of it.
- ///
- /// container - String|jQuery (default: null)
- /// If set, the hint movement is constrained to the container boundaries.
- ///
- /// cursorOffset - Object (default: null)
- /// If set, specifies the offset of the hint relative to the mouse cursor/finger. By default, the hint is initially positioned on top of the draggable source offset. The option accepts an object with two keys: top and left.
- ///
- /// distance - Number (default: 5)
- /// The required distance that the mouse should travel in order to initiate a drag.
- ///
- /// group - String (default: "default")
- /// Used to group sets of draggable and drop targets. A draggable with the same group value as a drop target will be accepted by the drop target.
- ///
- /// hint - Function|jQuery
- /// Provides a way for customization of the drag indicator. If a function is supplied, it receives one argument - the draggable element's jQuery object.
- ///
- /// holdToDrag - Boolean (default: false)
- /// Suitable for touch oriented user interface, in order to avoid collision with the touch scrolling gesture. When set to true, the widget will be activated after the user taps and holds the finger on the element for a short amount of time.The draggable will also be activated by pressing, holding and lifting the finger without any movement. Dragging it afterwards will initiate the drag immediately. The activated mode can be canceled by calling cancelHold.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- Drawer: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.Drawer</summary>
- /// </signature>
- }
- });
- kendo.ui.Drawer = (function() {
- var original = kendo.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.kendoDrawer = function() {
- this.data("kendoDrawer", new kendo.ui.Drawer());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoDrawer: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.Drawer widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.Drawer">The kendo.ui.Drawer instance (if present).</returns>
- /// </signature>
- },
- kendoDrawer: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.Drawer widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// position - String (default: 'left')
- /// The position of the drawer. Can be left (default) or right.
- ///
- /// mode - String (default: 'overlay')
- /// Determines how the Kendo UI Drawer will interact with the associated content. The default one (overlay) will simply overlap the associated content with overlay effect. On the other hand "push" mode will show the drawer next to associated cotent. The associated content will shrink its content.
- ///
- /// template - String
- /// Specifies the drawer's content.
- ///
- /// minHeight - Number
- /// Specifies the minimum height for the drawer in push mode. The overlay mode takes 100% of the page height.
- ///
- /// mini - Boolean
- /// Enables or configures the mini mode for the Kendo UI Drawer. This is a compact view that is displayed when the Kendo UI Drawer is collapsed. Usually it used to show only the icons when the drawer content contains icon and text for an item. When set to true it uses the main template.
- ///
- /// mini - Object
- /// Enables or configures the mini mode for the Kendo UI Drawer. This is a compact view that is displayed when the Kendo UI Drawer is collapsed. Usually it used to show only the icons when the drawer content contains icon and text for an item. When set to true it uses the main template.
- ///
- /// swipeToOpen - Boolean (default: true)
- /// If set to false, swiping the associated content will not activate the drawer. In this case, the drawer will only be open by calling the show method. 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.
- ///
- /// width - Number
- /// Defines a specific width for the Kendo UI Drawer when expanded.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- DropDownList: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.DropDownList</summary>
- /// </signature>
- }
- });
- kendo.ui.DropDownList = (function() {
- var original = kendo.ui.DropDownList;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- close: function() {
- /// <signature>
- /// <summary>
- /// Closes the widget popup.
- /// </summary>
- /// </signature>
- },
- dataItem: function(index) {
- /// <signature>
- /// <summary>
- /// Returns the data item at the specified index. If the index is not specified, the selected index will be used.
- /// </summary>
- /// <param name="index" type="Object" >The zero-based index of the data record.</param>
- /// <returns type="Object">The raw data record. Returns undefined if no data.</returns>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the DropDownList 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>
- },
- focus: function() {
- /// <signature>
- /// <summary>
- /// Focuses the widget.
- /// </summary>
- /// </signature>
- },
- items: function() {
- /// <signature>
- /// <summary>
- /// Obtains an Array of the DOM elements, which correspond to the data items from the Kendo UI DataSource view.
- /// </summary>
- /// <returns type="Array">The currently rendered dropdown list items (<li> elements).</returns>
- /// </signature>
- },
- enable: function(enable) {
- /// <signature>
- /// <summary>
- /// Enables or disables the widget.
- /// </summary>
- /// <param name="enable" type="Boolean" >If set to true the widget will be enabled. If set to false the widget will be disabled.</param>
- /// </signature>
- },
- open: function() {
- /// <signature>
- /// <summary>
- /// Opens the popup.
- /// </summary>
- /// </signature>
- },
- readonly: function(readonly) {
- /// <signature>
- /// <summary>
- /// Controls whether the widget is editable or readonly.
- /// </summary>
- /// <param name="readonly" type="Boolean" >The argument, which defines whether the DropDownList should be readonly or editable.</param>
- /// </signature>
- },
- refresh: function() {
- /// <signature>
- /// <summary>
- /// Refresh the popup by rendering all items again.
- /// </summary>
- /// </signature>
- },
- search: function(word) {
- /// <signature>
- /// <summary>
- /// If the DropDownList filter is enabled, the method searches and filters the results available in the drop-down. If no filter is configured for the widget it selects the first item, which starts with the provided value.
- /// </summary>
- /// <param name="word" type="String" >The search value.</param>
- /// </signature>
- },
- select: function(li) {
- /// <signature>
- /// <summary>
- /// Gets or sets the selected item. Selects the item provided as an argument and updates the value and text of the widget.
- /// </summary>
- /// <param name="li" type="Object" >A string, DOM element or jQuery object which represents the item to be selected. A string is treated as a jQuery selector. A number representing the index of the item or function predicate which returns the correct data item.</param>
- /// <returns type="Number">The index of the selected item, if called with no parameters. If a custom value is entered, the returned selected index is -1. If called with a parameter as a setter.</returns>
- /// </signature>
- },
- setDataSource: function(dataSource) {
- /// <signature>
- /// <summary>
- /// Sets the dataSource of an existing DropDownList and rebinds it.
- /// </summary>
- /// <param name="dataSource" type="kendo.data.DataSource" ></param>
- /// </signature>
- },
- text: function(text) {
- /// <signature>
- /// <summary>
- /// Gets or sets the text of the DropDownList.
- /// </summary>
- /// <param name="text" type="String" >The text to set.</param>
- /// <returns type="String">The text of the DropDownList.</returns>
- /// </signature>
- },
- toggle: function(toggle) {
- /// <signature>
- /// <summary>
- /// Opens or closes the widget popup.
- /// </summary>
- /// <param name="toggle" type="Boolean" >Defines the whether to open/close the drop-down list.</param>
- /// </signature>
- },
- value: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the value of the DropDownList. The value will not be set if there is no item with such value. If value is undefined, text of the data item is used.
- /// </summary>
- /// <param name="value" type="String" >The value to set.</param>
- /// <returns type="String">The value of the DropDownList.</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.kendoDropDownList = function() {
- this.data("kendoDropDownList", new kendo.ui.DropDownList());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoDropDownList: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.DropDownList widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.DropDownList">The kendo.ui.DropDownList instance (if present).</returns>
- /// </signature>
- },
- kendoDropDownList: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.DropDownList widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// animation - Boolean
- /// Configures the opening and closing animations of the suggestion popup. Setting the animation option to false will disable the opening and closing animations. As a result the suggestion popup will open and close instantly. is not a valid configuration.
- ///
- /// animation - Object
- /// Configures the opening and closing animations of the suggestion popup. Setting the animation option to false will disable the opening and closing animations. As a result the suggestion popup will open and close instantly. is not a valid configuration.
- ///
- /// autoBind - Boolean (default: true)
- /// Controls whether to bind the widget to the data source on initialization.
- ///
- /// autoWidth - Boolean
- /// If set to true, the widget automatically adjusts the width of the popup element and does not wrap up the item label.
- ///
- /// cascadeFrom - String
- /// Use it to set the Id of the parent DropDownList widget.Help topic showing how cascading functionality works
- ///
- /// cascadeFromField - String
- /// Defines the field to be used to filter the data source. If not defined the parent's dataValueField option will be used.Help topic showing how cascading functionality works
- ///
- /// cascadeFromParentField - String
- /// Defines the parent field to be used to retain value from. This value will be used further to filter the dataSource. If not defined the value from the parent's dataValueField will be used.
- ///
- /// dataSource - Object|Array|kendo.data.DataSource
- /// The data source of the widget which is used to display a list of values. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing kendo.data.DataSource instance.If the dataSource option is set to a JavaScript object or array the widget will initialize a new kendo.data.DataSource instance using that value as data source configuration.If the dataSource option is an existing kendo.data.DataSource instance the widget will use that instance and will not initialize a new one.
- ///
- /// dataTextField - String (default: "")
- /// The field of the data item that provides the text content of the list items. The widget will filter the data source based on this field.
- ///
- /// dataValueField - String (default: "")
- /// The field of the data item that provides the value of the widget.
- ///
- /// delay - Number (default: 500)
- /// Specifies the delay in milliseconds before the search-text typed by the end user is sent for filtering.
- ///
- /// enable - Boolean (default: true)
- /// If set to false the widget will be disabled and will not allow user input. The widget is enabled by default and allows user input.
- ///
- /// enforceMinLength - Boolean (default: false)
- /// If set to true the widget will not show all items when the text of the search input cleared. By default the widget shows all items when the text of the search input is cleared. Works in conjunction with minLength.
- ///
- /// filter - String (default: "none")
- /// The filtering method used to determine the suggestions for the current value. Filtration is turned off by default, and can be performed over string values only (either the widget's data has to be an array of strings, or over the field, configured in the dataTextField option). The supported filter values are startswith, endswith and contains.
- ///
- /// fixedGroupTemplate - String|Function
- /// The template used to render the fixed header group. By default the widget displays only the value of the current group.
- ///
- /// footerTemplate - String|Function
- /// The template used to render the footer template. The footer template receives the widget itself as a part of the data argument. Use the widget fields directly in the template.
- ///
- /// groupTemplate - String|Function
- /// The template used to render the groups. By default the widget displays only the value of the group.
- ///
- /// height - Number (default: 200)
- /// The height of the suggestion popup in pixels. The default value is 200 pixels.
- ///
- /// ignoreCase - Boolean (default: true)
- /// If set to false case-sensitive search will be performed to find suggestions. The widget performs case-insensitive searching by default.
- ///
- /// index - Number (default: 0)
- /// The index of the initially selected item. The index is 0 based.
- ///
- /// minLength - Number (default: 1)
- /// The minimum number of characters the user must type before a filter is performed. Set to higher value than 1 if the search could match a lot of items.
- ///
- /// noDataTemplate - String|Function (default: "NO DATA FOUND.")
- /// The template used to render the "no data" template, which will be displayed if no results are found or the underlying data source is empty. The noData template receives the widget itself as a part of the data argument. The template will be evaluated on every widget data bound.
- ///
- /// popup - Object
- /// The options that will be used for the popup initialization. For more details about the available options refer to Popup documentation.
- ///
- /// optionLabel - String|Object (default: "")
- /// Define the text of the default empty item. If the value is an object, then the widget will use it as a valid data item. Note that the optionLabel will not be available if the widget is empty.
- ///
- /// optionLabelTemplate - String|Function
- /// The template used to render the option label.
- ///
- /// headerTemplate - String|Function
- /// Specifies a static HTML content, which will be rendered as a header of the popup element.
- ///
- /// template - String|Function
- /// The template used to render the items. By default the widget displays only the text of the data item (configured via dataTextField).
- ///
- /// valueTemplate - String|Function
- /// The valueTemplate used to render the selected value. By default the widget displays only the text of the data item (configured via dataTextField).
- ///
- /// text - String (default: "")
- /// The text of the widget used when the autoBind is set to false.
- ///
- /// value - String (default: "")
- /// The value of the widget.
- ///
- /// valuePrimitive - Boolean (default: false)
- /// Specifies the value binding behavior for the widget when the initial model value is null. If set to true, the View-Model field will be updated with the selected item value field. If set to false, the View-Model field will be updated with the selected item.
- ///
- /// virtual - Boolean (default: false)
- /// Enables the virtualization feature of the widget. The configuration can be set on an object, which contains two properties - itemHeight and valueMapper.For detailed information, refer to the article on virtualization.
- ///
- /// virtual - Object (default: false)
- /// Enables the virtualization feature of the widget. The configuration can be set on an object, which contains two properties - itemHeight and valueMapper.For detailed information, refer to the article on virtualization.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- DropDownTree: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.DropDownTree</summary>
- /// </signature>
- }
- });
- kendo.ui.DropDownTree = (function() {
- var original = kendo.ui.DropDownTree;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- close: function() {
- /// <signature>
- /// <summary>
- /// Closes the widget popup.
- /// </summary>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the DropDownTree 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" >If set to true the widget will be enabled. If set to false the widget will be disabled.</param>
- /// </signature>
- },
- focus: function() {
- /// <signature>
- /// <summary>
- /// Focuses the widget.
- /// </summary>
- /// </signature>
- },
- items: function() {
- /// <signature>
- /// <summary>
- /// Obtains an Array of the DOM elements, which correspond to the data items from the Kendo UI HierarchicalDataSource view.
- /// </summary>
- /// <returns type="Array">The currently rendered first level items.</returns>
- /// </signature>
- },
- open: function() {
- /// <signature>
- /// <summary>
- /// Opens the popup.
- /// </summary>
- /// </signature>
- },
- readonly: function(readonly) {
- /// <signature>
- /// <summary>
- /// Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input.
- /// </summary>
- /// <param name="readonly" type="Boolean" >If set to true the widget will not allow user input. If set to false the widget will allow user input.</param>
- /// </signature>
- },
- refresh: function() {
- /// <signature>
- /// <summary>
- /// Refresh the popup by rendering all items again.
- /// </summary>
- /// </signature>
- },
- search: function(word) {
- /// <signature>
- /// <summary>
- /// Searches the data source for the provided value and displays any matches as suggestions.
- /// </summary>
- /// <param name="word" type="String" >The filter value.</param>
- /// </signature>
- },
- setDataSource: function(dataSource) {
- /// <signature>
- /// <summary>
- /// Sets the dataSource of an existing DropDownTree and rebinds it.
- /// </summary>
- /// <param name="dataSource" type="kendo.data.HierarchicalDataSource" ></param>
- /// </signature>
- },
- toggle: function(toggle) {
- /// <signature>
- /// <summary>
- /// Opens or closes the widget popup.
- /// </summary>
- /// <param name="toggle" type="Boolean" >Defines the whether to open/close the drop-down list.</param>
- /// </signature>
- },
- value: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the value of the DropDownTree.
- /// </summary>
- /// <param name="value" type="Object" >The value to set. A String value when checkboxes is 'false' and an Array of strings when checkboxes is true. To clear the value, pass an empty array.</param>
- /// <returns type="Array">The value of the DropDownTree.</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.kendoDropDownTree = function() {
- this.data("kendoDropDownTree", new kendo.ui.DropDownTree());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoDropDownTree: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.DropDownTree widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.DropDownTree">The kendo.ui.DropDownTree instance (if present).</returns>
- /// </signature>
- },
- kendoDropDownTree: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.DropDownTree widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// animation - Boolean
- /// Configures the opening and closing animations of the suggestion popup. Setting the animation option to false will disable the opening and closing animations. As a result, the suggestion popup will open and close instantly. is not a valid configuration.
- ///
- /// animation - Object
- /// Configures the opening and closing animations of the suggestion popup. Setting the animation option to false will disable the opening and closing animations. As a result, the suggestion popup will open and close instantly. is not a valid configuration.
- ///
- /// autoBind - Boolean (default: true)
- /// Controls whether to bind the widget to the data source on initialization.
- ///
- /// autoClose - Boolean (default: true)
- /// Controls whether to close the popup when item is selected or checked.
- ///
- /// autoWidth - Boolean
- /// If set to true, the widget automatically adjusts the width of the popup element and does not wrap up the item label.
- ///
- /// checkAll - Boolean (default: false)
- /// When this options is set to true and checkboxes are enabled, a tristate checkbox appears above the embedded treeview. Clicking that checkbox will check or uncheck all the loaded enabled items of the treeview.
- ///
- /// checkAllTemplate - String|Function
- /// The template used to render the checkAll label. By default, the widget displays only a span element with text "Check all".
- ///
- /// checkboxes - Boolean
- /// If true or an object, renders checkboxes beside each node. In this case the widget value should be an array.
- ///
- /// checkboxes - Object
- /// If true or an object, renders checkboxes beside each node. In this case the widget value should be an array.
- ///
- /// clearButton - Boolean (default: true)
- /// Unless this option is set to false, a button will appear when hovering the widget. Clicking that button will reset the widget's value and will trigger the change event.
- ///
- /// dataImageUrlField - String (default: null)
- /// Sets the field of the data item that provides the image URL of the DropDownTree nodes.
- ///
- /// dataSource - Object|Array|kendo.data.HierarchicalDataSource
- /// The data source of the widget which is used render nodes. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing kendo.data.HierarchicalDataSource instance.If the dataSource option is set to a JavaScript object or array the widget will initialize a new kendo.data.HierarchicalDataSource instance using that value as data source configuration.If the dataSource option is an existing kendo.data.HierarchicalDataSource instance the widget will use that instance and will not initialize a new one.
- ///
- /// dataSpriteCssClassField - String (default: null)
- /// Sets the field of the data item that provides the sprite CSS class of the nodes. If an array, each level uses the field that is at the same index in the array, or the last item in the array.
- ///
- /// dataTextField - String|Array (default: null)
- /// Sets the field of the data item that provides the text content of the nodes. If an array, each level uses the field that is at the same index in the array, or the last item in the array.
- ///
- /// dataUrlField - String (default: null)
- /// Sets the field of the data item that provides the link URL of the nodes.
- ///
- /// dataValueField - String|Array (default: null)
- /// The field of the data item that provides the value of the widget. If an array, each level uses the field that is at the same index in the array, or the last item in the array.
- ///
- /// delay - Number (default: 200)
- /// Specifies the delay in milliseconds after which the DropDownTree will start filtering dataSource.
- ///
- /// enable - Boolean (default: true)
- /// If set to false the widget will be disabled and will not allow user input. The widget is enabled by default and allows user input.
- ///
- /// enforceMinLength - Boolean (default: false)
- /// If set to true the widget will not show all items when the text of the search input cleared. By default, the widget shows all items when the text of the search input is cleared. Works in conjunction with minLength.
- ///
- /// filter - String (default: "none")
- /// The filtering method used to determine the suggestions for the current value. Filtration is turned off by default, and can be performed over string values only (either the widget's data has to be an array of strings, or over the field, configured in the dataTextField option). The supported filter values are startswith, endswith and contains.
- ///
- /// footerTemplate - String|Function
- /// The template used to render the footer template. The footer template receives the widget itself as a part of the data argument. Use the widget fields directly in the template.
- ///
- /// height - String|Number (default: 200)
- /// Sets max-height of the embedded treeview in pixels. The default value is 200 pixels. If set to "Auto" the height of the popup will depend on the height of the treeview.
- ///
- /// ignoreCase - Boolean (default: true)
- /// If set to false case-sensitive search will be performed to find suggestions. The widget performs case-insensitive searching by default.
- ///
- /// loadOnDemand - Boolean (default: false)
- /// Indicates whether the child DataSources should be fetched lazily when parent groups get expanded. Setting this to true causes loading the child DataSources when expanding the parent node.
- ///
- /// messages - Object
- /// The text messages displayed in the widget. Use it to customize or localize the messages.
- ///
- /// minLength - Number (default: 1)
- /// The minimum number of characters the user must type before a search is performed. Set to a higher value if the search could match a lot of items.
- ///
- /// noDataTemplate - String|Function (default: "NO DATA FOUND.")
- /// The template used to render the "no data" template, which will be displayed if no results are found or the underlying data source is empty. The noData template receives the widget itself as a part of the data argument. The template will be evaluated on every widget data bound.
- ///
- /// placeholder - String (default: "")
- /// The hint displayed by the widget when it is empty. Not set by default.
- ///
- /// popup - Object
- /// The options that will be used for the popup initialization. For more details about the available options refer to Popup documentation.
- ///
- /// headerTemplate - String|Function
- /// Specifies a static HTML content, which will be rendered as a header of the popup element.
- ///
- /// valueTemplate - String|Function
- /// The template used to render the value and the or the selected tags.
- ///
- /// tagMode - String (default: "multiple")
- /// The mode used to render the selected tags when checkboxes are enabled. The available modes are: - multiple - renders a tag for every selected value - single - renders only one tag that shows the number of the selected values
- ///
- /// template - String|Function
- /// Template for rendering each node.
- ///
- /// text - String (default: "")
- /// The text of the widget used when the autoBind is set to false.
- ///
- /// value - String|Array
- /// Define the value of the widget. It accepts 'String' when it is in single selection mode and 'Array' when multiple selection is enabled via checkboxes property.
- ///
- /// valuePrimitive - Boolean (default: false)
- /// Specifies the value binding behavior for the widget. If set to true, the View-Model field will be updated with the selected item value field. If set to false, the View-Model field will be updated with the selected item.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- DropTarget: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.DropTarget</summary>
- /// </signature>
- }
- });
- kendo.ui.DropTarget = (function() {
- var original = kendo.ui.DropTarget;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- destroyGroup: function() {
- /// <signature>
- /// <summary>
- /// Destroys all DropTarget instances from the group with the given name.
- /// </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.kendoDropTarget = function() {
- this.data("kendoDropTarget", new kendo.ui.DropTarget());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoDropTarget: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.DropTarget widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.DropTarget">The kendo.ui.DropTarget instance (if present).</returns>
- /// </signature>
- },
- kendoDropTarget: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.DropTarget widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// group - String (default: "default")
- /// Used to group sets of draggable and drop targets. A draggable with the same group value as a drop target will be accepted by the drop target.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- DropTargetArea: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.DropTargetArea</summary>
- /// </signature>
- }
- });
- kendo.ui.DropTargetArea = (function() {
- var original = kendo.ui.DropTargetArea;
- 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.kendoDropTargetArea = function() {
- this.data("kendoDropTargetArea", new kendo.ui.DropTargetArea());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoDropTargetArea: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.DropTargetArea widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.DropTargetArea">The kendo.ui.DropTargetArea instance (if present).</returns>
- /// </signature>
- },
- kendoDropTargetArea: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.DropTargetArea widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// group - String (default: "default")
- /// Used to group sets of draggable and drop targets. A draggable with the same group value as a drop target will be accepted by the drop target.
- ///
- /// filter - String (default: null)
- /// Selector to filter the drop targets in the area. Every matched element acts as a drop target and fires events on the DropTargetArea. Specifying the filter is mandatory.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- Editor: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.Editor</summary>
- /// </signature>
- }
- });
- kendo.ui.Editor = (function() {
- var original = kendo.ui.Editor;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- createRange: function(document) {
- /// <signature>
- /// <summary>
- /// Creates a W3C-compatible Range object.
- /// </summary>
- /// <param name="document" type="Document" >The document that the range is associated with. If omitted, the document of the editor editing area will be used.</param>
- /// <returns type="Range">The created Range object.</returns>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the widget 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>
- },
- encodedValue: function() {
- /// <signature>
- /// <summary>
- /// Gets the HTML encoded value of the editor.
- /// </summary>
- /// <returns type="String">The value of the Editor as HTML encoded string.</returns>
- /// </signature>
- },
- exec: function(name,params) {
- /// <signature>
- /// <summary>
- /// Executes an editor command on the currently selected text.
- /// </summary>
- /// <param name="name" type="String" >The name of the command to be executed. The available names match the list of tools, plus "undo" and "redo".</param>
- /// <param name="params" type="String" >The parameters for the executed command.</param>
- /// </signature>
- },
- focus: function() {
- /// <signature>
- /// <summary>
- /// Focuses the editable area.
- /// </summary>
- /// </signature>
- },
- getRange: function() {
- /// <signature>
- /// <summary>
- /// Gets a Range object form the editable area.
- /// </summary>
- /// <returns type="Range">A W3C-compatible Range object that represents the currently selected text in the editor area.</returns>
- /// </signature>
- },
- getSelection: function() {
- /// <signature>
- /// <summary>
- /// Gets a W3C-compatible Selection object form the editable area.
- /// </summary>
- /// <returns type="Selection">a W3C-compatible Selection object form the editable area.</returns>
- /// </signature>
- },
- paste: function(html,options) {
- /// <signature>
- /// <summary>
- /// Inserts HTML into the editable area. Cleans up MS Word formatting.
- /// </summary>
- /// <param name="html" type="String" >The HTML to be inserted.</param>
- /// <param name="options" type="" >Options that configure how the content is processed when pasting.</param>
- /// </signature>
- },
- selectedHtml: function() {
- /// <signature>
- /// <summary>
- /// Serializes the currently selected text to a XHTML string.
- /// </summary>
- /// <returns type="String">The selected text as valid XHTML.</returns>
- /// </signature>
- },
- refresh: function() {
- /// <signature>
- /// <summary>
- /// Reinitializes the editing area iframe. Should be used after moving the editor in the DOM.
- /// </summary>
- /// </signature>
- },
- saveAsPDF: function() {
- /// <signature>
- /// <summary>
- /// Initiates the PDF export and returns a promise. Also triggers the pdfExport event.
- /// </summary>
- /// <returns type="Promise">A promise that will be resolved when the export completes. The same promise is available in the pdfExport event arguments.</returns>
- /// </signature>
- },
- selectRange: function(range) {
- /// <signature>
- /// <summary>
- /// Focuses the editable area and selects the range described by the range parameter.
- /// </summary>
- /// <param name="range" type="Range" >The Range object that describes the new selection.</param>
- /// </signature>
- },
- update: function() {
- /// <signature>
- /// <summary>
- /// Serializes the current state of the editable area to the <textarea> element. This method should be called after modifying the editor content through the DOM.
- /// </summary>
- /// </signature>
- },
- state: function(toolName) {
- /// <signature>
- /// <summary>
- /// Get the state of a given tool. Introduced in the 2013.2.923 internal build.
- /// </summary>
- /// <param name="toolName" type="String" >The name of the tool that will be tested if formatted.</param>
- /// <returns type="Boolean">The state of the tool.</returns>
- /// </signature>
- },
- value: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the editor value.
- /// </summary>
- /// <param name="value" type="String" >The value to set.</param>
- /// <returns type="String">The value of the Editor as HTML string.</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.kendoEditor = function() {
- this.data("kendoEditor", new kendo.ui.Editor());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoEditor: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.Editor widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.Editor">The kendo.ui.Editor instance (if present).</returns>
- /// </signature>
- },
- kendoEditor: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.Editor widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// deserialization - Object
- /// Fine-tune deserialization in the Editor widget. Deserialization is the process of parsing the HTML string input from the value() method or from the viewHtml dialog into editable content.
- ///
- /// domain - String
- /// Relaxes the same-origin policy when using the iframe-based editor. This is done automatically for all cases except when the policy is relaxed by document.domain = document.domain. In that case, this property must be used to allow the editor to function properly across browsers. This property has been introduced in internal builds after 2014.1.319.
- ///
- /// encoded - Boolean (default: true)
- /// Indicates whether the Editor should submit encoded HTML tags. By default, the submitted value is encoded.
- ///
- /// immutables - Boolean (default: false)
- /// If enabled, the editor disables the editing and command execution in elements marked with editablecontent="false" attribute.
- ///
- /// immutables - Object (default: false)
- /// If enabled, the editor disables the editing and command execution in elements marked with editablecontent="false" attribute.
- ///
- /// messages - Object
- /// Defines the text of the labels that are shown within the editor. Used primarily for localization.
- ///
- /// pasteCleanup - Object
- /// Options for controlling how the pasting content is modified before it is added in the editor.
- ///
- /// pdf - Object
- /// Configures the Kendo UI Editor PDF export settings.
- ///
- /// placeholder - String (default: "")
- /// The hint displayed by the widget when it is empty. Not set by default.
- ///
- /// resizable - Boolean (default: false)
- /// If enabled, the editor renders a resize handle to allow users to resize it.
- ///
- /// resizable - Object (default: false)
- /// If enabled, the editor renders a resize handle to allow users to resize it.
- ///
- /// serialization - Object
- /// Allows setting of serialization options.
- ///
- /// stylesheets - Array
- /// Allows custom stylesheets to be included within the editing area. This setting is applicable only when the Editor is initialized from a textarea and a contenteditable iframe is generated.
- ///
- /// tools - Array
- /// A collection of tools that are used to interact with the Editor. Tools may be switched on by specifying their name. Custom tools and tools that require configuration are defined as objects.The available editor commands are: Basic text formatting - bold, italic, underline, strikethrough, subscript, superscript; Font and color - fontName, fontSize, foreColor, backColor; Alignment - justifyLeft, justifyCenter, justifyRight, justifyFull; Lists - insertUnorderedList, insertOrderedList, indent, outdent; Links, images and files - createLink, unlink, insertImage, insertFile; Table editing - tableWizard, createTable, addColumnLeft, addColumnRight, addRowAbove, addRowBelow, deleteRow, deleteColumn; Structural markup and styles - formatting, cleanFormatting; Snippets - insertHtml; HTML code view - viewHtml; Print edited page - print or Export to PDF - pdf.
- ///
- /// imageBrowser - Object
- /// Configuration for image browser dialog.
- ///
- /// fileBrowser - Object
- /// Configuration for file browser dialog.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- FilterMenu: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.FilterMenu</summary>
- /// </signature>
- }
- });
- kendo.ui.FilterMenu = (function() {
- var original = kendo.ui.FilterMenu;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- clear: function() {
- /// <signature>
- /// <summary>
- /// Resets the filter configurations and the dataSource to their initial state.
- /// </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.kendoFilterMenu = function() {
- this.data("kendoFilterMenu", new kendo.ui.FilterMenu());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoFilterMenu: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.FilterMenu widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.FilterMenu">The kendo.ui.FilterMenu instance (if present).</returns>
- /// </signature>
- },
- kendoFilterMenu: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.FilterMenu widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// dataSource - Object|Array|kendo.data.DataSource
- /// The data source of the widget. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing kendo.data.DataSource instance.If the dataSource option is set to a JavaScript object or array the widget will initialize a new kendo.data.DataSource instance using that value as data source configuration.If the dataSource option is an existing kendo.data.DataSource instance the widget will use that instance and will not initialize a new one.
- ///
- /// extra - Boolean (default: true)
- /// If set to true the filter menu allows the user to input a second criterion.
- ///
- /// field - String
- /// Specifies the field to filter on
- ///
- /// messages - Object
- /// The text messages displayed in the filter menu. Use it to customize or localize the filter menu messages.
- ///
- /// operators - Object
- /// The text of the filter operators displayed in the filter menu.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- FlatColorPicker: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.FlatColorPicker</summary>
- /// </signature>
- }
- });
- kendo.ui.FlatColorPicker = (function() {
- var original = kendo.ui.FlatColorPicker;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- focus: function() {
- /// <signature>
- /// <summary>
- /// Focuses the widget.
- /// </summary>
- /// </signature>
- },
- value: function(color) {
- /// <signature>
- /// <summary>
- /// Get or set the selected color. If no argument is given, this returns the currently selected color as a string in format #FFFFFF when the opacity option is off, or rgba(255, 255, 255, 1) when opacity is requested.If one argument is given, it selects the new color and updates the UI. The argument can be a string in hex, rgb or rgba format, or a Color object. This does not trigger the "change" event.
- /// </summary>
- /// <param name="color" type="String" ></param>
- /// <returns type="String">the string representation of the current color.</returns>
- /// </signature>
- },
- color: function(color) {
- /// <signature>
- /// <summary>
- /// Get or set the selected color. If no argument is given, this returns the currently selected color as a kendo.Color object.
- /// </summary>
- /// <param name="color" type="kendo.Color" >The color that should be set as the current value</param>
- /// <returns type="kendo.Color">the current value</returns>
- /// </signature>
- },
- enable: function(enable) {
- /// <signature>
- /// <summary>
- /// Enables or disables the widget.
- /// </summary>
- /// <param name="enable" type="Boolean" >Whether the widget should be enabled (true) or disabled (false). If not specified, the method will enable 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.kendoFlatColorPicker = function() {
- this.data("kendoFlatColorPicker", new kendo.ui.FlatColorPicker());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoFlatColorPicker: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.FlatColorPicker widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.FlatColorPicker">The kendo.ui.FlatColorPicker instance (if present).</returns>
- /// </signature>
- },
- kendoFlatColorPicker: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.FlatColorPicker widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// opacity - Boolean (default: false)
- /// Specifies whether we should display the opacity slider to allow selection of transparency.
- ///
- /// buttons - Boolean (default: false)
- /// Specifies whether the widget should display the Apply / Cancel buttons.
- ///
- /// value - String (default: null)
- /// Specifies the initially selected color.
- ///
- /// preview - Boolean (default: true)
- /// Specifies whether we should display the preview bar which displays the current color and the input field.
- ///
- /// autoupdate - Boolean (default: true)
- /// Specifies whether the UI should be updated while the user is typing in the input field, whenever a valid color can be parsed. If you passfalse for this, the widget will update only when ENTER is pressed.
- ///
- /// messages - Object
- /// Allows customization of "Apply" / "Cancel" labels.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- Gantt: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.Gantt</summary>
- /// </signature>
- }
- });
- kendo.ui.Gantt = (function() {
- var original = kendo.ui.Gantt;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- clearSelection: function() {
- /// <signature>
- /// <summary>
- /// Clears the currently selected task or dependency.
- /// </summary>
- /// </signature>
- },
- dataItem: function(row) {
- /// <signature>
- /// <summary>
- /// Returns the data item to which the specified table row from the TreeList is bound
- /// </summary>
- /// <param name="row" type="Object" >A string, DOM element or jQuery object which represents the table row. A string is treated as a jQuery selector.</param>
- /// <returns type="kendo.data.GanttTask">the task data item to which the specified table row is bound.</returns>
- /// </signature>
- },
- date: function(date) {
- /// <signature>
- /// <summary>
- /// Sets date to the widget that will scroll the timeline of the current view to this date.
- /// </summary>
- /// <param name="date" type="Date" >A Date that will be set to the currently selected view.</param>
- /// <returns type="Date">that is set to the currently seleted view.</returns>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the widget 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>
- },
- editTask: function(task) {
- /// <signature>
- /// <summary>
- /// Opens the popup window to edit the GanttTask object which is received from the call.
- /// </summary>
- /// <param name="task" type="kendo.data.GanttTask" >A kendo.data.GanttTask object which represents the currently selected task.</param>
- /// </signature>
- },
- range: function(range) {
- /// <signature>
- /// <summary>
- /// Sets range to the widget.
- /// </summary>
- /// <param name="range" type="Object" >An Object that have start and end parameters of type Date.</param>
- /// <returns type="Object">the object with start and end values of the selected view.</returns>
- /// </signature>
- },
- refresh: function() {
- /// <signature>
- /// <summary>
- /// Renders all tasks and dependencies using the current data items.
- /// </summary>
- /// </signature>
- },
- refreshDependencies: function() {
- /// <signature>
- /// <summary>
- /// Renders all dependencies using the current data items.
- /// </summary>
- /// </signature>
- },
- removeDependency: function(dependency) {
- /// <signature>
- /// <summary>
- /// Removes the specified Gantt dependency.
- /// </summary>
- /// <param name="dependency" type="Object" >The dependency which should be removed. Also accepts a string which is the uid of the dependency which should be removed.</param>
- /// </signature>
- },
- removeTask: function(task) {
- /// <signature>
- /// <summary>
- /// Removes the specified Gantt task.
- /// </summary>
- /// <param name="task" type="Object" >The task which should be removed. Also accepts a string which is the uid of the task which should be removed.</param>
- /// </signature>
- },
- saveAsPDF: function() {
- /// <signature>
- /// <summary>
- /// Initiates the PDF export and returns a promise. Also triggers the pdfExport event.
- /// </summary>
- /// <returns type="Promise">A promise that will be resolved when the export completes. The same promise is available in the pdfExport event arguments.</returns>
- /// </signature>
- },
- select: function(row) {
- /// <signature>
- /// <summary>
- /// Gets or sets the table row which is selected.
- /// </summary>
- /// <param name="row" type="Object" >A string, DOM element or jQuery object which represents the table row. A string is treated as a jQuery selector.</param>
- /// <returns type="jQuery">the selected table row.</returns>
- /// </signature>
- },
- setDataSource: function(dataSource) {
- /// <signature>
- /// <summary>
- /// Sets the tasks data source of the widget.
- /// </summary>
- /// <param name="dataSource" type="kendo.data.GanttDataSource" >The tasks data source to which the widget should be bound.</param>
- /// </signature>
- },
- setDependenciesDataSource: function(dataSource) {
- /// <signature>
- /// <summary>
- /// Sets the dependencies data source of the widget.
- /// </summary>
- /// <param name="dataSource" type="kendo.data.GanttDependencyDataSource" >The dependencies data source to which the widget should be bound.</param>
- /// </signature>
- },
- view: function(type) {
- /// <signature>
- /// <summary>
- /// Gets or sets the current Gantt view.
- /// </summary>
- /// <param name="type" type="String" >The view type to select.</param>
- /// <returns type="kendo.ui.GanttView">the current Gantt view.</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.kendoGantt = function() {
- this.data("kendoGantt", new kendo.ui.Gantt());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoGantt: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.Gantt widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.Gantt">The kendo.ui.Gantt instance (if present).</returns>
- /// </signature>
- },
- kendoGantt: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.Gantt widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// assignments - Object
- /// The configuration of the assignments of the gantt resources. An assignment is a one-to-one mapping between a gantt task and a gantt resource containing the number of units for which a resource is assigned to a task.
- ///
- /// autoBind - Boolean (default: true)
- /// If set to false the widget will not bind to the data source 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 data source specified in the configuration.
- ///
- /// columnResizeHandleWidth - Number (default: 3)
- /// Defines the width of the column resize handle in pixels. Apply a larger value for easier grasping.
- ///
- /// columns - Array
- /// The configuration of the Gantt columns. An array of JavaScript objects or strings. A JavaScript objects are interpreted as column configurations. Strings are interpreted as thefield to which the column is bound. The Gantt will create a column for every item of the array.
- ///
- /// currentTimeMarker - Boolean (default: true)
- /// If set to false the "current time" marker of the Gantt would not be displayed.
- ///
- /// currentTimeMarker - Object (default: true)
- /// If set to false the "current time" marker of the Gantt would not be displayed.
- ///
- /// dataSource - Object|Array|kendo.data.GanttDataSource
- /// The data source of the widget which contains the tasks. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing kendo.data.GanttDataSource instance.If the dataSource option is set to a JavaScript object or array the widget will initialize a new kendo.data.GanttDataSource instance using that value as data source configuration.If the dataSource option is an existing kendo.data.GanttDataSource instance the widget will use that instance and will not initialize a new one.
- ///
- /// date - Date
- /// If set to some date and it is between the range start and range end of the selected view, the timeline of the currently selected view is scrolled to start from this date.
- ///
- /// dependencies - Object|Array|kendo.data.GanttDependencyDataSource
- /// The data source of the widget which contains the dependencies. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing kendo.data.GanttDependencyDataSource instance.If the dependencies option is set to a JavaScript object or array the widget will initialize a new kendo.data.GanttDependencyDataSource instance using that value as data source configuration.If the dependencies option is an existing kendo.data.GanttDependencyDataSource instance the widget will use that instance and will not initialize a new one.
- ///
- /// editable - Boolean (default: true)
- /// If set to false the user won't be able to create, modify or delete tasks and dependencies.
- ///
- /// editable - Object (default: true)
- /// If set to false the user won't be able to create, modify or delete tasks and dependencies.
- ///
- /// navigatable - Boolean (default: false)
- /// If set to true the user could navigate the widget using the keyboard. By default keyboard navigation is disabled.
- ///
- /// workDayStart - Date
- /// Sets the start of the work day.
- ///
- /// workDayEnd - Date
- /// Sets the end of the work day.
- ///
- /// workWeekStart - Number (default: 1)
- /// The start of working week (index based).
- ///
- /// workWeekEnd - Number (default: 5)
- /// The end of working week (index based).
- ///
- /// hourSpan - Number (default: 1)
- /// The span of an hour slot.
- ///
- /// snap - Boolean (default: true)
- /// If set to true the Gantt will snap tasks to the nearest slot during dragging (resizing or moving). Set it to false to allow free moving and resizing of tasks.
- ///
- /// height - Number|String (default: 600)
- /// The height of the widget. Numeric values are treated as pixels.
- ///
- /// listWidth - String|Number (default: "30%")
- /// The width of the task list. Numeric values are treated as pixels.
- ///
- /// messages - Object
- /// The configuration of the Gantt messages. Use this option to customize or localize the Gantt messages.
- ///
- /// pdf - Object
- /// Configures the Kendo UI Gantt PDF export settings.
- ///
- /// range - Object
- /// Configures the Kendo UI Gantt range settings.
- ///
- /// resizable - Boolean (default: false)
- /// If set to true allows users to resize columns by dragging their header borders. By default resizing is disabled.
- ///
- /// selectable - Boolean (default: true)
- /// If set to false the user won't be able to select tasks in the Gantt. By default selection is enabled and triggers the change event.
- ///
- /// showWorkDays - Boolean (default: true)
- /// If set to false, Gantt views will show all days of the week. By default the views display only business days.
- ///
- /// showWorkHours - Boolean (default: true)
- /// If set to false, the day view will show all hours of the day. By default the view displays only business hours.
- ///
- /// taskTemplate - String|Function
- /// The template used to render the gantt tasks.The fields which can be used in the template are the task fields
- ///
- /// toolbar - String|Function
- /// If a String value is assigned to the toolbar configuration option, it will be treated as a single string template for the whole Gantt Toolbar, and the string value will be passed as an argument to a kendo.template() function.If a Function value is assigned (it may be a kendo.template() function call or a generic function reference), then the return value of the function will be used to render the Gantt Toolbar contents.If an Array value is assigned, it will be treated as the list of commands displayed in the Gantt Toolbar. Commands can be custom or built-in ("append", "pdf").The "append" command adds a new task to the gantt.The "pdf" command exports the gantt in PDF format.
- ///
- /// toolbar - Array
- /// If a String value is assigned to the toolbar configuration option, it will be treated as a single string template for the whole Gantt Toolbar, and the string value will be passed as an argument to a kendo.template() function.If a Function value is assigned (it may be a kendo.template() function call or a generic function reference), then the return value of the function will be used to render the Gantt Toolbar contents.If an Array value is assigned, it will be treated as the list of commands displayed in the Gantt Toolbar. Commands can be custom or built-in ("append", "pdf").The "append" command adds a new task to the gantt.The "pdf" command exports the gantt in PDF format.
- ///
- /// tooltip - Object
- /// The task tooltip configuration options.
- ///
- /// views - Array
- /// The views displayed by the Gantt and their configuration. The array items can be either objects specifying the view configuration or strings representing the view types (assuming default configuration). By default the Kendo UI Gantt widget displays "day", "week", and "month" views.
- ///
- /// resources - Object
- /// The configuration of the gantt resource(s). A gantt resource is optional metadata that can be associated with a gantt task.
- ///
- /// rowHeight - Number|String
- /// The height of the table rows. Numeric values are treated as pixels.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- Grid: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.Grid</summary>
- /// </signature>
- }
- });
- kendo.ui.Grid = (function() {
- var original = kendo.ui.Grid;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- addRow: function() {
- /// <signature>
- /// <summary>
- /// Adds an empty data item to the grid. In "incell" and "inline" editing mode a table row will be appended. Popup window will be displayed in "popup" editing mode.Fires the edit event.
- /// </summary>
- /// </signature>
- },
- autoFitColumn: function(column) {
- /// <signature>
- /// <summary>
- /// Applies the minimum possible width for the specified column, so that all text fits without wrapping.
- /// </summary>
- /// <param name="column" type="Object" >The index of the column, or the field to which the columns is bound, or the column object obtained from the columns collection.When using multicolumn headers, using an index is not allowed. In such scenarios, please use a field name or a column object as a method argument.</param>
- /// </signature>
- },
- cancelChanges: function() {
- /// <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.
- /// </summary>
- /// </signature>
- },
- cancelRow: function() {
- /// <signature>
- /// <summary>
- /// Cancels editing for the table row which is in edit mode. Reverts any changes made.
- /// </summary>
- /// </signature>
- },
- cellIndex: function(cell) {
- /// <signature>
- /// <summary>
- /// Returns the index of the specified table cell. Skips group and detail table cells.
- /// </summary>
- /// <param name="cell" type="Object" >A string, DOM element or jQuery object which represents the table cell. A string is treated as a jQuery selector. If there are locked columns in the Grid, the jQuery object, representing the cell, must be passed as an argument.</param>
- /// <returns type="Number">the index of the specified table cell.</returns>
- /// </signature>
- },
- clearSelection: function() {
- /// <signature>
- /// <summary>
- /// Clears the currently selected table rows or cells (depending on the current selection mode).
- /// </summary>
- /// </signature>
- },
- closeCell: function(isCancel) {
- /// <signature>
- /// <summary>
- /// Stops editing the table cell which is in edit mode. Requires "incell" edit mode.
- /// </summary>
- /// <param name="isCancel" type="Boolean" >A flag specifying whether to fire the cancel event. By default the event is not fired.</param>
- /// </signature>
- },
- collapseGroup: function(row) {
- /// <signature>
- /// <summary>
- /// Collapses the specified group. This hides the group items.
- /// </summary>
- /// <param name="row" type="Object" >A string, DOM element or jQuery object which represents the group table row. A string is treated as a jQuery selector.</param>
- /// </signature>
- },
- collapseRow: function(row) {
- /// <signature>
- /// <summary>
- /// Collapses the specified master table row. This hides its detail table row.
- /// </summary>
- /// <param name="row" type="Object" >A string, DOM element or jQuery object which represents the master table row. A string is treated as a jQuery selector.</param>
- /// </signature>
- },
- current: function(cell) {
- /// <signature>
- /// <summary>
- /// Gets or sets the current cell for keyboard navigation.
- /// </summary>
- /// <param name="cell" type="jQuery" >DOM element or jQuery object which represents the navigatable cell.</param>
- /// <returns type="jQuery">the current cell.</returns>
- /// </signature>
- },
- dataItem: function(row) {
- /// <signature>
- /// <summary>
- /// Returns the data item to which the specified table row is bound. The data item is a Kendo UI Model instance.
- /// </summary>
- /// <param name="row" type="Object" >A string, DOM element or jQuery object which represents the table row. A string is treated as a jQuery selector.</param>
- /// <returns type="kendo.data.ObservableObject">the data item to which the specified table row is bound. More information about the ObservableObject type...</returns>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the widget for safe removal from DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls the destroy method of any child Kendo widgets.
- /// </summary>
- /// </signature>
- },
- editCell: function(cell) {
- /// <signature>
- /// <summary>
- /// Switches the specified table cell in edit mode. Requires "incell" edit mode.Fires the edit event.
- /// </summary>
- /// <param name="cell" type="jQuery" >The jQuery object which represents the table cell.</param>
- /// </signature>
- },
- editRow: function(row) {
- /// <signature>
- /// <summary>
- /// Switches the specified table row in edit mode. Requires "inline" or "popup" edit mode.Fires the edit event.
- /// </summary>
- /// <param name="row" type="jQuery" >The jQuery object which represents the table row.</param>
- /// </signature>
- },
- expandGroup: function(row) {
- /// <signature>
- /// <summary>
- /// Expands the specified group. This shows the group items.
- /// </summary>
- /// <param name="row" type="Object" >A string, DOM element or jQuery object which represents the group table row. A string is treated as a jQuery selector. Expands specified group.</param>
- /// </signature>
- },
- expandRow: function(row) {
- /// <signature>
- /// <summary>
- /// Expands the specified master table row. This shows its detail table row.
- /// </summary>
- /// <param name="row" type="Object" >A string, DOM element or jQuery object which represents the master table row. A string is treated as a jQuery selector. Expands specified master row.</param>
- /// </signature>
- },
- getOptions: function() {
- /// <signature>
- /// <summary>
- /// Retrieves the options that are currently enabled or disabled on the Grid, also gives the current state of the dataSource. Use this method if you want to save the state of the Grid into a variable. It is also possible to extract and store only some of the Grid options.
- /// </summary>
- /// <returns type="Object">The configuration options of the widget.</returns>
- /// </signature>
- },
- hideColumn: function(column) {
- /// <signature>
- /// <summary>
- /// Hides the specified grid column.
- /// </summary>
- /// <param name="column" type="Object" >The index of the column, or the field to which the columns is bound, or the column object obtained from the columns collection.When using multicolumn headers, using an index will hide a top-level column together will all its "child columns". In such scenarios, using field names or column objects may be more appropriate.</param>
- /// </signature>
- },
- items: function() {
- /// <signature>
- /// <summary>
- /// Obtains an Array of the DOM elements, which correspond to the data items from the Kendo UI DataSource view (e.g. the ones on the current page).
- /// </summary>
- /// <returns type="Array">The currently rendered data table rows (<tr> elements).</returns>
- /// </signature>
- },
- lockColumn: function(column) {
- /// <signature>
- /// <summary>
- /// Locks (freezes) a column, allowing users to see it at all times when scrolling.
- /// </summary>
- /// <param name="column" type="Object" >The index of the column or the field to which the columns is bound.</param>
- /// </signature>
- },
- refresh: function() {
- /// <signature>
- /// <summary>
- /// Renders all table rows using the current data items.
- /// </summary>
- /// </signature>
- },
- removeRow: function(row) {
- /// <signature>
- /// <summary>
- /// Removes the specified table row from the grid. Also removes the corresponding data item from the data source.Fires the remove event.
- /// </summary>
- /// <param name="row" type="Object" >A string, DOM element or jQuery object which represents the table row. A string is treated as a jQuery selector.</param>
- /// </signature>
- },
- reorderColumn: function(destIndex,column) {
- /// <signature>
- /// <summary>
- /// Changes the position of the specified column.
- /// </summary>
- /// <param name="destIndex" type="Number" >The new position of the column. The destination index should be calculated with regard to all columns, including the hidden ones.</param>
- /// <param name="column" type="Object" >The column whose position should be changed.</param>
- /// </signature>
- },
- resizeColumn: function(column,value) {
- /// <signature>
- /// <summary>
- /// Changes the width of the specified column.Introduced in the Kendo UI 2018 R3 release.
- /// </summary>
- /// <param name="column" type="Object" >The column whose width should be changed.</param>
- /// <param name="value" type="Number" >The new column width.</param>
- /// </signature>
- },
- saveAsExcel: function() {
- /// <signature>
- /// <summary>
- /// Initiates the Excel export. Also fires the excelExport event.
- /// </summary>
- /// </signature>
- },
- saveAsPDF: function() {
- /// <signature>
- /// <summary>
- /// Initiates the PDF export and returns a promise. Also triggers the pdfExport event.
- /// </summary>
- /// <returns type="Promise">A promise that will be resolved when the export completes. The same promise is available in the pdfExport event arguments.</returns>
- /// </signature>
- },
- saveChanges: function() {
- /// <signature>
- /// <summary>
- /// Saves any pending changes by calling the sync method.Fires the saveChanges event.
- /// </summary>
- /// </signature>
- },
- saveRow: function() {
- /// <signature>
- /// <summary>
- /// Switches the table row which is in edit mode and saves any changes made by the user.
- /// </summary>
- /// </signature>
- },
- select: function(rows) {
- /// <signature>
- /// <summary>
- /// Gets or sets the table rows (or cells) which are selected.If the Grid is using frozen (locked) columns and multiple cell selection with string selector, the select method will select and return two table cell elements. This is because the frozen columns feature works with the separate tables for the frozen and non-frozen columns. Each cell element corresponds to the jQuery selector applied for each table. One of the table cells will be a descendant of div.k-grid-content-locked and the other one will be a descendant of div.k-grid-content. The two divs are siblings in the Grid DOM structure. To select just one table cell please use jQuery selector to find the exact one cell from the specific table element and set k-state-selected class instead of using the select method.
- /// </summary>
- /// <param name="rows" type="Object" >A string, DOM element or jQuery object which represents the table row(s) or cell(s). A string is treated as a jQuery selector.</param>
- /// <returns type="jQuery">the selected table rows or cells.</returns>
- /// </signature>
- },
- selectedKeyNames: function() {
- /// <signature>
- /// <summary>
- /// Gets an array that holds the id field values of the selected rows.
- /// </summary>
- /// <returns type="Array">of the id field values of the selected rows.</returns>
- /// </signature>
- },
- setDataSource: function(dataSource) {
- /// <signature>
- /// <summary>
- /// Sets the data source of the widget.
- /// </summary>
- /// <param name="dataSource" type="kendo.data.DataSource" >The data source to which the widget should be bound.</param>
- /// </signature>
- },
- setOptions: function(options) {
- /// <signature>
- /// <summary>
- /// Sets the options of the Grid. Use this method if you want to enable/disable a particular feature/option or to load the complete state obtained previously with the getOptions method.When setOptions is called, the Grid widget will be destroyed and recreated. If the widget is bound to remote data, a new read request will be made.
- /// </summary>
- /// <param name="options" type="Object" >The configuration options to be set.</param>
- /// </signature>
- },
- showColumn: function(column) {
- /// <signature>
- /// <summary>
- /// Shows the specified column.
- /// </summary>
- /// <param name="column" type="Object" >The index of the column, or the field to which the columns is bound, or the column object obtained from the columns collection.When using multicolumn headers, using an index will hide a top-level column together will all its "child columns". In such scenarios, using field names or column objects may be more appropriate.</param>
- /// </signature>
- },
- unlockColumn: function(column) {
- /// <signature>
- /// <summary>
- /// Unlocks (unfreezes) a column.
- /// </summary>
- /// <param name="column" type="Object" >The index of the column or the field to which the columns is bound.</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.kendoGrid = function() {
- this.data("kendoGrid", new kendo.ui.Grid());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoGrid: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.Grid widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.Grid">The kendo.ui.Grid instance (if present).</returns>
- /// </signature>
- },
- kendoGrid: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.Grid widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// allowCopy - Boolean (default: false)
- /// If set to true and selection of the Grid is enabled the user could copy the selection into the clipboard and paste it into Excel or other similar programs that understand TSV/CSV formats. By default allowCopy is disabled and the default format is TSV. Can be set to a JavaScript object which represents the allowCopy configuration.
- ///
- /// allowCopy - Object (default: false)
- /// If set to true and selection of the Grid is enabled the user could copy the selection into the clipboard and paste it into Excel or other similar programs that understand TSV/CSV formats. By default allowCopy is disabled and the default format is TSV. Can be set to a JavaScript object which represents the allowCopy configuration.
- ///
- /// altRowTemplate - String|Function
- /// The template which renders the alternating table rows. Be default the grid renders a table row () for every data source item.
- ///
- /// autoBind - Boolean (default: true)
- /// If set to false, the Grid will not bind to the data source during initialization, i.e. it will not call the fetch method of the dataSource instance. In such scenarios data binding will occur when the change event of the dataSource instance is fired. By default, autoBind is set to true and the widget will bind to the data source specified in the configuration.
- ///
- /// columnResizeHandleWidth - Number (default: 3)
- /// Defines the width of the column resize handle in pixels. Apply a larger value for easier grasping.
- ///
- /// columns - Array
- /// The configuration of the grid columns. An array of JavaScript objects or strings. JavaScript objects are interpreted as column configurations. Strings are interpreted as thefield to which the column is bound. The grid will create a column for every item of the array.
- ///
- /// columnMenu - Boolean (default: false)
- /// If set to true the grid will display the column menu when the user clicks the chevron icon in the column headers. The column menu allows the user to show and hide columns, filter and sort (if filtering and sorting are enabled). By default the column menu is not enabled.Can be set to a JavaScript object which represents the column menu configuration.
- ///
- /// columnMenu - Object (default: false)
- /// If set to true the grid will display the column menu when the user clicks the chevron icon in the column headers. The column menu allows the user to show and hide columns, filter and sort (if filtering and sorting are enabled). By default the column menu is not enabled.Can be set to a JavaScript object which represents the column menu configuration.
- ///
- /// dataSource - Object|Array|kendo.data.DataSource
- /// The data source of the widget which is used render table rows. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing kendo.data.DataSource instance.If the dataSource option is set to a JavaScript object or array the widget will initialize a new kendo.data.DataSource instance using that value as data source configuration.If the dataSource option is an existing kendo.data.DataSource instance the widget will use that instance and will not initialize a new one.
- ///
- /// detailTemplate - String|Function
- /// The template which renders the detail rows. Check Detail Template for a live demo.
- ///
- /// editable - Boolean|String (default: false)
- /// If set to true the user would be able to edit the data to which the grid is bound. By default editing is disabled.Can be set to a string ("inline", "incell" or "popup") to specify the editing mode. The default editing mode is "incell".Can be set to a JavaScript object which represents the editing configuration.
- ///
- /// editable - Object (default: false)
- /// If set to true the user would be able to edit the data to which the grid is bound. By default editing is disabled.Can be set to a string ("inline", "incell" or "popup") to specify the editing mode. The default editing mode is "incell".Can be set to a JavaScript object which represents the editing configuration.
- ///
- /// excel - Object
- /// Configures the Kendo UI Grid Excel export settings.
- ///
- /// filterable - Boolean (default: false)
- /// If set to true the user can filter the data source using the grid filter menu. Filtering is disabled by default.Can be set to a JavaScript object which represents the filter menu configuration.
- ///
- /// filterable - Object (default: false)
- /// If set to true the user can filter the data source using the grid filter menu. Filtering is disabled by default.Can be set to a JavaScript object which represents the filter menu configuration.
- ///
- /// groupable - Boolean (default: false)
- /// If set to true the user could group the grid by dragging the column header cells. By default grouping is disabled.Can be set to a JavaScript object which represents the grouping configuration.
- ///
- /// groupable - Object (default: false)
- /// If set to true the user could group the grid by dragging the column header cells. By default grouping is disabled.Can be set to a JavaScript object which represents the grouping configuration.
- ///
- /// height - Number|String
- /// The height of the grid. Numeric values are treated as pixels.
- ///
- /// messages - Object
- /// Defines the text of the command buttons that are shown within the Grid. Used primarily for localization.
- ///
- /// mobile - Boolean|String (default: false)
- /// If set to true and the grid is viewed on mobile browser it will use adaptive rendering.Can be set to a string phone which will force the widget to use adaptive rendering regardless of browser type.
- ///
- /// navigatable - Boolean (default: false)
- /// If set to true the use could navigate the widget using the keyboard navigation. By default keyboard navigation is disabled.
- ///
- /// noRecords - Boolean (default: false)
- /// If set to true and current view contains no records, message similar to "No records available" will be displayed. By default this option is disabled.
- ///
- /// noRecords - Object (default: false)
- /// If set to true and current view contains no records, message similar to "No records available" will be displayed. By default this option is disabled.
- ///
- /// pageable - Boolean (default: false)
- /// If set to true the grid will display a pager. By default paging is disabled.Can be set to a JavaScript object which represents the pager configuration.
- ///
- /// pageable - Object (default: false)
- /// If set to true the grid will display a pager. By default paging is disabled.Can be set to a JavaScript object which represents the pager configuration.
- ///
- /// pdf - Object
- /// Configures the Kendo UI Grid PDF export settings.
- ///
- /// persistSelection - Boolean (default: false)
- /// Sets a value indicating whether the selection will be persisted when sorting, paging, filtering and etc are performed.
- ///
- /// reorderable - Boolean (default: false)
- /// If set to true the user could reorder the columns by dragging their header cells. By default reordering is disabled. Multi-level headers allow reordering only in same level.
- ///
- /// resizable - Boolean (default: false)
- /// If set to true, users can resize columns by dragging the edges (resize handles) of their header cells. As of Kendo UI Q1 2015, users can also auto-fit a column by double-clicking its resize handle. In this case the column will assume the smallest possible width, which allows the column content to fit without wrapping.By default, column resizing is disabled.
- ///
- /// rowTemplate - String|Function
- /// The template which renders rows. Be default renders a table row () for every data source item.
- ///
- /// scrollable - Boolean (default: true)
- /// If set to true the grid will display a scrollbar when the total row height (or width) exceeds the grid height (or width). By default scrolling is enabled.Can be set to a JavaScript object which represents the scrolling configuration.
- ///
- /// scrollable - Object (default: true)
- /// If set to true the grid will display a scrollbar when the total row height (or width) exceeds the grid height (or width). By default scrolling is enabled.Can be set to a JavaScript object which represents the scrolling configuration.
- ///
- /// selectable - Boolean|String (default: false)
- /// If set to true the user would be able to select grid rows. By default selection is disabled.Can also be set to the following string values: "row" - the user can select a single row.; "cell" - the user can select a single cell.; "multiple, row" - the user can select multiple rows. or "multiple, cell" - the user can select multiple cells..
- ///
- /// sortable - Boolean (default: false)
- /// If set to true the user could sort the grid by clicking the column header cells. By default sorting is disabled.Can be set to a JavaScript object which represents the sorting configuration.
- ///
- /// sortable - Object (default: false)
- /// If set to true the user could sort the grid by clicking the column header cells. By default sorting is disabled.Can be set to a JavaScript object which represents the sorting configuration.
- ///
- /// toolbar - String|Function
- /// If a String value is assigned to the toolbar configuration option, it will be treated as a single string template for the whole grid Toolbar, and the string value will be passed as an argument to a kendo.template() function.If a Function value is assigned (it may be a kendo.template() function call or a generic function reference), then the return value of the function will be used to render the Grid Toolbar contents.If an Array value is assigned, it will be treated as the list of commands displayed in the grid's Toolbar. Commands can be custom or built-in ("cancel", "create", "save", "excel", "pdf").The "cancel" built-in command reverts any data changes done by the end user.The "create" command adds an empty data item to the grid.The "save" command persists any data changes done by the end user.The "excel" command exports the grid data in MS Excel format.The "pdf" command exports the grid data in PDF format.
- ///
- /// toolbar - Array
- /// If a String value is assigned to the toolbar configuration option, it will be treated as a single string template for the whole grid Toolbar, and the string value will be passed as an argument to a kendo.template() function.If a Function value is assigned (it may be a kendo.template() function call or a generic function reference), then the return value of the function will be used to render the Grid Toolbar contents.If an Array value is assigned, it will be treated as the list of commands displayed in the grid's Toolbar. Commands can be custom or built-in ("cancel", "create", "save", "excel", "pdf").The "cancel" built-in command reverts any data changes done by the end user.The "create" command adds an empty data item to the grid.The "save" command persists any data changes done by the end user.The "excel" command exports the grid data in MS Excel format.The "pdf" command exports the grid data in PDF format.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- ListBox: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.ListBox</summary>
- /// </signature>
- }
- });
- kendo.ui.ListBox = (function() {
- var original = kendo.ui.ListBox;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- clearSelection: function() {
- /// <signature>
- /// <summary>
- /// Clears the selected items of the ListBox and triggers the change event.
- /// </summary>
- /// </signature>
- },
- dataItem: function(element) {
- /// <signature>
- /// <summary>
- /// Returns the data item to which the specified list item is bound.
- /// </summary>
- /// <param name="element" type="Object" >A string, DOM element, or jQuery object which represents the item. A string is treated as a jQuery selector.</param>
- /// <returns type="kendo.data.ObservableObject">The model of the item that was passed as a parameter.</returns>
- /// </signature>
- },
- dataItems: function() {
- /// <signature>
- /// <summary>
- ///
- /// </summary>
- /// <returns type="kendo.data.ObservableArray">An array of data items to which the widget is bound.</returns>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the ListBox for a safe removal from the DOM. Detaches all event handlers and removes the jQuery.data attributes to avoid memory leaks. Calls the destroy method of child Kendo UI widgets.
- /// </summary>
- /// </signature>
- },
- enable: function(element,enable) {
- /// <signature>
- /// <summary>
- /// Enables or disables the ListBox items.
- /// </summary>
- /// <param name="element" type="Object" >The items that are to be enabled or disabled.</param>
- /// <param name="enable" type="Boolean" >Indicates whether the items should be enabled or disabled.</param>
- /// </signature>
- },
- items: function() {
- /// <signature>
- /// <summary>
- /// Obtains an array of the DOM elements which correspond to the data items from the view method of the Kendo UI DataSource.
- /// </summary>
- /// <returns type="Array">- The currently rendered view items ( depending on the item template, <div>, <li>, <tr>, and other elements).</returns>
- /// </signature>
- },
- refresh: function() {
- /// <signature>
- /// <summary>
- /// Reloads the data and repaints the ListBox. Triggers the dataBound event.
- /// </summary>
- /// </signature>
- },
- reorder: function(element,index) {
- /// <signature>
- /// <summary>
- /// Moves the specified item at a position set by the zero-based index parameter. The rest of the items are reordered accordingly.
- /// </summary>
- /// <param name="element" type="Object" >The item that is to be reordered.</param>
- /// <param name="index" type="Number" >The new position of the item in the list.</param>
- /// </signature>
- },
- remove: function(element) {
- /// <signature>
- /// <summary>
- /// Removes items from the widget.
- /// </summary>
- /// <param name="element" type="Object" >The items that are to be removed.</param>
- /// </signature>
- },
- select: function(items) {
- /// <signature>
- /// <summary>
- /// Gets or sets the selected ListBox items.
- /// </summary>
- /// <param name="items" type="Object" >The items that are to be selected.</param>
- /// <returns type="jQuery">- The selected items if called without arguments.</returns>
- /// </signature>
- },
- setDataSource: function(dataSource) {
- /// <signature>
- /// <summary>
- /// Sets the dataSource of an existing ListBox 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.kendoListBox = function() {
- this.data("kendoListBox", new kendo.ui.ListBox());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoListBox: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.ListBox widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.ListBox">The kendo.ui.ListBox instance (if present).</returns>
- /// </signature>
- },
- kendoListBox: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.ListBox 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 data source during initialization. In this case, the data binding will occur when the change event of the data source is fired. By default, the ListBox will bind to the data source that is specified in the configuration.
- ///
- /// connectWith - String (default: null)
- /// The id of the target ListBox to which items from the source ListBox will be transferred and vice versa. If you have to transfer items from the target ListBox over its toolbar, then you also need to set its connectWith option.
- ///
- /// dataSource - Object|Array|kendo.data.DataSource
- /// The data source of the widget which is used render ListBox items. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array, or an existing kendo.data.DataSource instance.If the dataSource option is set to a JavaScript object or array, the widget initializes a new kendo.data.DataSource instance by using that value as the data source configuration.If the dataSource option is an existing kendo.data.DataSource instance, the widget uses that instance and does not initialize a new one.
- ///
- /// dataTextField - String (default: "")
- /// The field of the data item that provides the text content of the list items. Based on this field, the widget filters the data source.
- ///
- /// dataValueField - String (default: "")
- /// The field of the data item that provides the value of the widget.
- ///
- /// draggable - Boolean (default: false)
- /// Indicates whether the ListBox items can be dragged and dropped.
- ///
- /// draggable - Object (default: false)
- /// Indicates whether the ListBox items can be dragged and dropped.
- ///
- /// dropSources - Array
- /// Array of id strings which determines the ListBoxes that can drag and drop their items to the current ListBox. The dropSources option describes a one way relationship. If you want a two-way connection, then set the dropSources option on both widgets.
- ///
- /// navigatable - Boolean (default: true)
- /// Indicates whether the keyboard navigation is enabled or disabled.
- ///
- /// messages - Object
- /// Defines the localization texts for the ListBox. Used primarily for localization.
- ///
- /// selectable - String (default: "single")
- /// Indicates whether the selection is single or multiple. The possible values are: - "single" - A single-item selection. - "multiple" - A multiple-item selection.
- ///
- /// template - String|Function
- /// Specifies the item template of the ListBox.
- ///
- /// toolbar - Object
- /// Defines the settings for displaying the toolbar of the ListBox. The toolbar allows you to execute a set of predefined actions.By default, the toolbar is not displayed. If the tools array is populated, then the toolbar and the corresponding tools are displayed.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- ListView: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.ListView</summary>
- /// </signature>
- }
- });
- kendo.ui.ListView = (function() {
- var original = kendo.ui.ListView;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- add: function() {
- /// <signature>
- /// <summary>
- /// Inserts an empty item as a first item in the ListView and puts it in edit mode.
- /// </summary>
- /// </signature>
- },
- cancel: function() {
- /// <signature>
- /// <summary>
- /// Cancels changes in the currently edited item.
- /// </summary>
- /// </signature>
- },
- clearSelection: function() {
- /// <signature>
- /// <summary>
- /// Clears ListView selected items and triggers the change event.
- /// </summary>
- /// </signature>
- },
- dataItem: function(row) {
- /// <signature>
- /// <summary>
- /// Returns the data item corresponding to the passed row object or selector.
- /// </summary>
- /// <param name="row" type="Object" >A string, DOM element or jQuery object which represents the ListView item. A string is treated as a jQuery selector.</param>
- /// <returns type="kendo.data.ObservableObject">The data item to which the specified ListView item is bound. More information about the ObservableObject type in kendo.data.ObservableObject.</returns>
- /// </signature>
- },
- dataItems: function() {
- /// <signature>
- /// <summary>
- /// Returns the array of data items that the widget is bound to.
- /// </summary>
- /// <returns type="kendo.data.ObservableArray">The array of items that the ListView is bound to.</returns>
- /// </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>
- },
- edit: function(item) {
- /// <signature>
- /// <summary>
- /// Puts the specified ListView item in edit mode. Fires the edit event.
- /// </summary>
- /// <param name="item" type="jQuery" >A jQuery object which represents the item to be edited.</param>
- /// </signature>
- },
- items: function() {
- /// <signature>
- /// <summary>
- /// Obtains an Array of the DOM elements, which correspond to the data items from the Kendo UI DataSource view.
- /// </summary>
- /// <returns type="Array">The currently rendered ListView items (<div>, <li>, <tr> elements, etc., depending on the item template).</returns>
- /// </signature>
- },
- refresh: function() {
- /// <signature>
- /// <summary>
- /// Repaints the ListView using the data available in the DataSource.
- /// </summary>
- /// </signature>
- },
- remove: function(item) {
- /// <signature>
- /// <summary>
- /// Removes the specified item from the ListView. Triggers remove event and if not prevented calls the DataSource sync method.
- /// </summary>
- /// <param name="item" type="Object" >jQuery object which represents the item to be removed.</param>
- /// </signature>
- },
- save: function() {
- /// <signature>
- /// <summary>
- /// Saves the currently edited ListView item. Triggers the save event. If the save event is not prevented and validation succeeds the ListView will call the DataSource sync method.
- /// </summary>
- /// </signature>
- },
- select: function(items) {
- /// <signature>
- /// <summary>
- /// Gets/sets the selected ListView item(s).
- /// </summary>
- /// <param name="items" type="Object" >Items to select.</param>
- /// <returns type="jQuery">The selected items if called without arguments.</returns>
- /// </signature>
- },
- setDataSource: function(dataSource) {
- /// <signature>
- /// <summary>
- /// Sets the dataSource of an existing ListView and rebinds it.
- /// </summary>
- /// <param name="dataSource" type="kendo.data.DataSource" >The DataSource to which the widget should be bound.</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.kendoListView = function() {
- this.data("kendoListView", new kendo.ui.ListView());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoListView: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.ListView widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.ListView">The kendo.ui.ListView instance (if present).</returns>
- /// </signature>
- },
- kendoListView: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.ListView 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 data source 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 data source specified in the configuration.
- ///
- /// dataSource - Object|Array|kendo.data.DataSource
- /// The data source of the widget which is used render table rows. Can be a JavaScript object which represents a valid kendo.data.DataSource configuration, a JavaScript array or an existing kendo.data.DataSource instance.If the dataSource option is set to a JavaScript object or array the widget will initialize a new kendo.data.DataSource instance using that value as data source configuration.If the dataSource option is an existing kendo.data.DataSource instance the widget will use that instance and will not initialize a new one.
- ///
- /// editTemplate - Function
- /// Specifies the template for ListView items during edit mode.
- ///
- /// height - Number|String
- /// The height of the listview. Numeric values are treated as pixels.
- ///
- /// scrollable - Boolean|String (default: false)
- /// If set to true the listview will display a scrollbar when the content exceeds the listview height value. By default scrolling is disabled.It could be also set to endless in order to enable the endless scrolling functionality. In endless scrolling mode the height should be configured to display a scrollbar. Scrolling to the end of the scrollbar will load more items (equal to the pageSize number) and append them to the listview DOM element utill all items are loaded and displayed.
- ///
- /// navigatable - Boolean (default: false)
- /// Indicates whether keyboard navigation is enabled/disabled.
- ///
- /// selectable - Boolean|String (default: false)
- /// Indicates whether selection is enabled/disabled. Possible values:
- ///
- /// template - Function
- /// Specifies ListView item template.
- ///
- /// altTemplate - Function
- /// Template to be used for rendering the alternate items in the ListView.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- MaskedTextBox: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.MaskedTextBox</summary>
- /// </signature>
- }
- });
- kendo.ui.MaskedTextBox = (function() {
- var original = kendo.ui.MaskedTextBox;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the MaskedTextBox for safe removal from DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks.
- /// </summary>
- /// </signature>
- },
- enable: function(enable) {
- /// <signature>
- /// <summary>
- /// Enables or disables the widget.
- /// </summary>
- /// <param name="enable" type="Boolean" >If set to true the widget will be enabled. If set to false the widget will be disabled.</param>
- /// </signature>
- },
- readonly: function(readonly) {
- /// <signature>
- /// <summary>
- /// Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input.
- /// </summary>
- /// <param name="readonly" type="Boolean" >If set to true the widget will not allow user input. If set to false the widget will allow user input.</param>
- /// </signature>
- },
- raw: function() {
- /// <signature>
- /// <summary>
- /// Gets the unmasked value of the MaskedTextBox.
- /// </summary>
- /// <returns type="String">The raw value of the widget.</returns>
- /// </signature>
- },
- value: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the value of the MaskedTextBox.
- /// </summary>
- /// <param name="value" type="String" >The value to set.</param>
- /// <returns type="String">The value of the widget.</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.kendoMaskedTextBox = function() {
- this.data("kendoMaskedTextBox", new kendo.ui.MaskedTextBox());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoMaskedTextBox: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.MaskedTextBox widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.MaskedTextBox">The kendo.ui.MaskedTextBox instance (if present).</returns>
- /// </signature>
- },
- kendoMaskedTextBox: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.MaskedTextBox widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// clearPromptChar - Boolean (default: false)
- /// Specifies whether the widget will replace the prompt characters with spaces on blur. Prompt chars will be shown again on focus (available since Q2 2014 SP1).
- ///
- /// culture - String (default: "en-US")
- /// Specifies the culture info used by the widget.
- ///
- /// mask - String (default: "")
- /// Specifies the input mask. The following mask rules are supported: 0 - Digit. Accepts any digit between 0 and 9.; 9 - Digit or space. Accepts any digit between 0 and 9, plus space.; # - Digit or space. Like 9 rule, but allows also (+) and (-) signs.; L - Letter. Restricts input to letters a-z and A-Z. This rule is equivalent to [a-zA-Z] in regular expressions.; ? - Letter or space. Restricts input to letters a-z and A-Z. This rule is equivalent to [a-zA-Z] in regular expressions.; & - Character. Accepts any character. The rule is equivalent to \S in regular expressions.; C - Character or space. Accepts any character. The rule is equivalent to . in regular expressions.; A - Alphanumeric. Accepts letters and digits only.; a - Alphanumeric or space. Accepts letters, digits and space only.; . - Decimal placeholder. The decimal separator will be gotten from the current culture used by Kendo.; , - Thousands placeholder. The display character will be gotten from the current culture used by Kendo. or $ - Currency symbol. The display character will be gotten from the current culture used by Kendo..
- ///
- /// promptChar - String (default: "_")
- /// Specifies the character used to represent the absence of user input in the widget
- ///
- /// rules - Object
- /// Defines an object of custom mask rules.
- ///
- /// unmaskOnPost - Boolean (default: false)
- /// Specifies whether the widget will unmask the input value on form post (available since Q1 2015).
- ///
- /// value - String (default: "")
- /// Specifies the value of the MaskedTextBox widget.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- MediaPlayer: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.MediaPlayer</summary>
- /// </signature>
- }
- });
- kendo.ui.MediaPlayer = (function() {
- var original = kendo.ui.MediaPlayer;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- fullScreen: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the fullscreen mode of the widget.
- /// </summary>
- /// <param name="value" type="Boolean" >The value that indicates whether the widget should enter or exit fullscreen.</param>
- /// <returns type="Boolean">The current fullscreen configuration.</returns>
- /// </signature>
- },
- media: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the information about the media that is loaded in the widget.
- /// </summary>
- /// <param name="value" type="Object" >The media configuration to load in the MediaPlayer. Accepts the same values as the media option.</param>
- /// <returns type="Object">The current media configuration.</returns>
- /// </signature>
- },
- volume: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets a value between 0 and 100 that specifies the volume of the video.
- /// </summary>
- /// <param name="value" type="Number" >The value between 0 and 100 that specifies the volume of the player.</param>
- /// <returns type="Number">The current volume configuration.</returns>
- /// </signature>
- },
- mute: function(value) {
- /// <signature>
- /// <summary>
- /// The value that indicates whether the player is muted.
- /// </summary>
- /// <param name="value" type="Boolean" >The value indicates if the sound has to be muted.</param>
- /// <returns type="Boolean">The current mute configuration.</returns>
- /// </signature>
- },
- isEnded: function() {
- /// <signature>
- /// <summary>
- /// Gets a value indicating whether the media has finished playing.
- /// </summary>
- /// <returns type="Boolean">A value indicating whether the media has finished playing.</returns>
- /// </signature>
- },
- isPaused: function() {
- /// <signature>
- /// <summary>
- /// Gets a value indicating whether the media is paused, stopped, or ended.
- /// </summary>
- /// <returns type="Boolean">A value indicating whether the media is paused, stopped, or ended.</returns>
- /// </signature>
- },
- isPlaying: function() {
- /// <signature>
- /// <summary>
- /// Gets a value indicating whether the media is currently playing.
- /// </summary>
- /// <returns type="Boolean">A value indicating whether the media is currently playing.</returns>
- /// </signature>
- },
- pause: function() {
- /// <signature>
- /// <summary>
- /// Pauses the currently played video.
- /// </summary>
- /// </signature>
- },
- play: function() {
- /// <signature>
- /// <summary>
- /// Forces the video to start playing.
- /// </summary>
- /// </signature>
- },
- seek: function(milliseconds) {
- /// <signature>
- /// <summary>
- /// Proceeds the video to a certain time.
- /// </summary>
- /// <param name="milliseconds" type="Number" >The time offset in milliseconds.</param>
- /// <returns type="Number">The current seek configuration.</returns>
- /// </signature>
- },
- stop: function() {
- /// <signature>
- /// <summary>
- /// Stops the currently played video.
- /// </summary>
- /// </signature>
- },
- titlebar: function() {
- /// <signature>
- /// <summary>
- /// Gets a reference to the title bar.
- /// </summary>
- /// <returns type="jQuery">The title bar of the media player.</returns>
- /// </signature>
- },
- toolbar: function() {
- /// <signature>
- /// <summary>
- /// Gets a reference to the toolbar.
- /// </summary>
- /// <returns type="kendo.ui.ToolBar">The tool bar of the media player.</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.kendoMediaPlayer = function() {
- this.data("kendoMediaPlayer", new kendo.ui.MediaPlayer());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoMediaPlayer: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.MediaPlayer widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.MediaPlayer">The kendo.ui.MediaPlayer instance (if present).</returns>
- /// </signature>
- },
- kendoMediaPlayer: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.MediaPlayer widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// autoPlay - Boolean (default: false)
- /// If set to true, the widget will start playing the video or videos after initializing.
- ///
- /// autoRepeat - Boolean (default: false)
- /// If set to true, the widget will start playing the video or videos after initializing.
- ///
- /// forwardSeek - Boolean (default: true)
- /// If set to false, the user will be prevented from seeking the video forward.
- ///
- /// fullScreen - Boolean (default: false)
- /// If set to true, the widget will enter fullscreen mode.
- ///
- /// media - Object
- /// The object which holds the information about the media that will be played by the control.
- ///
- /// messages - Object
- /// The object which holds the localization strings.
- ///
- /// mute - Boolean (default: false)
- /// If set to true, the video will be played without sound.
- ///
- /// navigatable - Boolean (default: false)
- /// If set to true, the option enables the keyboard navigation for the widget.
- ///
- /// volume - Number (default: 100)
- /// A value between 0 and 100 that specifies the volume of the video.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- Menu: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.Menu</summary>
- /// </signature>
- }
- });
- kendo.ui.Menu = (function() {
- var original = kendo.ui.Menu;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- append: function(item,referenceItem) {
- /// <signature>
- /// <summary>
- /// Appends an item to a Menu in the specified referenceItem's sub menu.
- /// </summary>
- /// <param name="item" type="Object" >Item to be appended, specified as a JSON object. An array of objects can also be passed.</param>
- /// <param name="referenceItem" type="Object" >A reference item to append the new item in. If omitted, the new item will be appended to the as a root item.</param>
- /// <returns type="kendo.ui.Menu">Returns the Menu object to support chaining.</returns>
- /// </signature>
- },
- close: function(element) {
- /// <signature>
- /// <summary>
- /// Closes a sub-menu of a specified item(s) in a Menu.
- /// </summary>
- /// <param name="element" type="Object" >Target item selector.</param>
- /// <returns type="kendo.ui.Menu">Returns the Menu object to support chaining.</returns>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the Menu 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(element,enable) {
- /// <signature>
- /// <summary>
- /// Enables or disables an item of a Menu. This can optionally be accomplished on initialization by setting the disabled="disabled" on the desired menu item html element.
- /// </summary>
- /// <param name="element" type="Object" >Target element</param>
- /// <param name="enable" type="Boolean" >Desired state</param>
- /// <returns type="kendo.ui.Menu">Returns the Menu object to support chaining.</returns>
- /// </signature>
- },
- findByUid: function(uid) {
- /// <signature>
- /// <summary>
- /// Returns the Menu item by the dataItem's uid.
- /// </summary>
- /// <param name="uid" type="String" >The uid of the data item.</param>
- /// <returns type="jQuery">the item found.</returns>
- /// </signature>
- },
- insertAfter: function(item,referenceItem) {
- /// <signature>
- /// <summary>
- /// Inserts an item into a Menu after the specified referenceItem.
- /// </summary>
- /// <param name="item" type="Object" >Target item, specified as a JSON object. Can also handle an array of such objects.</param>
- /// <param name="referenceItem" type="Object" >A reference item to insert the new item after.</param>
- /// <returns type="kendo.ui.Menu">Returns the Menu object to support chaining.</returns>
- /// </signature>
- },
- insertBefore: function(item,referenceItem) {
- /// <signature>
- /// <summary>
- /// Inserts an item into a Menu before the specified referenceItem.
- /// </summary>
- /// <param name="item" type="Object" >Target item, specified as a JSON object. Can also handle an array of such objects.</param>
- /// <param name="referenceItem" type="Object" >A reference item to insert the new item before</param>
- /// <returns type="kendo.ui.Menu">Returns the Menu object to support chaining.</returns>
- /// </signature>
- },
- open: function(element) {
- /// <signature>
- /// <summary>
- /// Opens a sub-menu of a specified item(s) in a Menu.
- /// </summary>
- /// <param name="element" type="Object" >Target item selector.</param>
- /// <returns type="kendo.ui.Menu">Returns the Menu object to support chaining.</returns>
- /// </signature>
- },
- remove: function(element) {
- /// <signature>
- /// <summary>
- /// Removes a specified item(s) from a Menu.
- /// </summary>
- /// <param name="element" type="Object" >Target item selector.</param>
- /// <returns type="kendo.ui.Menu">Returns the Menu object to support chaining.</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.kendoMenu = function() {
- this.data("kendoMenu", new kendo.ui.Menu());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoMenu: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.Menu widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.Menu">The kendo.ui.Menu instance (if present).</returns>
- /// </signature>
- },
- kendoMenu: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.Menu widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// animation - Boolean
- /// A collection of Animation objects, used to change default animations. A value of false will disable all animations in the widget. is not a valid configuration.Available animations for the Menu are listed below. Each animation has a reverse options which is used for the close effect by default, but can be over-ridden by setting the close animation. Each animation also has a direction which can be set off the animation (i.e. slideIn:Down).
- ///
- /// animation - Object
- /// A collection of Animation objects, used to change default animations. A value of false will disable all animations in the widget. is not a valid configuration.Available animations for the Menu are listed below. Each animation has a reverse options which is used for the close effect by default, but can be over-ridden by setting the close animation. Each animation also has a direction which can be set off the animation (i.e. slideIn:Down).
- ///
- /// closeOnClick - Boolean (default: true)
- /// Specifies that sub menus should close after item selection (provided they won't navigate).
- ///
- /// dataSource - Object|Array|kendo.data.HierarchicalDataSource
- /// The data source of the widget which is used to render its items. Can be a JSON object/Arra/kendo.data.HierarchicalDataSource that contains an item or an Array of items to be rendered. Refer to the example below for a list of the supported properties.
- ///
- /// dataTextField - String
- /// Sets the field of the data item that provides the text of the menu items.
- ///
- /// dataUrlField - String
- /// Sets the field of the data item that provides the url of the menu items.
- ///
- /// dataSpriteCssClassField - String
- /// Sets the field of the data item that provides the sprite css class of the menu items.
- ///
- /// dataImageUrlField - String
- /// Sets the field of the data item that provides the image url of the menu items.
- ///
- /// dataContentField - String
- /// Sets the field of the data item that provides the content of the menu items.
- ///
- /// direction - String (default: "default")
- /// Specifies Menu opening direction. Can be "top", "bottom", "left", "right". You can also specify different direction for root and sub menu items, separating them with space. The example below will initialize the root menu to open upwards and its sub menus to the left.
- ///
- /// hoverDelay - Number (default: 100)
- /// Specifies the delay in ms before the menu is opened/closed - used to avoid accidental closure on leaving.
- ///
- /// openOnClick - Boolean (default: false)
- /// Specifies that the root sub menus will be opened on item click.
- ///
- /// openOnClick - Object (default: false)
- /// Specifies that the root sub menus will be opened on item click.
- ///
- /// orientation - String (default: "horizontal")
- /// Root menu orientation. Could be horizontal or vertical.
- ///
- /// popupCollision - String
- /// Specifies how Menu should adjust to screen boundaries. By default the strategy is "fit" for a sub menu with a horizontal parent, meaning it will move to fit in screen boundaries in all directions, and "fit flip" for a sub menu with vertical parent, meaning it will fit vertically and flip over its parent horizontally. You can also switch off the screen boundary detection completely if you set the popupCollision to false.
- ///
- /// scrollable - Boolean (default: false)
- /// If enabled, the Menu displays buttons that scroll the items when they cannot fit the width or the popups' height of the Menu. By default, scrolling is disabled.The following example demonstrates how to enable the scrolling functionality.
- ///
- /// scrollable - Object (default: false)
- /// If enabled, the Menu displays buttons that scroll the items when they cannot fit the width or the popups' height of the Menu. By default, scrolling is disabled.The following example demonstrates how to enable the scrolling functionality.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- MultiColumnComboBox: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.MultiColumnComboBox</summary>
- /// </signature>
- }
- });
- kendo.ui.MultiColumnComboBox = (function() {
- var original = kendo.ui.MultiColumnComboBox;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- close: function() {
- /// <signature>
- /// <summary>
- /// Closes the widget popup.
- /// </summary>
- /// </signature>
- },
- dataItem: function(index) {
- /// <signature>
- /// <summary>
- /// Returns the data item at the specified index. If the index is not specified, the selected index will be used.
- /// </summary>
- /// <param name="index" type="Number" >The zero-based index of the data record.</param>
- /// <returns type="Object">The raw data record. Returns undefined if no data.</returns>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the MultiColumnComboBox 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" >If set to true the widget will be enabled. If set to false the widget will be disabled.</param>
- /// </signature>
- },
- focus: function() {
- /// <signature>
- /// <summary>
- /// Focuses the widget.
- /// </summary>
- /// </signature>
- },
- items: function() {
- /// <signature>
- /// <summary>
- /// Obtains an Array of the DOM elements, which correspond to the data items from the Kendo UI DataSource view.
- /// </summary>
- /// <returns type="Array">The currently rendered dropdown list items (<li> elements).</returns>
- /// </signature>
- },
- open: function() {
- /// <signature>
- /// <summary>
- /// Opens the popup.
- /// </summary>
- /// </signature>
- },
- readonly: function(readonly) {
- /// <signature>
- /// <summary>
- /// Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input.
- /// </summary>
- /// <param name="readonly" type="Boolean" >If set to true the widget will not allow user input. If set to false the widget will allow user input.</param>
- /// </signature>
- },
- refresh: function() {
- /// <signature>
- /// <summary>
- /// Refresh the popup by rendering all items again.
- /// </summary>
- /// </signature>
- },
- search: function(word) {
- /// <signature>
- /// <summary>
- /// Searches the data source for the provided value and displays any matches as suggestions.
- /// </summary>
- /// <param name="word" type="String" >The filter value.</param>
- /// </signature>
- },
- select: function(li) {
- /// <signature>
- /// <summary>
- /// Gets or sets the selected item. Selects the item provided as an argument and updates the value and text of the widget.
- /// </summary>
- /// <param name="li" type="Object" >A string, DOM element or jQuery object which represents the item to be selected. A string is treated as a jQuery selector. A number representing the index of the item or function predicate which returns the correct data item.</param>
- /// <returns type="Number">The index of the selected item, if called with no parameters. If a custom value is entered, the returned selected index is -1. If called with a parameter as a setter.</returns>
- /// </signature>
- },
- setDataSource: function(dataSource) {
- /// <signature>
- /// <summary>
- /// Sets the dataSource of an existing MultiColumnComboBox and rebinds it.
- /// </summary>
- /// <param name="dataSource" type="kendo.data.DataSource" ></param>
- /// </signature>
- },
- suggest: function(value) {
- /// <signature>
- /// <summary>
- /// Sets the value of the widget to the specified argument and visually selects the text.
- /// </summary>
- /// <param name="value" type="String" >Characters to force a suggestion.</param>
- /// </signature>
- },
- text: function(text) {
- /// <signature>
- /// <summary>
- /// Gets or sets the text of the MultiColumnComboBox. Widget will select the item with same text. If there are no matches then the text will be considered as a custom value of the widget.
- /// </summary>
- /// <param name="text" type="String" >The text to set.</param>
- /// <returns type="String">The text of the MultiColumnComboBox.</returns>
- /// </signature>
- },
- toggle: function(toggle) {
- /// <signature>
- /// <summary>
- /// Opens or closes the widget popup.
- /// </summary>
- /// <param name="toggle" type="Boolean" >Defines the whether to open/close the drop-down list.</param>
- /// </signature>
- },
- value: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the value of the MultiColumnComboBox.
- /// </summary>
- /// <param name="value" type="String" >The value to set.</param>
- /// <returns type="String">The value of the MultiColumnComboBox.</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.kendoMultiColumnComboBox = function() {
- this.data("kendoMultiColumnComboBox", new kendo.ui.MultiColumnComboBox());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoMultiColumnComboBox: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.MultiColumnComboBox widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.MultiColumnComboBox">The kendo.ui.MultiColumnComboBox instance (if present).</returns>
- /// </signature>
- },
- kendoMultiColumnComboBox: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.MultiColumnComboBox widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// animation - Object
- /// Configures the opening and closing animations of the suggestion popup. Setting the animation option to false will disable the opening and closing animations. As a result the suggestion popup will open and close instantly.
- ///
- /// autoBind - Boolean (default: true)
- /// Controls whether to bind the widget to the data source on initialization.
- ///
- /// cascadeFrom - String
- /// Use it to set the Id of the parent MultiColumnComboBox widget.Help topic showing how cascading functionality works
- ///
- /// cascadeFromField - String
- /// Defines the field to be used to filter the data source. If not defined the parent's dataValueField option will be used.Help topic showing how cascading functionality works
- ///
- /// cascadeFromParentField - String
- /// Defines the parent field to be used to retain value from. This value will be used further to filter the dataSource. If not defined the value from the parent's dataValueField will be used.
- ///
- /// columns - Array
- /// Defines the columns rendered in the table of the MultiColumnComboBox.
- ///
- /// clearButton - Boolean (default: true)
- /// Unless this options is set to false, a button will appear when hovering the widget. Clicking that button will reset the widget's value and will trigger the change event.
- ///
- /// dataSource - Object|Array|kendo.data.DataSource
- /// The data source of the widget which is used to display a list of values. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing kendo.data.DataSource instance.If the dataSource option is set to a JavaScript object or array the widget will initialize a new kendo.data.DataSource instance using that value as data source configuration.If the dataSource option is an existing kendo.data.DataSource instance the widget will use that instance and will not initialize a new one.
- ///
- /// dataTextField - String (default: "")
- /// The field of the data item that provides the text content of the list items. The widget will filter the data source based on this field.
- ///
- /// dataValueField - String (default: "")
- /// The field of the data item that provides the value of the widget.
- ///
- /// delay - Number (default: 200)
- /// The delay in milliseconds between a keystroke and when the widget displays the popup.
- ///
- /// dropDownWidth - String|Number
- /// The width of the dropdown. Numeric values are treated as pixels.
- ///
- /// enable - Boolean (default: true)
- /// If set to false the widget will be disabled and will not allow user input. The widget is enabled by default and allows user input.
- ///
- /// enforceMinLength - Boolean (default: false)
- /// If set to true the widget will not show all items when the text of the search input cleared. By default the widget shows all items when the text of the search input is cleared. Works in conjunction with minLength.
- ///
- /// filter - String (default: "none")
- /// The filtering method used to determine the suggestions for the current value. Filtration is turned off by default, and can be performed over string values only (either the widget's data has to be an array of strings, or over the field, configured in the dataTextField option). The supported filter values are startswith, endswith and contains.
- ///
- /// filterFields - Array
- /// Enables multicolumn filtering.
- ///
- /// fixedGroupTemplate - String|Function
- /// The template used to render the fixed header group. By default the widget displays only the value of the current group.
- ///
- /// footerTemplate - String|Function
- /// The template used to render the footer template. The footer template receives the widget itself as a part of the data argument. Use the widget fields directly in the template.
- ///
- /// groupTemplate - String|Function
- /// The template used to render the groups. By default the widget displays only the value of the group.
- ///
- /// height - Number (default: 200)
- /// The height of the suggestion popup in pixels. The default value is 200 pixels.
- ///
- /// highlightFirst - Boolean (default: true)
- /// If set to true the first suggestion will be automatically highlighted.
- ///
- /// ignoreCase - Boolean (default: true)
- /// If set to false case-sensitive search will be performed to find suggestions. The widget performs case-insensitive searching by default.
- ///
- /// index - Number (default: -1)
- /// The index of the initially selected item. The index is 0 based.
- ///
- /// minLength - Number (default: 1)
- /// The minimum number of characters the user must type before a search is performed. Set to higher value than 1 if the search could match a lot of items.
- ///
- /// noDataTemplate - String|Function (default: "NO DATA FOUND.")
- /// The template used to render the "no data" template, which will be displayed if no results are found or the underlying data source is empty. The noData template receives the widget itself as a part of the data argument. The template will be evaluated on every widget data bound.
- ///
- /// placeholder - String (default: "")
- /// The hint displayed by the widget when it is empty. Not set by default.
- ///
- /// popup - Object
- /// The options that will be used for the popup initialization. For more details about the available options refer to Popup documentation.
- ///
- /// suggest - Boolean (default: false)
- /// If set to true the widget will automatically use the first suggestion as its value.
- ///
- /// syncValueAndText - Boolean (default: true)
- /// When set to true the widget will automatically set selected value to the typed custom text. Set the option to false to clear the selected value but keep the custom text.
- ///
- /// headerTemplate - String|Function
- /// Specifies a static HTML content, which will be rendered as a header of the popup element.
- ///
- /// text - String (default: "")
- /// The text of the widget used when the autoBind is set to false.
- ///
- /// value - String (default: "")
- /// The value of the widget.
- ///
- /// valuePrimitive - Boolean (default: false)
- /// Specifies the value binding behavior for the widget when the initial model value is null. If set to true, the View-Model field will be updated with the selected item value field. If set to false, the View-Model field will be updated with the selected item.
- ///
- /// virtual - Boolean (default: false)
- /// Enables the virtualization feature of the widget. The configuration can be set on an object, which contains two properties - itemHeight and valueMapper.For detailed information, refer to the article on virtualization.
- ///
- /// virtual - Object (default: false)
- /// Enables the virtualization feature of the widget. The configuration can be set on an object, which contains two properties - itemHeight and valueMapper.For detailed information, refer to the article on virtualization.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- MultiSelect: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.MultiSelect</summary>
- /// </signature>
- }
- });
- kendo.ui.MultiSelect = (function() {
- var original = kendo.ui.MultiSelect;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- close: function() {
- /// <signature>
- /// <summary>
- /// Closes the widget popup.
- /// </summary>
- /// </signature>
- },
- dataItems: function() {
- /// <signature>
- /// <summary>
- /// Returns list of raw data records corresponding to the selected items.
- /// </summary>
- /// <returns type="Array">The raw data records. Returns empty array ([]) if no selected options</returns>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the MultiSelect 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" >If set to true the widget will be enabled. If set to false the widget will be disabled.</param>
- /// </signature>
- },
- focus: function() {
- /// <signature>
- /// <summary>
- /// Focuses the widget.
- /// </summary>
- /// </signature>
- },
- items: function() {
- /// <signature>
- /// <summary>
- /// Obtains an Array of the DOM elements, which correspond to the data items from the Kendo UI DataSource view.
- /// </summary>
- /// <returns type="Array">The currently rendered dropdown list items (<li> elements).</returns>
- /// </signature>
- },
- open: function() {
- /// <signature>
- /// <summary>
- /// Opens the popup.
- /// </summary>
- /// </signature>
- },
- readonly: function(readonly) {
- /// <signature>
- /// <summary>
- /// Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input.
- /// </summary>
- /// <param name="readonly" type="Boolean" >If set to true the widget will not allow user input. If set to false the widget will allow user input.</param>
- /// </signature>
- },
- refresh: function() {
- /// <signature>
- /// <summary>
- /// Refresh the popup by rendering all items again.
- /// </summary>
- /// </signature>
- },
- search: function(word) {
- /// <signature>
- /// <summary>
- /// Searches the data source for the provided value and displays any matches as suggestions.
- /// </summary>
- /// <param name="word" type="String" >The filter value.</param>
- /// </signature>
- },
- setDataSource: function(dataSource) {
- /// <signature>
- /// <summary>
- /// Sets the dataSource of an existing MultiSelect and rebinds it.
- /// </summary>
- /// <param name="dataSource" type="kendo.data.DataSource" ></param>
- /// </signature>
- },
- toggle: function(toggle) {
- /// <signature>
- /// <summary>
- /// Opens or closes the widget popup.
- /// </summary>
- /// <param name="toggle" type="Boolean" >Defines the whether to open/close the drop-down list.</param>
- /// </signature>
- },
- value: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the value of the MultiSelect.
- /// </summary>
- /// <param name="value" type="Object" >The value to set. A String value or an Array of strings is accepted. To clear the value, pass an empty array.</param>
- /// <returns type="Array">The value of the MultiSelect.</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.kendoMultiSelect = function() {
- this.data("kendoMultiSelect", new kendo.ui.MultiSelect());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoMultiSelect: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.MultiSelect widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.MultiSelect">The kendo.ui.MultiSelect instance (if present).</returns>
- /// </signature>
- },
- kendoMultiSelect: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.MultiSelect widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// animation - Boolean
- /// Configures the opening and closing animations of the suggestion popup. Setting the animation option to false will disable the opening and closing animations. As a result the suggestion popup will open and close instantly. is not a valid configuration.
- ///
- /// animation - Object
- /// Configures the opening and closing animations of the suggestion popup. Setting the animation option to false will disable the opening and closing animations. As a result the suggestion popup will open and close instantly. is not a valid configuration.
- ///
- /// autoBind - Boolean (default: true)
- /// Controls whether to bind the widget to the data source on initialization.
- ///
- /// autoClose - Boolean (default: true)
- /// Controls whether to close the widget suggestion list on item selection.
- ///
- /// autoWidth - Boolean
- /// If set to true, the widget automatically adjusts the width of the popup element and does not wrap up the item label.
- ///
- /// clearButton - Boolean (default: true)
- /// Unless this options is set to false, a button will appear when hovering the widget. Clicking that button will reset the widget's value and will trigger the change event.
- ///
- /// dataSource - Object|Array|kendo.data.DataSource
- /// The data source of the widget which is used to display a list of values. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing kendo.data.DataSource instance.If the dataSource option is set to a JavaScript object or array the widget will initialize a new kendo.data.DataSource instance using that value as data source configuration.If the dataSource option is an existing kendo.data.DataSource instance the widget will use that instance and will not initialize a new one.
- ///
- /// dataTextField - String (default: "")
- /// The field of the data item that provides the text content of the list items. The widget will filter the data source based on this field.
- ///
- /// dataValueField - String (default: "")
- /// The field of the data item that provides the value of the widget.
- ///
- /// delay - Number (default: 200)
- /// Specifies the delay in milliseconds after which the MultiSelect will start filtering dataSource.
- ///
- /// enable - Boolean (default: true)
- /// If set to false the widget will be disabled and will not allow user input. The widget is enabled by default and allows user input.
- ///
- /// enforceMinLength - Boolean (default: false)
- /// If set to true the widget will not show all items when the text of the search input cleared. By default the widget shows all items when the text of the search input is cleared. Works in conjunction with minLength.
- ///
- /// filter - String (default: "startswith")
- /// The filtering method used to determine the suggestions for the current value. Filtration is turned of by default, and can be performed over string values only (either the widget's data has to be an array of strings, or over the field, configured in the dataTextField option). The supported filter values are startswith, endswith and contains.
- ///
- /// fixedGroupTemplate - String|Function
- /// The template used to render the fixed header group. By default the widget displays only the value of the current group.
- ///
- /// footerTemplate - String|Function
- /// The template used to render the footer template. The footer template receives the widget itself as a part of the data argument. Use the widget fields directly in the template.
- ///
- /// groupTemplate - String|Function
- /// The template used to render the groups. By default the widget displays only the value of the group.
- ///
- /// height - Number (default: 200)
- /// The height of the suggestion popup in pixels. The default value is 200 pixels.
- ///
- /// highlightFirst - Boolean (default: true)
- /// If set to true the first suggestion will be automatically highlighted.
- ///
- /// ignoreCase - Boolean (default: true)
- /// If set to false case-sensitive search will be performed to find suggestions. The widget performs case-insensitive searching by default.
- ///
- /// minLength - Number (default: 1)
- /// The minimum number of characters the user must type before a search is performed. Set to a higher value if the search could match a lot of items. A zero value means that a request will be made as soon as the user focuses the widget.
- ///
- /// maxSelectedItems - Number (default: null)
- /// Defines the limit of the selected items. If set to null widget will not limit number of the selected items.
- ///
- /// noDataTemplate - String|Function (default: "NO DATA FOUND.")
- /// The template used to render the "no data" template, which will be displayed if no results are found or the underlying data source is empty. The noData template receives the widget itself as a part of the data argument. The template will be evaluated on every widget data bound.
- ///
- /// placeholder - String (default: "")
- /// The hint displayed by the widget when it is empty. Not set by default.
- ///
- /// popup - Object
- /// The options that will be used for the popup initialization. For more details about the available options refer to Popup documentation.
- ///
- /// headerTemplate - String|Function
- /// Specifies a static HTML content, which will be rendered as a header of the popup element.
- ///
- /// itemTemplate - String|Function
- /// The template used to render the items in the popup list.
- ///
- /// tagTemplate - String|Function
- /// The template used to render the tags.
- ///
- /// tagMode - String (default: "multiple")
- /// The mode used to render the selected tags. The available modes are: - multiple - renders a tag for every selected value - single - renders only one tag that shows the number of the selected values
- ///
- /// value - Array (default: [])
- /// Define the value of the widget
- ///
- /// valuePrimitive - Boolean (default: false)
- /// Specifies the value binding behavior for the widget. If set to true, the View-Model field will be updated with the selected item value field. If set to false, the View-Model field will be updated with the selected item.
- ///
- /// virtual - Boolean (default: false)
- /// Enables the virtualization feature of the widget. The configuration can be set on an object, which contains two properties - itemHeight and valueMapper.For detailed information, refer to the article on virtualization.
- ///
- /// virtual - Object (default: false)
- /// Enables the virtualization feature of the widget. The configuration can be set on an object, which contains two properties - itemHeight and valueMapper.For detailed information, refer to the article on virtualization.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- MultiViewCalendar: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.MultiViewCalendar</summary>
- /// </signature>
- }
- });
- kendo.ui.MultiViewCalendar = (function() {
- var original = kendo.ui.MultiViewCalendar;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- current: function() {
- /// <signature>
- /// <summary>
- /// Gets currently focused date.
- /// </summary>
- /// <returns type="Date">The current focused date shown in the multiViewCalendar.</returns>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the multiViewCalendar 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>
- },
- max: function(value) {
- /// <signature>
- /// <summary>
- /// Gets/Sets the max value of the multiViewCalendar.
- /// </summary>
- /// <param name="value" type="Object" >The max date to set.</param>
- /// <returns type="Date">The max value of the multiViewCalendar.</returns>
- /// </signature>
- },
- min: function(value) {
- /// <signature>
- /// <summary>
- /// Gets/Sets the min value of the multiViewCalendar.
- /// </summary>
- /// <param name="value" type="Object" >The min date to set.</param>
- /// <returns type="Date">The min value of the multiViewCalendar.</returns>
- /// </signature>
- },
- navigate: function(value,view) {
- /// <signature>
- /// <summary>
- /// Navigates to view.
- /// </summary>
- /// <param name="value" type="Date" >Desired date.</param>
- /// <param name="view" type="String" >Desired view.</param>
- /// </signature>
- },
- navigateDown: function(value) {
- /// <signature>
- /// <summary>
- /// Navigates to the lower view.
- /// </summary>
- /// <param name="value" type="Date" >Desired date.</param>
- /// </signature>
- },
- navigateToFuture: function() {
- /// <signature>
- /// <summary>
- /// Navigates to the future.
- /// </summary>
- /// </signature>
- },
- navigateToPast: function() {
- /// <signature>
- /// <summary>
- /// Navigates to the past.
- /// </summary>
- /// </signature>
- },
- navigateUp: function() {
- /// <signature>
- /// <summary>
- /// Navigates to the upper view.
- /// </summary>
- /// </signature>
- },
- selectDates: function(dates) {
- /// <signature>
- /// <summary>
- /// Gets/Sets the selected dates for the multiViewCalendar.
- /// </summary>
- /// <param name="dates" type="Array" >A list of the dates to be selected.</param>
- /// <returns type="Array">The currently selected dates.</returns>
- /// </signature>
- },
- selectRange: function(range) {
- /// <signature>
- /// <summary>
- /// Gets/Sets the selected range for the multiViewCalendar.
- /// </summary>
- /// <param name="range" type="Object" >The range to set. It should have a start and end properties with the respective dates.</param>
- /// <returns type="Object">The selected range of the multiViewCalendar. The object has a start and end properties.</returns>
- /// </signature>
- },
- value: function(value) {
- /// <signature>
- /// <summary>
- /// Gets/Sets the value of the multiViewCalendar.
- /// </summary>
- /// <param name="value" type="Object" >The date to set.</param>
- /// <returns type="Date">The value of the multiViewCalendar.</returns>
- /// </signature>
- },
- view: function() {
- /// <signature>
- /// <summary>
- /// Gets an instance of the current view used by the multiViewCalendar.
- /// </summary>
- /// <returns type="Object">The instance of the current view used by the multiViewCalendar.</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.kendoMultiViewCalendar = function() {
- this.data("kendoMultiViewCalendar", new kendo.ui.MultiViewCalendar());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoMultiViewCalendar: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.MultiViewCalendar widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.MultiViewCalendar">The kendo.ui.MultiViewCalendar instance (if present).</returns>
- /// </signature>
- },
- kendoMultiViewCalendar: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.MultiViewCalendar widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// culture - String (default: "en-US")
- /// Specifies the culture info used by the widget.
- ///
- /// dates - Array
- /// Specifies a list of dates, which will be passed to the month template.
- ///
- /// depth - String
- /// Specifies the navigation depth. The following settings are available for the depth value: "month" - Shows the days of the month.; "year" - Shows the months of the year.; "decade" - Shows the years of the decade. or "century" - Shows the decades from the century..
- ///
- /// disableDates - Array|Function (default: null)
- /// An array or function that will be used to determine which dates to be disabled in the multiViewCalendar.
- ///
- /// footer - String|Function
- /// The template which renders the footer. If false, the footer will not be rendered.
- ///
- /// format - String (default: "M/d/yyyy")
- /// Specifies the format, which is used to parse value set with value() method.
- ///
- /// max - Date (default: Date(2099, 11, 31))
- /// Specifies the maximum date, which the multiViewCalendar can show.
- ///
- /// messages - Object
- /// Allows localization of the strings that are used in the widget.
- ///
- /// min - Date (default: Date(1900, 0, 1))
- /// Specifies the minimum date, which the multiViewCalendar can show.
- ///
- /// month - Object
- /// Templates for the cells rendered in "month" view.
- ///
- /// views - Number (default: 2)
- /// This property controls how many months to be shown at same time. By default it shows two months.
- ///
- /// range - Object
- /// Configures the Kendo UI MultiViewCalendar range settings.
- ///
- /// selectable - String (default: "single")
- /// By default user is able to select a single date. The property can also be set to "multiple" or "range". More information about multiple selection can be found in the Selection article.
- ///
- /// selectDates - Array (default: [])
- /// Specifies which dates to be selected when the multiViewCalendar is initialized.
- ///
- /// showViewHeader - Boolean (default: false)
- /// If set to true will render a header for every view.
- ///
- /// weekNumber - Boolean (default: false)
- /// If set to true a week of the year will be shown on the left side of the multiViewCalendar.
- ///
- /// start - String (default: "month")
- /// Specifies the start view. The following settings are available for the start value: "month" - Shows the days of the month.; "year" - Shows the months of the year.; "decade" - Shows the years of the decade. or "century" - Shows the decades from the century..
- ///
- /// value - Date (default: null)
- /// Specifies the selected date.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- Notification: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.Notification</summary>
- /// </signature>
- }
- });
- kendo.ui.Notification = (function() {
- var original = kendo.ui.Notification;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- error: function(data) {
- /// <signature>
- /// <summary>
- /// This is a shorthand method for show(data, "error")
- /// </summary>
- /// <param name="data" type="Object" >Required. The string content for the notification; or the object with the values for the variables inside the notification template; or the function, which returns the required string or an object.</param>
- /// </signature>
- },
- getNotifications: function() {
- /// <signature>
- /// <summary>
- /// Returns a jQuery collection of all visible notifications, displayed by the given widget instance. Each item in the collection is a div.k-notification element.This method is useful for quick removal of all visible messages before showing new ones. After obtaining all visible messages, remove them from the DOM instead of hiding them, unless animations are disabled. This is because animations are asynchronous and the new messages will be shown on the wrong places before the old ones have been hidden. Another thing to keep in mind is that when usingpopup notification messages, you should remove the parent of each member of the collection, returned by the getNotifications() method. In this case the parent will be a div.k-animation-container element.
- /// </summary>
- /// <returns type="jQuery">A collection of all visible notifications.</returns>
- /// </signature>
- },
- hide: function() {
- /// <signature>
- /// <summary>
- /// Hides all notifications from the given widget instance.If you intend to use this method to dispose of all visible messages before showing new ones, then use the getNotifications() method instead, unless animations are disabled.
- /// </summary>
- /// </signature>
- },
- info: function(data) {
- /// <signature>
- /// <summary>
- /// This is a shorthand method for show(data, "info")
- /// </summary>
- /// <param name="data" type="Object" >Required. The string content for the notification; or the object with the values for the variables inside the notification template; or the function, which returns the required string or an object.Note that the widget does not perform any automatic sanitization of the passed content and script tags will be evaluated. In order to encode script tags as HTML entities, use #: # expressions in the Kendo UI templates.</param>
- /// </signature>
- },
- show: function(data,type) {
- /// <signature>
- /// <summary>
- /// Displays a notification.
- /// </summary>
- /// <param name="data" type="Object" >Required. The string content for the notification; or the object with the values for the variables inside the notification template; or the function, which returns the required string or an object.</param>
- /// <param name="type" type="String" >The notification type. Built-in types include "info", "success", "warning" and "error". Custom types should match the types from the template configuration. If this argument is not supplied, then "info" is assumed.</param>
- /// </signature>
- },
- showText: function(data,type) {
- /// <signature>
- /// <summary>
- /// Displays a plain-text notification.This is a safer version of the show method that assumes that you want to encode any markup passed in as a message.
- /// </summary>
- /// <param name="data" type="Object" >Required. The string content for the notification; or the object with the values for the variables inside the notification template; or the function, which returns the required string or an object.</param>
- /// <param name="type" type="String" >The notification type. Built-in types include "info", "success", "warning" and "error". Custom types should match the types from the template configuration. If this argument is not supplied, then "info" is assumed.</param>
- /// </signature>
- },
- success: function(data) {
- /// <signature>
- /// <summary>
- /// This is a shorthand method for show(data, "success")
- /// </summary>
- /// <param name="data" type="Object" >Required. The string content for the notification; or the object with the values for the variables inside the notification template; or the function, which returns the required string or an object.</param>
- /// </signature>
- },
- warning: function(data) {
- /// <signature>
- /// <summary>
- /// This is a shorthand method for show(data, "warning")
- /// </summary>
- /// <param name="data" type="Object" >Required. The string content for the notification; or the object with the values for the variables inside the notification template; or the function, which returns the required string or an object.</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.kendoNotification = function() {
- this.data("kendoNotification", new kendo.ui.Notification());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoNotification: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.Notification widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.Notification">The kendo.ui.Notification instance (if present).</returns>
- /// </signature>
- },
- kendoNotification: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.Notification widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// allowHideAfter - Number (default: 0)
- /// Indicates the period in milliseconds after which a notification can be dismissed (hidden) by the user.
- ///
- /// animation - Object|Boolean
- /// Defines custom show and hide animations via an Kendo UI Animation object. Setting the value to false disables animations. is not a valid configuration.
- ///
- /// appendTo - String|jQuery (default: null)
- /// Defines the element to which the notifications will be appended or prepended (depending on the stacking direction).
- ///
- /// autoHideAfter - Number (default: 5000)
- /// Indicates the period in milliseconds after which a notification disappears automatically. Setting a zero value disables this behavior.
- ///
- /// button - Boolean (default: false)
- /// Determines whether the notifications will include a hide button. This setting works with the built-in templates only.
- ///
- /// height - Number|String (default: null)
- /// Defines the notifications' height. Numbers are treated as pixels.
- ///
- /// hideOnClick - Boolean (default: true)
- /// Determines whether notifications can be hidden by clicking anywhere on their content.
- ///
- /// position - Object
- /// This setting applies to popup notifications only, i.e. in cases when appendTo is not set. It determines the position of the first notification on the screen, as well as whether the notifications will move together with the page content during scrolling.top takes precedence over bottom and left takes precedence over right.
- ///
- /// stacking - String (default: "default")
- /// Determines the direction in which multiple notification will stack (arrange) with regard to the first one. Possible values are "up", "right", "down", "left" and "default". The "default" setting takes into consideration the applied position settings and is evaluated to "up" or "down".
- ///
- /// templates - Array (default: [])
- /// Describes the HTML markup of the different notification types as Kendo UI template strings. The built-in types are "info", "success", "warning" and "error".This documentation section assumes that you are familiar with Kendo UI templates.
- ///
- /// width - Number|String (default: null)
- /// Defines the notifications' width. Numbers are treated as pixels.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- NumericTextBox: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.NumericTextBox</summary>
- /// </signature>
- }
- });
- kendo.ui.NumericTextBox = (function() {
- var original = kendo.ui.NumericTextBox;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the NumericTextBox 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" >If set to true the widget will be enabled. If set to false the widget will be disabled.</param>
- /// </signature>
- },
- readonly: function(readonly) {
- /// <signature>
- /// <summary>
- /// Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input.
- /// </summary>
- /// <param name="readonly" type="Boolean" >If set to true the widget will not allow user input. If set to false the widget will allow user input.</param>
- /// </signature>
- },
- focus: function() {
- /// <signature>
- /// <summary>
- /// Focuses the widget.
- /// </summary>
- /// </signature>
- },
- max: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the max value of the widget.
- /// </summary>
- /// <param name="value" type="Object" >The max value to set.</param>
- /// <returns type="Number">The max value of the widget.</returns>
- /// </signature>
- },
- min: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the min value of the widget.
- /// </summary>
- /// <param name="value" type="Object" >The min value to set.</param>
- /// <returns type="Number">The min value of the widget.</returns>
- /// </signature>
- },
- step: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the step value of the widget.
- /// </summary>
- /// <param name="value" type="Object" >The step value to set.</param>
- /// <returns type="Number">The step value of the widget.</returns>
- /// </signature>
- },
- value: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the value of the NumericTextBox.
- /// </summary>
- /// <param name="value" type="Object" >The value to set.</param>
- /// <returns type="Number">The value of the widget.</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.kendoNumericTextBox = function() {
- this.data("kendoNumericTextBox", new kendo.ui.NumericTextBox());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoNumericTextBox: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.NumericTextBox widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.NumericTextBox">The kendo.ui.NumericTextBox instance (if present).</returns>
- /// </signature>
- },
- kendoNumericTextBox: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.NumericTextBox widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// culture - String (default: "en-US")
- /// Specifies the culture info used by the widget.
- ///
- /// decimals - Number (default: null)
- /// Specifies the number precision applied to the widget value and when the NumericTextBox is focused. If not set, the precision defined by the current culture is used. If the user enters a number with a greater precision than is currently configured, the widget value will be rounded. For example, if decimals is 2 and the user inputs 12.346, the value will become 12.35. If the user inputs 12.99, the value will become 13.00.Compare with the format property.
- ///
- /// downArrowText - String (default: "Decrease value")
- /// Specifies the text of the tooltip on the down arrow.
- ///
- /// factor - Number (default: "1")
- /// Specifies the factor by which the value is multiplied. The obtained result is used as edit value. So, if 15 as string is entered in the NumericTextBox and the factor value is set to 100 the visual value will be 1500. On blur the visual value will be divided by 100 thus scaling the widget value to the original proportion.
- ///
- /// format - String (default: "n")
- /// Specifies the number format used when the widget is not focused. Any valid number format is allowed.Compare with the decimals property.
- ///
- /// max - Number (default: null)
- /// Specifies the largest value the user can enter.
- ///
- /// min - Number (default: null)
- /// Specifies the smallest value the user can enter.
- ///
- /// placeholder - String (default: "")
- /// The hint displayed by the widget when it is empty. Not set by default.
- ///
- /// restrictDecimals - Boolean (default: false)
- /// Specifies whether the decimals length should be restricted during typing. The length of the fraction is defined by the decimals value.
- ///
- /// round - Boolean (default: true)
- /// Specifies whether the value should be rounded or truncated. The length of the fraction is defined by the decimals value.
- ///
- /// spinners - Boolean (default: true)
- /// Specifies whether the up and down spin buttons should be rendered
- ///
- /// step - Number (default: 1)
- /// Specifies the value used to increment or decrement widget value.
- ///
- /// upArrowText - String (default: "Increase value")
- /// Specifies the text of the tooltip on the up arrow.
- ///
- /// value - Number (default: null)
- /// Specifies the value of the NumericTextBox widget.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- PDFViewer: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.PDFViewer</summary>
- /// </signature>
- }
- });
- kendo.ui.PDFViewer = (function() {
- var original = kendo.ui.PDFViewer;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- fromFile: function() {
- /// <signature>
- /// <summary>
- /// Displays the file passed as a parameter in the PDFViewer. Currently, supported only for PDFJS Processing.
- /// </summary>
- /// </signature>
- },
- activatePage: function() {
- /// <signature>
- /// <summary>
- /// Loads and scrolls to the page by number.
- /// </summary>
- /// </signature>
- },
- loadPage: function() {
- /// <signature>
- /// <summary>
- /// Loads the page by number.
- /// </summary>
- /// </signature>
- },
- execute: function() {
- /// <signature>
- /// <summary>
- /// Executes a command of the PDFViewer.
- /// </summary>
- /// </signature>
- },
- setOptions: function() {
- /// <signature>
- /// <summary>
- /// Update the dimensions of the widget, the active page or the processor.
- /// </summary>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Destroys 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.kendoPDFViewer = function() {
- this.data("kendoPDFViewer", new kendo.ui.PDFViewer());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoPDFViewer: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.PDFViewer widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.PDFViewer">The kendo.ui.PDFViewer instance (if present).</returns>
- /// </signature>
- },
- kendoPDFViewer: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.PDFViewer widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// pdfjsProcessing - Object
- /// Specifies the PDF.JS configuration options. Including pdfjs is mandatory.
- ///
- /// dplProcessing - Object
- /// Specifies the DPL configuration options.
- ///
- /// width - Number|String (default: 1000)
- /// The width of the PDFViewer.
- ///
- /// height - Number|String (default: 1200)
- /// The height of the PDFViewer.
- ///
- /// defaultPageSize - Object
- /// Specifies the default page size if no PDF is displayed in the PDFViewer. The page size will shrink to fit the viewer dimensions.
- ///
- /// page - Number (default: 1)
- /// The selected page number in the viewer.
- ///
- /// view - Object
- /// Defines the page surface options. This setting is available only for DPL Processing. The page render a drawing Surface and all of its configuration options could be defined.
- ///
- /// toolbar - Boolean (default: true)
- /// Toolbar option accepts a Boolean value which indicates if the toolbar will be displayed or an Object with items. Inherits Kendo UI Toolbar.
- ///
- /// toolbar - Object (default: true)
- /// Toolbar option accepts a Boolean value which indicates if the toolbar will be displayed or an Object with items. Inherits Kendo UI Toolbar.
- ///
- /// messages - Object
- /// Specifies the localization messages of the PDFViewer.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- Pager: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.Pager</summary>
- /// </signature>
- }
- });
- kendo.ui.Pager = (function() {
- var original = kendo.ui.Pager;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- totalPages: function() {
- /// <signature>
- /// <summary>
- /// Returns the number of pages.
- /// </summary>
- /// <returns type="Number">The number of pages.</returns>
- /// </signature>
- },
- pageSize: function() {
- /// <signature>
- /// <summary>
- /// Returns the page size - maximum number of items allowed on one page.
- /// </summary>
- /// <returns type="Number">The maximum number of items allowed on one page.</returns>
- /// </signature>
- },
- page: function(page) {
- /// <signature>
- /// <summary>
- /// Gets or sets the current page.
- /// </summary>
- /// <param name="page" type="Number" >The new page number.</param>
- /// <returns type="Number">The current page number.</returns>
- /// </signature>
- },
- refresh: function() {
- /// <signature>
- /// <summary>
- /// Updates all values of pager elements so that these values fit the values of DataSource. This method is automatically called after DataSource change event is fired.
- /// </summary>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Unbinds all callbacks created within pager initialization. This method doesn't remove pager element from DOM.
- /// </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.kendoPager = function() {
- this.data("kendoPager", new kendo.ui.Pager());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoPager: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.Pager widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.Pager">The kendo.ui.Pager instance (if present).</returns>
- /// </signature>
- },
- kendoPager: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.Pager widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// autoBind - Boolean (default: true)
- /// Indicates whether the pager refresh method will be called within its initialization.
- ///
- /// buttonCount - Number (default: 10)
- /// Defines the number of buttons displayed in the numeric pager.
- ///
- /// dataSource - Object|kendo.data.DataSource
- /// Instance of kendo DataSource. See the kendo.data.DataSource.This option is mandatory because the Pager is tightly connected with DataSource. The pager is UI widget for managing paging over the DataSource. The Pager gets values like page size or total count of items from DataSource.
- ///
- /// selectTemplate - String
- /// The template for selected page number link.
- ///
- /// linkTemplate - String
- /// The template for page number links.
- ///
- /// info - Boolean (default: true)
- /// Defines if a label showing current paging information will be displayed.
- ///
- /// input - Boolean (default: false)
- /// Defines if an input element which allows the user to navigate to given page will be displayed.
- ///
- /// numeric - Boolean (default: true)
- /// Defines if numeric portion of the pager will be shown.
- ///
- /// pageSizes - Boolean|Array (default: false)
- /// If set to true the pager will display a drop-down which allows the user to pick a page size. By default the page size drop-down is not displayed.Can be set to an array of predefined page sizes to override the default list. A special all value is supported. It sets the page size to the total number of records.If a pageSize setting is provided for the data source then this value will be selected initially.
- ///
- /// previousNext - Boolean (default: true)
- /// Defines if buttons for navigating to the first, last, previous and next pages will be shown.
- ///
- /// refresh - Boolean (default: false)
- /// Defines if a refresh button will be displayed. Click on that button will call DataSource read() method to get actual data.
- ///
- /// responsive - Boolean (default: true)
- /// Defines if the pager will be responsive.
- ///
- /// messages - Object
- /// Defines texts shown within the pager. Use this option to customize or localize the pager messages.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- PanelBar: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.PanelBar</summary>
- /// </signature>
- }
- });
- kendo.ui.PanelBar = (function() {
- var original = kendo.ui.PanelBar;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- append: function(item,referenceItem) {
- /// <signature>
- /// <summary>
- /// Appends an item(s) to the PanelBar.
- /// </summary>
- /// <param name="item" type="Object" >Target item, specified as the JSON representation of an object. You can pass item text, content orcontentUrl here. Can handle an HTML string or array of such strings or JSON.</param>
- /// <param name="referenceItem" type="Object" >A reference item to append the new item in the PanelBar, can be omitted.</param>
- /// <returns type="kendo.ui.PanelBar">Returns the PanelBar object to support chaining.</returns>
- /// </signature>
- },
- clearSelection: function() {
- /// <signature>
- /// <summary>
- /// Clears the currently selected PanelBar items.
- /// </summary>
- /// </signature>
- },
- collapse: function(element,useAnimation) {
- /// <signature>
- /// <summary>
- /// Collapses the specified item(s) of a PanelBar.
- /// </summary>
- /// <param name="element" type="Object" >The PanelBar item(s) to be collapsed, expressed as a string containing a selector expression or represented by a jQuery selector.</param>
- /// <param name="useAnimation" type="Boolean" >_optional, default: _Temporarily enables (true) or disables (false) any visual animation(s) when collapsing items.</param>
- /// <returns type="kendo.ui.PanelBar">Returns the PanelBar object to support chaining.</returns>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the PanelBar 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(element,enable) {
- /// <signature>
- /// <summary>
- /// Enables (true) or disables (false) the specified item(s) of thePanelBar.
- /// </summary>
- /// <param name="element" type="Object" >The PanelBar item(s) to be enabled (true) or disabled (false), expressed as a string containing a selector expression or represented by ajQuery selector.</param>
- /// <param name="enable" type="Boolean" >The desired state - enabled (true) or disabled (false) - of the target element(s).</param>
- /// </signature>
- },
- expand: function(element,useAnimation) {
- /// <signature>
- /// <summary>
- /// Expands the specified item(s) of a PanelBar.
- /// </summary>
- /// <param name="element" type="Object" >The PanelBar item(s) to be expanded, expressed as a selector.</param>
- /// <param name="useAnimation" type="Boolean" >_optional, default: _Temporarily enables (true) or disables (false) any visual animation(s) when expanding items.</param>
- /// <returns type="kendo.ui.PanelBar">Returns the PanelBar object to support chaining.</returns>
- /// </signature>
- },
- insertAfter: function(item,referenceItem) {
- /// <signature>
- /// <summary>
- /// Inserts a PanelBar item after the specified referenceItem
- /// </summary>
- /// <param name="item" type="Object" >Target item, specified as a JSON object. You can pass item text, content or contentUrl here. Can handle an HTML string or array of such strings or JSON.</param>
- /// <param name="referenceItem" type="Object" >A reference item to insert the new item after</param>
- /// </signature>
- },
- insertBefore: function(item,referenceItem) {
- /// <signature>
- /// <summary>
- /// Inserts a PanelBar item before the specified referenceItem
- /// </summary>
- /// <param name="item" type="Object" >Target item, specified as a JSON object. You can pass item text, content or contentUrl here. Can handle an TML string or array of such strings or JSON.</param>
- /// <param name="referenceItem" type="Object" >A reference item to insert the new item before.</param>
- /// <returns type="kendo.ui.PanelBar">Returns the PanelBar object to support chaining.</returns>
- /// </signature>
- },
- reload: function(element) {
- /// <signature>
- /// <summary>
- /// Reloads the content of a PanelBar from an AJAX request.
- /// </summary>
- /// <param name="element" type="Object" >Target element</param>
- /// </signature>
- },
- remove: function(element) {
- /// <signature>
- /// <summary>
- /// Removes the specified PanelBar item(s).
- /// </summary>
- /// <param name="element" type="Object" >The PanelBar item(s) to be removed, expressed as a selector string, DOM element or a jQuery object.</param>
- /// </signature>
- },
- select: function(element) {
- /// <signature>
- /// <summary>
- /// Gets or sets the selected item.
- /// </summary>
- /// <param name="element" type="Object" >The PanelBar item to be selected, expressed as a string containing a selector expression or represented by a jQuery selector.</param>
- /// <returns type="jQuery">the selected item if called without arguments. kendo.ui.PanelBar if called with arguments.</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.kendoPanelBar = function() {
- this.data("kendoPanelBar", new kendo.ui.PanelBar());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoPanelBar: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.PanelBar widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.PanelBar">The kendo.ui.PanelBar instance (if present).</returns>
- /// </signature>
- },
- kendoPanelBar: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.PanelBar widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// animation - Boolean
- /// A collection of visual animations used when PanelBar items are expand or collapsed through user interactions. Setting this option to false will disable all animations. is not a valid configuration.
- ///
- /// animation - Object
- /// A collection of visual animations used when PanelBar items are expand or collapsed through user interactions. Setting this option to false will disable all animations. is not a valid configuration.
- ///
- /// autoBind - Boolean (default: true)
- /// If set to false the widget will not bind to the data source 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 data source specified in the configuration.
- ///
- /// contentUrls - Array
- /// Sets an array with the URLs from which the PanelBar items content to be loaded from. If only specific items should be loaded via Ajax, then you should set the URLs to the corresponding positions in the array and set the other elements to null.
- ///
- /// dataImageUrlField - String (default: null)
- /// Sets the field of the data item that provides the image URL of the PanelBar nodes.
- ///
- /// dataSource - Object|Array|kendo.data.HierarchicalDataSource
- /// The data source of the widget which is used render nodes. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing kendo.data.HierarchicalDataSource instance.If the dataSource option is set to a JavaScript object or array the widget will initialize a new kendo.data.HierarchicalDataSource instance using that value as data source configuration.If the dataSource option is an existing kendo.data.HierarchicalDataSource instance the widget will use that instance and will not initialize a new one.
- ///
- /// dataSpriteCssClassField - String (default: null)
- /// Sets the field of the data item that provides the sprite CSS class of the nodes. If an array, each level uses the field that is at the same index in the array, or the last item in the array.
- ///
- /// dataTextField - String|Array (default: null)
- /// Sets the field of the data item that provides the text content of the nodes. If an array, each level uses the field that is at the same index in the array, or the last item in the array.
- ///
- /// dataUrlField - String (default: null)
- /// Sets the field of the data item that provides the link URL of the nodes.
- ///
- /// expandMode - String (default: "multiple")
- /// Specifies how the PanelBar items are displayed when opened and closed. The following values are available:
- ///
- /// loadOnDemand - Boolean (default: true)
- /// Indicates whether the child DataSources should be fetched lazily when parent groups get expanded. Setting this to false causes all child DataSources to be loaded at initialization time.
- ///
- /// messages - Object
- /// The text messages displayed in the widget. Use it to customize or localize the messages.
- ///
- /// template - String|Function
- /// Template for rendering each node.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- PivotConfigurator: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.PivotConfigurator</summary>
- /// </signature>
- }
- });
- kendo.ui.PivotConfigurator = (function() {
- var original = kendo.ui.PivotConfigurator;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the widget 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>
- },
- refresh: function() {
- /// <signature>
- /// <summary>
- /// Refresh widget content
- /// </summary>
- /// </signature>
- },
- setDataSource: function(dataSource) {
- /// <signature>
- /// <summary>
- /// Sets the data source of the widget.
- /// </summary>
- /// <param name="dataSource" type="kendo.data.PivotDataSource" >The data source to which the widget should be bound.</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.kendoPivotConfigurator = function() {
- this.data("kendoPivotConfigurator", new kendo.ui.PivotConfigurator());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoPivotConfigurator: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.PivotConfigurator widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.PivotConfigurator">The kendo.ui.PivotConfigurator instance (if present).</returns>
- /// </signature>
- },
- kendoPivotConfigurator: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.PivotConfigurator widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// dataSource - Object|kendo.data.PivotDataSource
- /// The data source of the widget which is used to display values. Can be a JavaScript object which represents a valid data source configuration or an existing kendo.data.PivotDataSource instance.If the dataSource option is set to a JavaScript object the widget will initialize a new kendo.data.PivotDataSource instance using that value as data source configuration.If the dataSource option is an existing kendo.data.PivotDataSource instance the widget will use that instance and will not initialize a new one.
- ///
- /// filterable - Boolean (default: false)
- /// If set to true the user will be able to filter by using the field menu.
- ///
- /// sortable - Boolean (default: false)
- /// If set to true the user could sort the widget by clicking the dimension fields. By default sorting is disabled.Can be set to a JavaScript object which represents the sorting configuration.
- ///
- /// sortable - Object (default: false)
- /// If set to true the user could sort the widget by clicking the dimension fields. By default sorting is disabled.Can be set to a JavaScript object which represents the sorting configuration.
- ///
- /// height - Number|String
- /// The height of the PivotConfigurator. Numeric values are treated as pixels.
- ///
- /// messages - Object
- /// The text messages displayed in the fields sections.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- PivotGrid: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.PivotGrid</summary>
- /// </signature>
- }
- });
- kendo.ui.PivotGrid = (function() {
- var original = kendo.ui.PivotGrid;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- cellInfo: function(columnIndex,rowIndex) {
- /// <signature>
- /// <summary>
- /// Returns an information about a data cell at a specific column and row index.
- /// </summary>
- /// <param name="columnIndex" type="Number" >The index of the column cell that crosses the data cell.</param>
- /// <param name="rowIndex" type="Number" >The index of the row cell that crosses the data cell.</param>
- /// <returns type="Object">the data cell information.The fields of the result object: columnTuple - the tuple of the corresponding column header cell; rowTuple - the tuple of the corresponding row header cell; measure - the measure value of the data cell or dataItem - the data item itself.</returns>
- /// </signature>
- },
- cellInfoByElement: function(cell) {
- /// <signature>
- /// <summary>
- /// Returns an information about for a specific data cell element
- /// </summary>
- /// <param name="cell" type="Object" >A string, DOM element or jQuery object which represents the data table cell. A string is treated as a jQuery selector.</param>
- /// <returns type="Object">the data cell information.The fields of the result object: columnTuple - the tuple of the corresponding column header cell; rowTuple - the tuple of the corresponding row header cell; measure - the measure value of the data cell or dataItem - the data item itself.</returns>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the widget 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>
- },
- refresh: function() {
- /// <signature>
- /// <summary>
- /// Renders all content using the current data items.
- /// </summary>
- /// </signature>
- },
- setDataSource: function(dataSource) {
- /// <signature>
- /// <summary>
- /// Sets the data source of the widget.
- /// </summary>
- /// <param name="dataSource" type="kendo.data.PivotDataSource" >The data source to which the widget should be bound.</param>
- /// </signature>
- },
- saveAsExcel: function() {
- /// <signature>
- /// <summary>
- /// Initiates the Excel export. Also fires the excelExport event.
- /// </summary>
- /// </signature>
- },
- saveAsPDF: function() {
- /// <signature>
- /// <summary>
- /// Initiates the PDF export and returns a promise. Also triggers the pdfExport event.
- /// </summary>
- /// <returns type="Promise">A promise that will be resolved when the export completes. The same promise is available in the pdfExport event arguments.</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.kendoPivotGrid = function() {
- this.data("kendoPivotGrid", new kendo.ui.PivotGrid());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoPivotGrid: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.PivotGrid widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.PivotGrid">The kendo.ui.PivotGrid instance (if present).</returns>
- /// </signature>
- },
- kendoPivotGrid: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.PivotGrid widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// dataSource - Object|kendo.data.PivotDataSource
- /// The data source of the widget which is used to display values. Can be a JavaScript object which represents a valid data source configuration or an existing kendo.data.PivotDataSource instance.If the dataSource option is set to a JavaScript object the widget will initialize a new kendo.data.PivotDataSource instance using that value as data source configuration.If the dataSource option is an existing kendo.data.PivotDataSource instance the widget will use that instance and will not initialize a new one.
- ///
- /// autoBind - Boolean (default: true)
- /// If set to false the widget will not bind to the data source 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 data source specified in the configuration.
- ///
- /// reorderable - Boolean (default: true)
- /// If set to false the user will not be able to add/close/reorder current fields for columns/rows/measures.
- ///
- /// excel - Object
- /// Configures the Kendo UI PivotGrid Excel export settings.
- ///
- /// pdf - Object
- /// Configures the Kendo UI PivotGrid PDF export settings.
- ///
- /// filterable - Boolean (default: false)
- /// If set to true the user will be able to filter by using the field menu.
- ///
- /// sortable - Boolean (default: false)
- /// If set to true the user could sort the pivotgrid by clicking the dimension fields. By default sorting is disabled.Can be set to a JavaScript object which represents the sorting configuration.
- ///
- /// sortable - Object (default: false)
- /// If set to true the user could sort the pivotgrid by clicking the dimension fields. By default sorting is disabled.Can be set to a JavaScript object which represents the sorting configuration.
- ///
- /// columnWidth - Number
- /// The width of the table columns. Value is treated as pixels.
- ///
- /// height - Number|String
- /// The height of the PivotGrid. Numeric values are treated as pixels.
- ///
- /// columnHeaderTemplate - String|Function
- /// The template which renders the content of the column header cell. By default it renders the caption of the tuple member.The fields which can be used in the template are: member - the member of the corresponding column header cell or tuple - the tuple of the corresponding column header cell. For information about the tuple structure check this link.
- ///
- /// dataCellTemplate - String|Function
- /// The template which renders the content of the data cell. By default renders the formatted value (fmtValue) of the data item.The fields which can be used in the template are: columnTuple - the tuple of the corresponding column header cell; rowTuple - the tuple of the corresponding row header cell; measure - the value of the data cell measure or dataItem - the data item itself. For information about the tuple structure check this link. About the data item structure review this help topic.
- ///
- /// kpiStatusTemplate - String|Function
- /// The template which renders the content of the KPI Status value. By default renders "open", "hold" and "denied" status icons.The fields which can be used in the template are: columnTuple - the tuple of the corresponding column header cell; rowTuple - the tuple of the corresponding row header cell; measure - the value of the data cell measure or dataItem - the data item itself. For information about the tuple structure check this link. About the data item structure review this help topic.
- ///
- /// kpiTrendTemplate - String|Function
- /// The template which renders the content of the KPI Trend value. By default renders "increase", "decrease" and "equal" status icons.The fields which can be used in the template are: columnTuple - the tuple of the corresponding column header cell; rowTuple - the tuple of the corresponding row header cell; measure - the value of the data cell measure or dataItem - the data item itself. For information about the tuple structure check this link. About the data item structure review this help topic.
- ///
- /// rowHeaderTemplate - String|Function
- /// The template which renders the content of the row header cell. By default it renders the caption of the tuple member.The fields which can be used in the template are: member - the member of the corresponding row header cell or tuple - the tuple of the corresponding row header cell. For information about the tuple structure check this link.
- ///
- /// messages - Object
- /// The text messages displayed in the fields sections.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- Popup: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.Popup</summary>
- /// </signature>
- }
- });
- kendo.ui.Popup = (function() {
- var original = kendo.ui.Popup;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- close: function() {
- /// <signature>
- /// <summary>
- /// Closes the popup.
- /// </summary>
- /// </signature>
- },
- open: function() {
- /// <signature>
- /// <summary>
- /// Opens the popup.
- /// </summary>
- /// </signature>
- },
- position: function() {
- /// <signature>
- /// <summary>
- /// Re-positions the popup element
- /// </summary>
- /// </signature>
- },
- setOptions: function(options) {
- /// <signature>
- /// <summary>
- /// Changes the initial Popup configuration.
- /// </summary>
- /// <param name="options" type="Object" >The new configuration options.</param>
- /// </signature>
- },
- visible: function() {
- /// <signature>
- /// <summary>
- /// Checks whether the popup is visible
- /// </summary>
- /// <returns type="Boolean">True when the popup is visible</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.kendoPopup = function() {
- this.data("kendoPopup", new kendo.ui.Popup());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoPopup: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.Popup widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.Popup">The kendo.ui.Popup instance (if present).</returns>
- /// </signature>
- },
- kendoPopup: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.Popup widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// adjustSize - Object
- /// Configures the margins, which will be added to the popup size, if its position should end up being next to the viewport edges. By default, the adjustment amount in both dimensions is zero.The property takes effect only if collision is set to "fit" for the respective dimension (width or height).
- ///
- /// animation - Boolean
- /// Configures the opening and closing animations of the popup. Setting the animation option to false will disable the opening and closing animations. As a result the popup will open and close instantly. is not a valid configuration.
- ///
- /// animation - Object
- /// Configures the opening and closing animations of the popup. Setting the animation option to false will disable the opening and closing animations. As a result the popup will open and close instantly. is not a valid configuration.
- ///
- /// anchor - String|jQuery
- /// Specifies the element that will be used as an anchor. The widget will open next to that element.
- ///
- /// appendTo - String|jQuery (default: document.body)
- /// Which element the popup will be appended to. The element needs to be relatively positioned.
- ///
- /// collision - String (default: "fit flip")
- /// Configures how the popup should behave when it cannot be properly displayed and fully visible, if its origin and position settings are obeyed.Valid values are: "fit", "flip", "flip fit" and "fit flip". "Fit" allows the popup to be shifted (moved) until it is fully visible. "Flip" allows the popup to switch its position, according to its anchor. If two words are used, the first one applies to the horizontal dimension and the second one - to the vertical dimension. If one word is used, the setting is applied to both dimensions.
- ///
- /// origin - String (default: "bottom left")
- /// Specifies how to position the popup element based on anchor point. The value is space separated "y" plus "x" position.The available "y" positions are: - "bottom" - "center" - "top"The available "x" positions are: - "left" - "center" - "right"
- ///
- /// position - String (default: "top left")
- /// Specifies which point of the popup element to attach to the anchor's origin point. The value is space separated "y" plus "x" position.The available "y" positions are: - "bottom" - "center" - "top"The available "x" positions are: - "left" - "center" - "right"
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- ProgressBar: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.ProgressBar</summary>
- /// </signature>
- }
- });
- kendo.ui.ProgressBar = (function() {
- var original = kendo.ui.ProgressBar;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- enable: function(enable) {
- /// <signature>
- /// <summary>
- /// Enables/Disables the ProgressBar widget.
- /// </summary>
- /// <param name="enable" type="Boolean" >The argument, which defines whether to enable/disable the ProgressBar. If no argument is passed, the widget will be enabled.</param>
- /// </signature>
- },
- value: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the value of the ProgressBar. It accepts a number, a string or false as a parameter. Setting the value to false will set the state of the ProgressBar to indeterminate. If no parameter is passed, it returns the underlying value.
- /// </summary>
- /// <param name="value" type="Number" >The value to be set.</param>
- /// <returns type="Number">the value of the widget.</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.kendoProgressBar = function() {
- this.data("kendoProgressBar", new kendo.ui.ProgressBar());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoProgressBar: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.ProgressBar widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.ProgressBar">The kendo.ui.ProgressBar instance (if present).</returns>
- /// </signature>
- },
- kendoProgressBar: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.ProgressBar widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// animation - Boolean
- /// Configures the progress animation. Currently only the duration of the animation could be set.
- ///
- /// animation - Object
- /// Configures the progress animation. Currently only the duration of the animation could be set.
- ///
- /// chunkCount - Number (default: 5)
- /// Specifies the number of chunks.
- ///
- /// enable - Boolean (default: true)
- /// If set to false the widget will be disabled. It will still allow changing the value. The widget is enabled by default.
- ///
- /// max - Number (default: 100)
- /// The maximum value of the ProgressBar.
- ///
- /// min - Number (default: 0)
- /// The minimum value of the ProgressBar.
- ///
- /// orientation - String (default: "horizontal")
- /// The orientation of the ProgressBar. Possible values are horizontal and vertical.
- ///
- /// reverse - Boolean (default: false)
- /// Specifies if the progress direction will be reversed.
- ///
- /// showStatus - Boolean (default: true)
- /// Specifies if the progress status will be shown.
- ///
- /// type - String (default: "value")
- /// Specifies the type of the ProgressBar. The supported types are value, percent and chunk.
- ///
- /// value - Number
- /// The underlying value of the ProgressBar. It should be a number or false. Setting the value to false will set the state of the ProgressBar to indeterminate.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- Prompt: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.Prompt</summary>
- /// </signature>
- }
- });
- kendo.ui.Prompt = (function() {
- var original = kendo.ui.Prompt;
- 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.kendoPrompt = function() {
- this.data("kendoPrompt", new kendo.ui.Prompt());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoPrompt: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.Prompt widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.Prompt">The kendo.ui.Prompt instance (if present).</returns>
- /// </signature>
- },
- kendoPrompt: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.Prompt widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// messages - Object
- /// Defines the text of the labels that are shown within the prompt dialog. Used primarily for localization.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- RangeSlider: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.RangeSlider</summary>
- /// </signature>
- }
- });
- kendo.ui.RangeSlider = (function() {
- var original = kendo.ui.RangeSlider;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the RangeSlider for safe removal from the DOM.Detaches event handlers and removes data entries in order to avoid memory leaks.
- /// </summary>
- /// </signature>
- },
- enable: function(enable) {
- /// <signature>
- /// <summary>
- /// Enable/Disable the RangeSlider widget.
- /// </summary>
- /// <param name="enable" type="Boolean" >The argument, which defines whether to enable/disable the RangeSlider.</param>
- /// </signature>
- },
- value: function(startEndArray) {
- /// <signature>
- /// <summary>
- /// The value method gets or sets the values of the RangeSlider. It accepts an array as parameter, and returns an object array with the start and end selection values.
- /// </summary>
- /// <param name="startEndArray" type="Array" >Array of two numbers—start and end.</param>
- /// <returns type="Array">The value of the RangeSlider.</returns>
- /// </signature>
- },
- values: function(selectionStart,selectionEnd) {
- /// <signature>
- /// <summary>
- /// The values method gets or sets the start and end values of the RangeSlider. It accepts either an an array as parameter or two parameters—start and end, and returns an object array with the start and end selection values.
- /// </summary>
- /// <param name="selectionStart" type="Number" >The selection start value of the RangeSlider.</param>
- /// <param name="selectionEnd" type="Number" >The selection start value of the RangeSlider.</param>
- /// <returns type="Array">The value of the RangeSlider.</returns>
- /// </signature>
- },
- resize: function() {
- /// <signature>
- /// <summary>
- /// Adjusts the RangeSlider layout to match the size of the container.
- /// </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.kendoRangeSlider = function() {
- this.data("kendoRangeSlider", new kendo.ui.RangeSlider());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoRangeSlider: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.RangeSlider widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.RangeSlider">The kendo.ui.RangeSlider instance (if present).</returns>
- /// </signature>
- },
- kendoRangeSlider: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.RangeSlider widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// largeStep - Number (default: 5)
- /// The delta with which the value will change when the user presses the Page Up or Page Down key (the drag handle must be focused). Note: The allied largeStep will also set large tick for every large step.
- ///
- /// leftDragHandleTitle - String (default: "drag")
- /// The title of the left drag handle of the RangeSlider.
- ///
- /// max - Number (default: 10)
- /// The maximum value of the RangeSlider.
- ///
- /// min - Number (default: 0)
- /// The minimum value of the RangeSlider.
- ///
- /// orientation - String (default: "horizontal")
- /// The orientation of a RangeSlider - "horizontal" or "vertical".
- ///
- /// rightDragHandleTitle - String (default: "drag")
- /// The title of the right drag handle of the RangeSlider.
- ///
- /// selectionEnd - Number
- /// The selection end value of the RangeSlider.
- ///
- /// selectionStart - Number
- /// The selection start value of the RangeSlider.
- ///
- /// smallStep - Number (default: 1)
- /// The small step value of the RangeSlider. The underlying value will be changed when the end user (1) clicks on the increase or decrease buttons of the RangeSlider, (2) presses the arrow keys (the drag handle must be focused), or (3) drags the drag handle.
- ///
- /// tickPlacement - String (default: "both")
- /// Denotes the location of the tick marks in the RangeSlider. The available options are:
- ///
- /// tooltip - Object
- /// Configuration of the RangeSlider tooltip.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- ResponsivePanel: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.ResponsivePanel</summary>
- /// </signature>
- }
- });
- kendo.ui.ResponsivePanel = (function() {
- var original = kendo.ui.ResponsivePanel;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- close: function() {
- /// <signature>
- /// <summary>
- /// Closes the responsive panel.
- /// </summary>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the widget for safe removal from DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls the destroy method of any child Kendo widgets.
- /// </summary>
- /// </signature>
- },
- open: function() {
- /// <signature>
- /// <summary>
- /// Opens the responsive panel.
- /// </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.kendoResponsivePanel = function() {
- this.data("kendoResponsivePanel", new kendo.ui.ResponsivePanel());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoResponsivePanel: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.ResponsivePanel widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.ResponsivePanel">The kendo.ui.ResponsivePanel instance (if present).</returns>
- /// </signature>
- },
- kendoResponsivePanel: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.ResponsivePanel widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// autoClose - Boolean (default: true)
- /// If set to false the widget will not close when the page content is touched, after it was opened on a mobile device. You will need to call the close method when the panel needs to close.
- ///
- /// breakpoint - Number (default: 640)
- /// Specifies the page width at which the widget will be hidden and its toggle button will become visible.
- ///
- /// orientation - String (default: "left")
- /// Specifies the direction from which the hidden element will open up, once the toggle button has been activated. Valid values are "left", "right", and "top".
- ///
- /// toggleButton - String (default: ".k-rpanel-toggle")
- /// Specifies the selector for the toggle button that will show and hide the responsive panel.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- RippleContainer: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.RippleContainer</summary>
- /// </signature>
- }
- });
- kendo.ui.RippleContainer = (function() {
- var original = kendo.ui.RippleContainer;
- 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.kendoRippleContainer = function() {
- this.data("kendoRippleContainer", new kendo.ui.RippleContainer());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoRippleContainer: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.RippleContainer widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.RippleContainer">The kendo.ui.RippleContainer instance (if present).</returns>
- /// </signature>
- },
- kendoRippleContainer: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.RippleContainer widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// elements - Array
- /// A JavaScript array that contains the RippleContainer's elements configuration. When configured, the ripple effect will show only on the specified elements. By default the ripple effect will show on all of the supported elements (buttons, checkboxes, radio buttons and list elements).
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- Scheduler: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.Scheduler</summary>
- /// </signature>
- }
- });
- kendo.ui.Scheduler = (function() {
- var original = kendo.ui.Scheduler;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- addEvent: function(data) {
- /// <signature>
- /// <summary>
- /// Adds a new scheduler event and opens the edit form.
- /// </summary>
- /// <param name="data" type="Object" >The object containing the scheduler event fields.</param>
- /// </signature>
- },
- cancelEvent: function() {
- /// <signature>
- /// <summary>
- /// Cancels the scheduler event editing. Closes the edit form.
- /// </summary>
- /// </signature>
- },
- data: function() {
- /// <signature>
- /// <summary>
- /// Gets currently expanded scheduler events.
- /// </summary>
- /// </signature>
- },
- date: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the current scheduler date.
- /// </summary>
- /// <param name="value" type="Date" >The new date to set.</param>
- /// <returns type="Date">the current date.</returns>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the widget 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>
- },
- editEvent: function(event) {
- /// <signature>
- /// <summary>
- /// Opens the specified scheduler event in the edit form.
- /// </summary>
- /// <param name="event" type="Object" >The event which should be put in edit mode. Also accepts a string which is the uid of the event which should be edited.</param>
- /// </signature>
- },
- items: function() {
- /// <signature>
- /// <summary>
- /// Obtains an Array of the DOM elements, which correspond to the data items from the Kendo UI DataSource view.
- /// </summary>
- /// <returns type="Array">The currently rendered events (<div> elements).</returns>
- /// </signature>
- },
- occurrenceByUid: function(uid) {
- /// <signature>
- /// <summary>
- /// Gets the event occurrence with the specified uid.
- /// </summary>
- /// <param name="uid" type="String" >The uid of the occurrence to look for.</param>
- /// <returns type="kendo.data.SchedulerEvent">the occurrence instance. Returns undefined if an occurrence with the specified uid is not found.</returns>
- /// </signature>
- },
- occurrencesInRange: function(start,end) {
- /// <signature>
- /// <summary>
- /// Gets a list of event occurrences in specified time range.
- /// </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">a list of scheduler events filtered by the specified start/end period.</returns>
- /// </signature>
- },
- refresh: function() {
- /// <signature>
- /// <summary>
- /// Refreshes the Scheduler rendering using the current data items.
- /// </summary>
- /// </signature>
- },
- removeEvent: function(event) {
- /// <signature>
- /// <summary>
- /// Removes the specified scheduler event.
- /// </summary>
- /// <param name="event" type="Object" >The event which should be removed. Also accepts a string which is the uid of the event which should be removed.</param>
- /// </signature>
- },
- resourcesBySlot: function(slot) {
- /// <signature>
- /// <summary>
- /// Get the relevant resources for a given slot.
- /// </summary>
- /// <param name="slot" type="Object" ></param>
- /// <returns type="Object">The relevant resources.</returns>
- /// </signature>
- },
- saveAsPDF: function() {
- /// <signature>
- /// <summary>
- /// Initiates the PDF export and returns a promise. Also triggers the pdfExport event.
- /// </summary>
- /// <returns type="Promise">A promise that will be resolved when the export completes. The same promise is available in the pdfExport event arguments.</returns>
- /// </signature>
- },
- saveEvent: function() {
- /// <signature>
- /// <summary>
- /// Saves the scheduler event which is open in the edit form and closes it.
- /// </summary>
- /// </signature>
- },
- select: function(events,options) {
- /// <signature>
- /// <summary>
- /// Gets or sets the events (or slots) which are selected.
- /// </summary>
- /// <param name="events" type="Array" >The Uids of events which should be selected. List of the available events can be get using the data method.</param>
- /// <param name="options" type="" ></param>
- /// </signature>
- },
- setDataSource: function(dataSource) {
- /// <signature>
- /// <summary>
- /// Sets the data source of the widget.
- /// </summary>
- /// <param name="dataSource" type="kendo.data.SchedulerDataSource" >The data source to which the widget should be bound.</param>
- /// </signature>
- },
- slotByPosition: function(xPosition,yPosition) {
- /// <signature>
- /// <summary>
- /// Get the time slot from given horizontal (x) and vertical (y) position.
- /// </summary>
- /// <param name="xPosition" type="Number" >The horizontal position.</param>
- /// <param name="yPosition" type="Number" >The vertical position.</param>
- /// <returns type="Object">The time slot.</returns>
- /// </signature>
- },
- slotByElement: function(element) {
- /// <signature>
- /// <summary>
- /// Get the time slot from given element.
- /// </summary>
- /// <param name="element" type="Object" ></param>
- /// <returns type="Object">The time slot.</returns>
- /// </signature>
- },
- view: function(type) {
- /// <signature>
- /// <summary>
- /// Gets or sets the current Scheduler view.To get the current Scheduler view name, use the viewName method.
- /// </summary>
- /// <param name="type" type="String" >The view type to select.</param>
- /// <returns type="kendo.ui.SchedulerView">the current Scheduler view.</returns>
- /// </signature>
- },
- viewName: function() {
- /// <signature>
- /// <summary>
- /// The name of the current view. Can be used for refreshing the current view data.
- /// </summary>
- /// <returns type="String">the name of the current scheduler view.</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.kendoScheduler = function() {
- this.data("kendoScheduler", new kendo.ui.Scheduler());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoScheduler: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.Scheduler widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.Scheduler">The kendo.ui.Scheduler instance (if present).</returns>
- /// </signature>
- },
- kendoScheduler: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.Scheduler widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// allDayEventTemplate - String|Function
- /// The template used to render the "all day" scheduler events.The fields which can be used in the template are: description String - the event description; end Date - the event end date; isAllDay Boolean - if true the event is "all day"; resources Array - the event resources; start Date - the event start date or title String - the event title.
- ///
- /// allDaySlot - Boolean (default: true)
- /// If set to true the scheduler will display a slot for "all day" events.
- ///
- /// autoBind - Boolean (default: true)
- /// If set to false the widget will not bind to the data source 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 data source specified in the configuration.
- ///
- /// currentTimeMarker - Boolean (default: true)
- /// If set to false the "current time" marker of the scheduler would not be displayed.
- ///
- /// currentTimeMarker - Object (default: true)
- /// If set to false the "current time" marker of the scheduler would not be displayed.
- ///
- /// dataSource - Object|Array|kendo.data.SchedulerDataSource
- /// The data source of the widget which contains the scheduler events. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing kendo.data.SchedulerDataSource instance.If the dataSource option is set to a JavaScript object or array the widget will initialize a new kendo.data.SchedulerDataSource instance using that value as data source configuration.If the dataSource option is an existing kendo.data.SchedulerDataSource instance the widget will use that instance and will not initialize a new one.
- ///
- /// date - Date
- /// The current date of the scheduler. Used to determine the period which is displayed by the widget.
- ///
- /// dateHeaderTemplate - String|Function
- /// The template used to render the date header cells.By default the scheduler renders the date using a custom date format - "ddd M/dd". The "ddd" specifier represents the abbreviated name of the week day and will be localized using the current Kendo UI culture. If the developer wants to control the day and month order, then one needs to define a custom template.The fields which can be used in the template are: date - represents the major tick date..
- ///
- /// editable - Boolean (default: true)
- /// If set to true the user would be able to create new scheduler events and modify or delete existing ones.
- ///
- /// editable - Object (default: true)
- /// If set to true the user would be able to create new scheduler events and modify or delete existing ones.
- ///
- /// endTime - Date
- /// The end time of the week and day views. The scheduler will display events ending before the endTime.
- ///
- /// eventTemplate - String|Function
- /// The template used to render the scheduler events.The fields which can be used in the template are: description String - the event description; end Date - the event end date; resources Array - the event resources; start Date - the event start date or title String - the event title.
- ///
- /// footer - Boolean
- /// If set to false the footer of the scheduler would not be displayed.
- ///
- /// footer - Object
- /// If set to false the footer of the scheduler would not be displayed.
- ///
- /// group - Object
- /// The configuration of the scheduler resource(s) grouping.
- ///
- /// groupHeaderTemplate - String|Function
- /// The template used to render the group headers of scheduler day, week, workWeek and timeline views.The fields which can be used in the template are: text String - the group text; color String - the group color; value - the group value; field String - the field of the scheduler event which contains the resource id; title String - the 'title' option of the resource or name String - the 'name' option of the resource.
- ///
- /// height - Number|String
- /// The height of the widget. Numeric values are treated as pixels.
- ///
- /// majorTick - Number (default: 60)
- /// The number of minutes represented by a major tick.
- ///
- /// majorTimeHeaderTemplate - String|Function
- /// The template used to render the major ticks.By default the scheduler renders the time using the current culture time format.The fields which can be used in the template are: date - represents the major tick date..
- ///
- /// max - Date (default: 31/12/2099)
- /// Constraints the maximum date which can be selected via the scheduler navigation.
- ///
- /// messages - Object
- /// The configuration of the scheduler messages. Use this option to customize or localize the scheduler messages.
- ///
- /// min - Date (default: 1/1/1900)
- /// Constraints the minimum date which can be selected via the scheduler navigation.
- ///
- /// minorTickCount - Number (default: 2)
- /// The number of time slots to display per major tick.
- ///
- /// minorTimeHeaderTemplate - String|Function
- /// The template used to render the minor ticks.By default the scheduler renders a " ".The fields which can be used in the template are: date - represents the major tick date..
- ///
- /// mobile - Boolean|String (default: false)
- /// If set to true and the scheduler is viewed on mobile browser it will use adaptive rendering.Can be set to a string phone or tablet which will force the widget to use adaptive rendering regardless of browser type.
- ///
- /// pdf - Object
- /// Configures the Kendo UI Scheduler PDF export settings.
- ///
- /// resources - Array
- /// The configuration of the scheduler resource(s). A scheduler resource is optional metadata that can be associated with a scheduler event.
- ///
- /// selectable - Boolean (default: false)
- /// If set to true the user would be able to select scheduler cells and events. By default selection is disabled.
- ///
- /// showWorkHours - Boolean (default: false)
- /// If set to true the view will be initially shown in business hours mode. By default view is displayed in full day mode.
- ///
- /// snap - Boolean (default: true)
- /// If set to true the scheduler will snap events to the nearest slot during dragging (resizing or moving). Set it to false to allow free moving and resizing of events.
- ///
- /// startTime - Date
- /// The start time of the week and day views. The scheduler will display events starting after the startTime.
- ///
- /// timezone - String
- /// The timezone which the scheduler will use to display the scheduler appointment dates. By default the current system timezone is used. This is an acceptable default when the scheduler widget is bound to local array of events. It is advisable to specify a timezone if the scheduler is bound to a remote service. That way all users would see the same dates and times no matter their configured system timezone.The complete list of the supported timezones is available in the List of IANA time zones Wikipedia page.
- ///
- /// toolbar - Array
- /// List of commands that the scheduler will display in its toolbar as buttons. Currently supports only the "pdf" command.The "pdf" command exports the scheduler in PDF format.
- ///
- /// views - Array
- /// The views displayed by the scheduler and their configuration. The array items can be either objects specifying the view configuration or strings representing the view types (assuming default configuration). By default the Kendo UI Scheduler widget displays "day" and "week" view.
- ///
- /// width - Number|String
- /// The width of the widget. Numeric values are treated as pixels.
- ///
- /// workDayStart - Date
- /// Sets the start of the work day when the "Show business hours" button is clicked.
- ///
- /// workDayEnd - Date
- /// Sets the end of the work day when the "Show business hours" button is clicked.
- ///
- /// workWeekStart - Number (default: 1)
- /// The start of working week (index based).
- ///
- /// workWeekEnd - Number (default: 5)
- /// The end of working week (index based).
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- ScrollView: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.ScrollView</summary>
- /// </signature>
- }
- });
- kendo.ui.ScrollView = (function() {
- var original = kendo.ui.ScrollView;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- content: function(content) {
- /// <signature>
- /// <summary>
- /// Updates the HTML content of the scrollView.
- /// </summary>
- /// <param name="content" type="Object" >The new ScrollView content.</param>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the ScrollView for safe removal from the DOM. Detaches all event handlers and removes the jQuery.data attributes to avoid memory leaks. Calls the destroy method of any child Kendo UI widgets.
- /// </summary>
- /// </signature>
- },
- next: function() {
- /// <signature>
- /// <summary>
- /// Switches to the next page with an animation.
- /// </summary>
- /// </signature>
- },
- prev: function() {
- /// <signature>
- /// <summary>
- /// Switches to the previous page with an animation.
- /// </summary>
- /// </signature>
- },
- refresh: function() {
- /// <signature>
- /// <summary>
- /// Redraws the ScrollView pager.
- /// </summary>
- /// </signature>
- },
- scrollTo: function(page,instant) {
- /// <signature>
- /// <summary>
- /// Scrolls to the specified page. Page indices are zero-based.
- /// </summary>
- /// <param name="page" type="Number" >The page to which will be scrolled.</param>
- /// <param name="instant" type="Boolean" >If set to true, the ScrollView will instantly jump to the specified 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>
- },
- 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.kendoScrollView = function() {
- this.data("kendoScrollView", new kendo.ui.ScrollView());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoScrollView: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.ScrollView widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.ScrollView">The kendo.ui.ScrollView instance (if present).</returns>
- /// </signature>
- },
- kendoScrollView: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.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.
- ///
- /// bounceVelocityThreshold - Number (default: 1.6)
- /// The intensity of the swipe after which the swipe will result in a bounce effect when the user scrolls to the next page. Higher values require more accelerative swipe to notice the bounce effect when a page is changed.
- ///
- /// contentHeight - Number|String (default: "auto")
- /// The height of the ScrollView content.The supported string values are: 100% - Used if the ScrollView container element does not have a set height. In this case, each page will be stretched to fill the height of the container. or auto.
- ///
- /// dataSource - kendo.data.DataSource|Object
- /// An instance of a DataSource to which the ScrollView will be bound.
- ///
- /// duration - Number (default: 400)
- /// The duration (in milliseconds) for the ScrollView to snap to the current page after the user releases it.
- ///
- /// emptyTemplate - String (default: "")
- /// The template for rendering the pages without content. By default, the ScrollView renders a blank page.
- ///
- /// enablePager - Boolean (default: true)
- /// If set to true, the ScrollView will display a pager. By default, the pager is enabled.
- ///
- /// page - Number (default: 0)
- /// The initial page that will be displayed.
- ///
- /// template - String (default: "#:data#")
- /// The template for rendering the content of the pages. By default, the ScrollView renders a div element for every page.
- ///
- /// velocityThreshold - Number (default: 0.8)
- /// The length of the horizontal swipe after which a swipe will navigate to the next page - as opposed to snapping back to the current page. Higher values require long area swipes to navigate to the next page.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- Slider: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.Slider</summary>
- /// </signature>
- }
- });
- kendo.ui.Slider = (function() {
- var original = kendo.ui.Slider;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the Slider for safe removal from the DOM.Detaches event handlers and removes data entries in order to avoid memory leaks.
- /// </summary>
- /// </signature>
- },
- enable: function(enable) {
- /// <signature>
- /// <summary>
- /// Enable/Disable the Slider widget.
- /// </summary>
- /// <param name="enable" type="Boolean" >The argument, which defines whether to enable/disable the Slider.</param>
- /// </signature>
- },
- max: function(value) {
- /// <signature>
- /// <summary>
- /// Gets/Sets the max value of the Slider.
- /// </summary>
- /// <param name="value" type="Object" >The max value to set.</param>
- /// <returns type="Number">The max value of the Slider.</returns>
- /// </signature>
- },
- min: function(value) {
- /// <signature>
- /// <summary>
- /// Gets/Sets the min value of the Slider.
- /// </summary>
- /// <param name="value" type="Object" >The min value to set.</param>
- /// <returns type="Number">The min value of the Slider.</returns>
- /// </signature>
- },
- setOptions: function(options) {
- /// <signature>
- /// <summary>
- /// Changes the initial Slider configuration.
- /// </summary>
- /// <param name="options" type="Object" >The new configuration options. It can be used for changing "min", "max", "smallStep" and "largeStep" options of the Slider.</param>
- /// </signature>
- },
- value: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the value of a Slider. It accepts a string or number as parameters and returns a number representing the underlying value.
- /// </summary>
- /// <param name="value" type="Number" >_optional, default: _The value to be set for a Slider.</param>
- /// <returns type="Number">The value of the Slider.</returns>
- /// </signature>
- },
- resize: function() {
- /// <signature>
- /// <summary>
- /// Adjusts the Slider layout to match the size of the container.
- /// </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.kendoSlider = function() {
- this.data("kendoSlider", new kendo.ui.Slider());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoSlider: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.Slider widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.Slider">The kendo.ui.Slider instance (if present).</returns>
- /// </signature>
- },
- kendoSlider: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.Slider widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// decreaseButtonTitle - String (default: "Decrease")
- /// The title of the decrease button of the Slider.
- ///
- /// dragHandleTitle - String (default: "drag")
- /// The title of the drag handle of the Slider.
- ///
- /// increaseButtonTitle - String (default: "Increase")
- /// The title of the increase button of the Slider.
- ///
- /// largeStep - Number (default: 5)
- /// The delta with which the value will change when the user presses the Page Up or Page Down key (the drag handle must be focused). Note: largeStep will also set a large tick for every large step.Must be a positive number, larger than smallStep.
- ///
- /// max - Number (default: 10)
- /// The maximum value of the Slider.
- ///
- /// min - Number (default: 0)
- /// The minimum value of the Slider.
- ///
- /// orientation - String (default: "horizontal")
- /// The orientation of a Slider: "horizontal" or "vertical".
- ///
- /// showButtons - Boolean (default: true)
- /// Can be used to show (true) or hide (false) the increase and decrease buttons of a Slider.
- ///
- /// smallStep - Number (default: 1)
- /// The small step value of the Slider. Must be a positive number, otherwise an Javascript exception will be thrown.The small step value determines the amount of Slider value change when the end user clicks on the increase or decrease buttons of the Slider;; presses the arrow keys (the drag handle must be focused); or drags the drag handle..
- ///
- /// tickPlacement - String (default: "both")
- /// Denotes the location of the tick marks in the Slider. The available options are: topLeft - Tick marks are located on the top of the horizontal widget or on the left of the vertical widget.; bottomRight - Tick marks are located on the bottom of the horizontal widget or on the right side of the vertical widget.; both - Tick marks are located on both sides of the widget. or none - Tick marks are not visible..
- ///
- /// tooltip - Object
- /// Configuration of the Slider tooltip.
- ///
- /// value - Number
- /// The underlying value of the Slider.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- Sortable: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.Sortable</summary>
- /// </signature>
- }
- });
- kendo.ui.Sortable = (function() {
- var original = kendo.ui.Sortable;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- indexOf: function(element) {
- /// <signature>
- /// <summary>
- /// Returns the index of specified item. Filtered items are excluded from the collection.
- /// </summary>
- /// <param name="element" type="jQuery" >jQuery object which represents the sortable element.</param>
- /// <returns type="Number">the index of specified item.</returns>
- /// </signature>
- },
- items: function() {
- /// <signature>
- /// <summary>
- /// Returns the sortable elements. Filtered items and the placeholder are excluded from the collection.
- /// </summary>
- /// <returns type="jQuery">the sortable items</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.kendoSortable = function() {
- this.data("kendoSortable", new kendo.ui.Sortable());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoSortable: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.Sortable widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.Sortable">The kendo.ui.Sortable instance (if present).</returns>
- /// </signature>
- },
- kendoSortable: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.Sortable widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// axis - String (default: null)
- /// Constrains the hint movement to either the horizontal (x) or vertical (y) axis. Can be set to either "x" or "y".
- ///
- /// autoScroll - Boolean (default: false)
- /// If set to true the widget will auto-scroll the container when the mouse/finger is close to the top/bottom of it.
- ///
- /// container - String|jQuery (default: null)
- /// Selector that determines the container to which boundaries the hint movement will be constrained.
- ///
- /// connectWith - String (default: null)
- /// Selector which determines if items from the current Sortable widget can be accepted from another Sortable container(s). The connectWith option describes one way relationship, if the developer wants a two way connection then the connectWith option should be set on both widgets.
- ///
- /// cursor - String (default: "auto")
- /// The cursor that will be shown while user drags sortable item.
- ///
- /// cursorOffset - Object (default: null)
- /// If set, specifies the offset of the hint relative to the mouse cursor/finger. By default, the hint is initially positioned on top of the draggable source offset. The option accepts an object with two keys: top and left.
- ///
- /// disabled - String (default: null)
- /// Selector that determines which items are disabled. Disabled items cannot be dragged but are valid sort targets.
- ///
- /// filter - String (default: null)
- /// Selector that determines which items are sortable. Filtered items cannot be dragged and are not valid sort targets.
- ///
- /// handler - String (default: null)
- /// Selector that determines which element will be used as a draggable handler. If a handler is defined, the user will be able to move the Sortable items only if the cursor/finger is positioned onto the handler element.
- ///
- /// hint - Function|String|jQuery
- /// Provides a way for customization of the sortable item hint. If a function is supplied, it receives one argument - the draggable element's jQuery object. If hint function is not provided the widget will clone dragged item and use it as a hint.
- ///
- /// holdToDrag - Boolean (default: false)
- /// Suitable for touch oriented user interface, in order to avoid collision with the touch scrolling gesture. When set to true, the item will be activated after the user taps and holds the finger on the element for a short amount of time. The item will also be activated by pressing, holding and lifting the finger without any movement. Dragging it afterwards will initiate the drag immediately.
- ///
- /// ignore - String (default: null)
- /// Selector that determines which elements inside the sorted item's container will be ignored. Useful if the sortable item contains input elements.
- ///
- /// placeholder - Function|String|jQuery
- /// Provides a way for customization of the sortable item placeholder. If a function is supplied, it receives one argument - the draggable element's jQuery object. If placeholder function is not provided the widget will clone dragged item, remove its ID attribute, set its visibility to hidden and use it as a placeholder.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- Splitter: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.Splitter</summary>
- /// </signature>
- }
- });
- kendo.ui.Splitter = (function() {
- var original = kendo.ui.Splitter;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- ajaxRequest: function(pane,url,data) {
- /// <signature>
- /// <summary>
- /// Loads the content of a pane from a local or remote URL.
- /// </summary>
- /// <param name="pane" type="Object" >The targeted pane whose content is to be loaded via a URL.</param>
- /// <param name="url" type="String" >A local or remote URL from which the content of the pane is to be loaded.</param>
- /// <param name="data" type="Object" >Any data that is necessary to be sent to the server.</param>
- /// </signature>
- },
- append: function(config) {
- /// <signature>
- /// <summary>
- /// Appends a new pane. The method returns the pane element, so it can be populated with arbitrary content, if contentUrl is not set. Invoking this method will force the widget to redraw and it will trigger the resize event.
- /// </summary>
- /// <param name="config" type="Object" >The new pane configuration</param>
- /// <returns type="jQuery">the pane element.</returns>
- /// </signature>
- },
- collapse: function(pane) {
- /// <signature>
- /// <summary>
- /// Collapses a specified pane. Invoking this method will force the widget to redraw and it will trigger the resize event. Note: Invoking the method will not trigger a collapse event.
- /// </summary>
- /// <param name="pane" type="Object" >The pane to be collapsed.</param>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the widget 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(pane) {
- /// <signature>
- /// <summary>
- /// Expands a specified pane. Invoking this method will force the widget to redraw and it will trigger the resize event. Note: Invoking the method will not trigger an expand event.
- /// </summary>
- /// <param name="pane" type="Object" >The pane to be expanded.</param>
- /// </signature>
- },
- insertAfter: function(config,referencePane) {
- /// <signature>
- /// <summary>
- /// Inserts a new pane after the specified one. The method returns the pane element, so it can be populated with arbitrary content, if contentUrl is not set. Invoking this method will force the widget to redraw and it will trigger the resize event.
- /// </summary>
- /// <param name="config" type="Object" >The new pane configuration.</param>
- /// <param name="referencePane" type="Object" >The existing pane after which the new one will be inserted.</param>
- /// <returns type="jQuery">the pane element.</returns>
- /// </signature>
- },
- insertBefore: function(config,referencePane) {
- /// <signature>
- /// <summary>
- /// Inserts a new pane before the specified one. The method returns the pane element, so it can be populated with arbitrary content, if contentUrl is not set. Invoking this method will force the widget to redraw and it will trigger the resize event.
- /// </summary>
- /// <param name="config" type="Object" >The new pane configuration.</param>
- /// <param name="referencePane" type="Object" >The existing pane before which the new one will be inserted.</param>
- /// <returns type="jQuery">the pane element.</returns>
- /// </signature>
- },
- max: function(pane,value) {
- /// <signature>
- /// <summary>
- /// Sets the maximum size of a pane. Setting this value will not cause the widget to redraw, nor will it trigger any events.
- /// </summary>
- /// <param name="pane" type="Object" >The pane being targeted for a new minimum size configuration value.</param>
- /// <param name="value" type="String" >The maximum size value of the pane defined as pixels (i.e. "200px") or as a percentage (i.e. "50%").</param>
- /// </signature>
- },
- min: function(pane,value) {
- /// <signature>
- /// <summary>
- /// Sets the minimum size of a pane. Setting this value will not cause the widget to redraw, nor will it trigger any events.
- /// </summary>
- /// <param name="pane" type="Object" >The pane being targeted for a new minimum size configuration value.</param>
- /// <param name="value" type="String" >The minimum size value of the pane defined as pixels (i.e. "200px") or as a percentage (i.e. "50%").</param>
- /// </signature>
- },
- remove: function(pane) {
- /// <signature>
- /// <summary>
- /// Removes one or more panes. The method returns the Splitter instance. Invoking this method will force the widget to redraw and it will trigger the resize event.
- /// </summary>
- /// <param name="pane" type="Object" >The pane(s) to be removed.</param>
- /// </signature>
- },
- size: function(pane,value) {
- /// <signature>
- /// <summary>
- /// Get or set the size of the pane. Setting this value will cause the widget to redraw and it will trigger the resize event.
- /// </summary>
- /// <param name="pane" type="Object" >The pane to be resized.</param>
- /// <param name="value" type="String" >The new size of the pane defined as pixels (i.e. "200px") or as a percentage (i.e. "50%"). Note: This value must not exceed panes.max or be less then panes.min.</param>
- /// <returns type="Object">the pane size.</returns>
- /// </signature>
- },
- toggle: function(pane,expand) {
- /// <signature>
- /// <summary>
- /// Toggles the state of a specified pane (i.e. collapsed or expanded). Invoking this method will force the widget to redraw and it will trigger the resize event. Note: Invoking the method will not trigger collapse or expand events.
- /// </summary>
- /// <param name="pane" type="Object" >The pane to be collapsed.</param>
- /// <param name="expand" type="Boolean" >Represents the desired state of the specified pane; to be expanded (true) or collapsed (false). If undefined, toggle() will collapse the pane if it is expanded or will expand the pane if it is collapsed.</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.kendoSplitter = function() {
- this.data("kendoSplitter", new kendo.ui.Splitter());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoSplitter: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.Splitter widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.Splitter">The kendo.ui.Splitter instance (if present).</returns>
- /// </signature>
- },
- kendoSplitter: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.Splitter widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// orientation - String (default: "horizontal")
- /// Specifies the orientation of the widget. Supported values are "horizontal" and "vertical".
- ///
- /// panes - Array
- /// An array of pane definitions.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- Spreadsheet: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.Spreadsheet</summary>
- /// </signature>
- }
- });
- kendo.ui.Spreadsheet = (function() {
- var original = kendo.ui.Spreadsheet;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- activeSheet: function(sheet) {
- /// <signature>
- /// <summary>
- /// Gets or sets the active sheet.
- /// </summary>
- /// <param name="sheet" type="kendo.spreadsheet.Sheet" >The sheet to set as active.</param>
- /// <returns type="kendo.spreadsheet.Sheet">- The active sheet.</returns>
- /// </signature>
- },
- addImage: function(image) {
- /// <signature>
- /// <summary>
- /// Adds an image to this spreadsheet.
- /// </summary>
- /// <param name="image" type="Object" >The image to add. If it's a string it will be interpreted as an URL. It can be a data URL, or an external URL. Read more information about image URLs in the configuration section.</param>
- /// <returns type="String">- The new image ID.</returns>
- /// </signature>
- },
- cellContextMenu: function() {
- /// <signature>
- /// <summary>
- /// Gets the contextMenu instance of the cell.
- /// </summary>
- /// <returns type="kendo.ui.ContextMenu">- The menu instance.</returns>
- /// </signature>
- },
- cleanupImages: function() {
- /// <signature>
- /// <summary>
- /// Discards the images that are no longer in use. Note that you cannot remove a particular image directly by ID, for it might be used in multiple sheets, or they can be referenced by the undo/redo queue. This function acts like a "garbage collector" — it checks which images are no longer needed, and removes them.
- /// </summary>
- /// </signature>
- },
- rowHeaderContextMenu: function() {
- /// <signature>
- /// <summary>
- /// Gets the contextMenu instance of the row header.
- /// </summary>
- /// <returns type="kendo.ui.ContextMenu">- The menu instance.</returns>
- /// </signature>
- },
- colHeaderContextMenu: function() {
- /// <signature>
- /// <summary>
- /// Gets the contextMenu instance of the column header.
- /// </summary>
- /// <returns type="kendo.ui.ContextMenu">- The menu instance.</returns>
- /// </signature>
- },
- sheets: function() {
- /// <signature>
- /// <summary>
- /// Returns an array with the sheets in the workbook.
- /// </summary>
- /// <returns type="Array">- The available sheets.</returns>
- /// </signature>
- },
- fromFile: function(blob) {
- /// <signature>
- /// <summary>
- /// Clears the spreadsheet and populates it with data from the specified Excel (.xlsx) file.
- /// </summary>
- /// <param name="blob" type="Object" >The file or blob that is usually obtained through a file input.</param>
- /// <returns type="Promise">- A promise that will be resolved when the import operation completes.</returns>
- /// </signature>
- },
- saveAsExcel: function() {
- /// <signature>
- /// <summary>
- /// Initiates the Excel export. Also fires the excelExport event.
- /// </summary>
- /// </signature>
- },
- saveAsPDF: function(options) {
- /// <signature>
- /// <summary>
- /// Initiates the PDF export. Also fires the pdfExport event.
- /// </summary>
- /// <param name="options" type="Object" >An options object with the same structure as the pdf options.</param>
- /// <returns type="Promise">- A promise that will be resolved when the export completes. The same promise is available in the pdfExport event arguments.</returns>
- /// </signature>
- },
- sheetByName: function(name) {
- /// <signature>
- /// <summary>
- /// Returns a sheet that matches the specified name, if any.
- /// </summary>
- /// <param name="name" type="String" >The name of the sheet that will be located.</param>
- /// <returns type="kendo.spreadsheet.Sheet">- The sheet that matches the name.</returns>
- /// </signature>
- },
- sheetIndex: function(sheet) {
- /// <signature>
- /// <summary>
- /// Returns the index of the specified sheet.
- /// </summary>
- /// <param name="sheet" type="kendo.spreadsheet.Sheet" >The sheet whose index will be determined.</param>
- /// <returns type="Number">- The sheet index.</returns>
- /// </signature>
- },
- sheetByIndex: function(index) {
- /// <signature>
- /// <summary>
- /// Locates a sheet by its index in the workbook.
- /// </summary>
- /// <param name="index" type="Number" >The index of the sheet to locate.</param>
- /// <returns type="kendo.spreadsheet.Sheet">- The sheet that matches the index.</returns>
- /// </signature>
- },
- insertSheet: function(options) {
- /// <signature>
- /// <summary>
- /// Inserts a sheet with the specified options.
- /// </summary>
- /// <param name="options" type="" >The configuration options for the sheet.</param>
- /// <returns type="kendo.spreadsheet.Sheet">- The inserted sheet.</returns>
- /// </signature>
- },
- moveSheetToIndex: function(sheet,index) {
- /// <signature>
- /// <summary>
- /// Moves the sheet to the specified index.
- /// </summary>
- /// <param name="sheet" type="kendo.spreadsheet.Sheet" >The sheet instance that will be moved.</param>
- /// <param name="index" type="Number" >The new zero-based index of the sheet.</param>
- /// </signature>
- },
- refresh: function() {
- /// <signature>
- /// <summary>
- /// Re-renders all data in the Spreadsheet. In a DataSource binding scenario, uses the current data items to populate the widget.
- /// </summary>
- /// </signature>
- },
- removeSheet: function(sheet) {
- /// <signature>
- /// <summary>
- /// Removes the specified sheet.
- /// </summary>
- /// <param name="sheet" type="kendo.spreadsheet.Sheet" >The sheet instance that will be removed.</param>
- /// </signature>
- },
- renameSheet: function(sheet,newSheetName) {
- /// <signature>
- /// <summary>
- /// Renames the specified sheet.
- /// </summary>
- /// <param name="sheet" type="kendo.spreadsheet.Sheet" >The sheet instance that will be renamed.</param>
- /// <param name="newSheetName" type="String" >The new name of the sheet.</param>
- /// <returns type="kendo.spreadsheet.Sheet">- The renamed sheet.</returns>
- /// </signature>
- },
- saveJSON: function() {
- /// <signature>
- /// <summary>
- /// Serializes the workbook in the format that is defined in theconfiguration. This method does not return the JSON, but a Promise object which will yield the JSON data when it is available.This method is functionally similar to toJSON, but it is also able to save the embedded images (this is the reason why it must be asynchronous).
- /// </summary>
- /// <returns type="Promise">- A Promise object which will be resolved with the JSON data.</returns>
- /// </signature>
- },
- toJSON: function() {
- /// <signature>
- /// <summary>
- /// Serializes the workbook in the format that is defined in the configuration.Note that this method is unable to serialize embedded images. To properly save images you need to use saveJSON, which is asynchronous (returns a Promise).
- /// </summary>
- /// <returns type="Object">- The serialized workbook.</returns>
- /// </signature>
- },
- fromJSON: function(data) {
- /// <signature>
- /// <summary>
- /// Loads the workbook data from an object with the format that si defined in the configuration.
- /// </summary>
- /// <param name="data" type="Object" >The object from where data will be loaded. This has to be the deserialized object, not the JSON string.</param>
- /// </signature>
- },
- defineName: function(name,value,hidden) {
- /// <signature>
- /// <summary>
- /// Defines a custom name that will be available and used in formulas. If the function is not able to parse the name of the value, it will throw an error.
- /// </summary>
- /// <param name="name" type="String" >A new name that will be defined. The names are case-insensitive. You can provide a name that already exists. In such cases, the value is silently updated. To make the name available only in one sheet, qualify it in the way demonstrated in the next example.</param>
- /// <param name="value" type="String" >The value has to be a valid formula in the form of a string, that is, without a leading = sign. Generally, a name points to a reference. For a maximum compatibility, use references here that are fully qualified (include the name of the sheet to which they refer) and absolute (prefix both row and column with the $ sign).</param>
- /// <param name="hidden" type="Boolean" >To hide this name from the custom-name drop-down in the toolbar, pass true. Even if hidden is set to false, only reference names will be displayed in the drop-down.</param>
- /// </signature>
- },
- undefineName: function(name) {
- /// <signature>
- /// <summary>
- /// Deletes a name.
- /// </summary>
- /// <param name="name" type="String" >To delete a fully qualified name, prefix the name of the sheet. For example, spreadsheet.undefineName("Sheet1!Foo").</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.kendoSpreadsheet = function() {
- this.data("kendoSpreadsheet", new kendo.ui.Spreadsheet());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoSpreadsheet: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.Spreadsheet widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.Spreadsheet">The kendo.ui.Spreadsheet instance (if present).</returns>
- /// </signature>
- },
- kendoSpreadsheet: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.Spreadsheet widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// activeSheet - String
- /// The name of the currently active sheet. Must exactly match one of the (sheet names)[#configuration-sheets.name].
- ///
- /// columnWidth - Number (default: 64)
- /// The default column width in pixels.
- ///
- /// columns - Number (default: 50)
- /// The number of columns in the document.
- ///
- /// defaultCellStyle - Object
- /// The default cell styles that will be applied to the sheet cells.
- ///
- /// headerHeight - Number (default: 20)
- /// The height of the header row in pixels.
- ///
- /// headerWidth - Number (default: 32)
- /// The width of the header column in pixels.
- ///
- /// excel - Object
- /// Configures the Excel export settings of the Spreadsheet.
- ///
- /// images - Object (default: null)
- /// An object containing any images used in the Spreadsheet. The keys should be image ID-s (they are referenced by this ID in (sheets.drawings)[#configuration-sheets.drawings]) and the values should be image URLs.The image URLs can be eitherdata URLs, in which case the images are fully contained by the JSON, or can be external URLs.Note that when external URLs are used, they should reside on the same domain, or the server must be configured with the properCORS headers, for the Spreadsheet to be able to fetch binary image data using a XMLHttpRequest. If it cannot fetch the image, export to Excel or PDF might not work.
- ///
- /// pdf - Object
- /// Configures the PDF export settings of the Spreadsheet.
- ///
- /// rowHeight - Number (default: 20)
- /// The default row height in pixels.
- ///
- /// rows - Number (default: 200)
- /// The number of rows in the document.
- ///
- /// sheets - Array
- /// An array which defins the document sheets and their content.
- ///
- /// sheetsbar - Boolean (default: true)
- /// A Boolean value which indicates if the sheets-bar will be displayed.
- ///
- /// toolbar - Boolean (default: true)
- /// A Boolean value which indicates if the toolbar will be displayed.
- ///
- /// toolbar - Object (default: true)
- /// A Boolean value which indicates if the toolbar will be displayed.
- ///
- /// useCultureDecimals - Boolean (default: false)
- /// If set to true, the Spreadsheet formula parser will obey the decimal separator of the current culture. If set to false (default), the decimal separator in formulas will always be the dot.This flag has implications on how formulas are entered. When it is set to true, in cultures where the decimal separator is the comma (,), similar to Excel, the following additional changes upon entering a formula will occur: The semicolon will become a function argument separator. For example, =SUM(A1;A2) instead of =SUM(A1,A2). or The backslash will become an element separator in an array formula. For example, ={1\2;3\4} instead of ={1,2;3,4}.. This flag only affects the presentation - the way formulas are entered by the end user or displayed on screen. Serialization to JSON or XLSX as well as the public API functions will continue to use the dot as decimal separator and the comma as an argument separator (canonical form). For example, to apply a formula by using the API, even if useCultureDecimals is in effect, you still need to use the canonical form.To make the API functions obey useCultureDecimals, wrap your code in a call to sheet.withCultureDecimals. Assuming a culture where the comma is used for decimals, compare the previous example with the following one.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- Switch: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.Switch</summary>
- /// </signature>
- }
- });
- kendo.ui.Switch = (function() {
- var original = kendo.ui.Switch;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- check: function(check) {
- /// <signature>
- /// <summary>
- /// Gets or sets the checked state of the Switch.
- /// </summary>
- /// <param name="check" type="Boolean" >Checks or unchecks the Switch.</param>
- /// <returns type="Boolean">- The checked state of the Switch.</returns>
- /// </signature>
- },
- toggle: function() {
- /// <signature>
- /// <summary>
- /// Toggles the checked state of the Switch.
- /// </summary>
- /// </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 the destroy method of any child Kendo UI widgets.
- /// </summary>
- /// </signature>
- },
- enable: function(enable) {
- /// <signature>
- /// <summary>
- /// Changes the enabled state of the Switch.
- /// </summary>
- /// <param name="enable" type="Boolean" >Enables or disables the Switch.</param>
- /// </signature>
- },
- readonly: function(readonly) {
- /// <signature>
- /// <summary>
- /// Changes the read-only state of the Switch.
- /// </summary>
- /// <param name="readonly" type="Boolean" >Defines whether the Switch will render in its read-only state.</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.kendoSwitch = function() {
- this.data("kendoSwitch", new kendo.ui.Switch());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoSwitch: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.Switch widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.Switch">The kendo.ui.Switch instance (if present).</returns>
- /// </signature>
- },
- kendoSwitch: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.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 Switch.
- ///
- /// enabled - Boolean (default: true)
- /// If set to false, the Switch will be disabled and will not allow the user to change its checked state.
- ///
- /// readonly - Boolean (default: false)
- /// If set to true, the Switch will render into its read-only state.
- ///
- /// messages - Object
- /// Defines the text of the checked and unchecked labels that are displayed within the Switch. All labels support localization.
- ///
- /// width - Number|String (default: "6em")
- /// The width of the Switch.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- TabStrip: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.TabStrip</summary>
- /// </signature>
- }
- });
- kendo.ui.TabStrip = (function() {
- var original = kendo.ui.TabStrip;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- activateTab: function(item) {
- /// <signature>
- /// <summary>
- /// Activates a tab specified as a selector. Note: Invoking this method will not trigger any events.
- /// </summary>
- /// <param name="item" type="jQuery" >The target tab, specified as a selector, to be activated.</param>
- /// </signature>
- },
- append: function(tab) {
- /// <signature>
- /// <summary>
- /// Appends a tab to the collection of tabs in a TabStrip.
- /// </summary>
- /// <param name="tab" type="Object" >Target tab, specified as a JSON object. You can pass tab text, content or contentUrl here. Can handle an HTML string or array of such strings or JSON.</param>
- /// <returns type="kendo.ui.TabStrip">Returns the TabStrip object to support chaining.</returns>
- /// </signature>
- },
- contentElement: function(itemIndex) {
- /// <signature>
- /// <summary>
- /// Obtains the DOM element that encloses tab content by its tab index in the TabStrip.
- /// </summary>
- /// <param name="itemIndex" type="Number" >The index of the tab in the TabStrip.</param>
- /// <returns type="Element">The DOM element enclosing tab content by its tab index in the TabStrip.</returns>
- /// </signature>
- },
- contentHolder: function(itemIndex) {
- /// <signature>
- /// <summary>
- /// Obtains the DOM element that holds tab content by its tab index in the TabStrip. The difference between contentElement and contentHolder is that contentHolder returns the DOM element that really holds the content, which on mobile is the scroll container.
- /// </summary>
- /// <param name="itemIndex" type="Number" >The index of the tab in the TabStrip.</param>
- /// <returns type="Element">The DOM element holding tab content by its tab index in the TabStrip.</returns>
- /// </signature>
- },
- deactivateTab: function(item) {
- /// <signature>
- /// <summary>
- /// Deactivates a tab specified as a selector. Note: Invoking this method will not trigger any events.
- /// </summary>
- /// <param name="item" type="jQuery" >The target tab, specified as a selector, to be deactivated.</param>
- /// </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>
- },
- disable: function(element) {
- /// <signature>
- /// <summary>
- /// Disables a tab(s) of a TabStrip.
- /// </summary>
- /// <param name="element" type="Object" >The target tab(s), specified as a selector, to be disabled.</param>
- /// <returns type="kendo.ui.TabStrip">Returns the TabStrip object to support chaining.</returns>
- /// </signature>
- },
- enable: function(element,enable) {
- /// <signature>
- /// <summary>
- /// Disables (false) or enables (true) a tab(s) of a TabStrip.
- /// </summary>
- /// <param name="element" type="Object" >The target tab(s), specified as a selector, to be enabled (true) or disabled (false).</param>
- /// <param name="enable" type="Boolean" >Desired state of the tab(s) specified by the selector; enabled (true) or disabled (false).</param>
- /// <returns type="kendo.ui.TabStrip">Returns the TabStrip object to support chaining.</returns>
- /// </signature>
- },
- insertAfter: function(item,referenceTab) {
- /// <signature>
- /// <summary>
- /// Inserts a newly-created tab after a specified tab.
- /// </summary>
- /// <param name="item" type="Object" >Target tab(s), specified as a JSON object or array of objects. You can pass tab text, content or contentUrl here. Accepts also existing tab(s) specified as a string selector or jQuery object or DOM elements.</param>
- /// <param name="referenceTab" type="Object" >A reference tab to insert the new item after.</param>
- /// <returns type="kendo.ui.TabStrip">Returns the TabStrip object to support chaining.</returns>
- /// </signature>
- },
- insertBefore: function(item,referenceTab) {
- /// <signature>
- /// <summary>
- /// Inserts a newly-created tab before a specified tab.
- /// </summary>
- /// <param name="item" type="Object" >Target tab(s), specified as a JSON object or array of objects. You can pass tab text, content or contentUrl here. Accepts also existing tab(s) specified as a string selector or jQuery object or DOM elements.</param>
- /// <param name="referenceTab" type="Object" >A reference tab to insert the new item before</param>
- /// <returns type="kendo.ui.TabStrip">Returns the TabStrip object to support chaining.</returns>
- /// </signature>
- },
- items: function() {
- /// <signature>
- /// <summary>
- /// Gets the list of DOM elements that represent the tabs.
- /// </summary>
- /// <returns type="HTMLCollection">the tabs as an HTML collection of elements.</returns>
- /// </signature>
- },
- reload: function(element) {
- /// <signature>
- /// <summary>
- /// Reloads TabStrip tab(s) via AJAX.
- /// </summary>
- /// <param name="element" type="Object" >The target tab(s), specified as a selector or jQuery object, to be reloaded via AJAX.</param>
- /// <returns type="kendo.ui.TabStrip">Returns the TabStrip object to support chaining.</returns>
- /// </signature>
- },
- remove: function(element) {
- /// <signature>
- /// <summary>
- /// Removes a specified tab from a TabStrip.
- /// </summary>
- /// <param name="element" type="Object" >The target tab(s) to be removed, specified as a string selector, a jQuery object, or a zero-based item index.</param>
- /// <returns type="kendo.ui.TabStrip">Returns the TabStrip object to support chaining.</returns>
- /// </signature>
- },
- select: function(element) {
- /// <signature>
- /// <summary>
- /// Get/set the selected tab. If called without arguments, it returns the currently selected tab.
- /// </summary>
- /// <param name="element" type="Object" >The target tab(s), specified as a selector, jQuery object or index in the tab group.</param>
- /// <returns type="jQuery">the selected tab if called without arguments. kendo.ui.TabStrip if called with arguments.</returns>
- /// </signature>
- },
- setDataSource: function(dataSource) {
- /// <signature>
- /// <summary>
- /// Sets the dataSource of an existing tabstrip and rebinds it.
- /// </summary>
- /// <param name="dataSource" type="Object" ></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.kendoTabStrip = function() {
- this.data("kendoTabStrip", new kendo.ui.TabStrip());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoTabStrip: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.TabStrip widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.TabStrip">The kendo.ui.TabStrip instance (if present).</returns>
- /// </signature>
- },
- kendoTabStrip: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.TabStrip widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// animation - Boolean
- /// A collection of visual animations used when TabStrip tab are selected through user interactions. Setting this option to false will disable all animations. is not a valid configuration.
- ///
- /// animation - Object
- /// A collection of visual animations used when TabStrip tab are selected through user interactions. Setting this option to false will disable all animations. is not a valid configuration.
- ///
- /// collapsible - Boolean (default: false)
- /// Specifies whether the TabStrip should be able to collapse completely when clicking an expanded tab.
- ///
- /// contentUrls - Array
- /// Sets an array with the URLs from which the tabs content to be loaded from. If only specific tabs should be loaded via Ajax, then you should set the URLs to the corresponding positions in the array and set the other elements to null.
- ///
- /// dataContentField - String (default: "")
- /// Sets the field of the data item that provides the text content of the tab content element.
- ///
- /// dataContentUrlField - String (default: "")
- /// Sets the field of the data item that provides the URL for the Ajax loaded tab content.
- ///
- /// dataImageUrlField - String (default: "")
- /// Sets the field of the data item that provides the image URL of the tab.
- ///
- /// dataSource - Object|Array|kendo.data.DataSource
- /// The data source of the widget which is used to display the items. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing kendo.data.DataSource instance.If the dataSource option is set to a JavaScript object or array the widget will initialize a new kendo.data.DataSource instance using that value as data source configuration.If the dataSource option is an existing kendo.data.DataSource instance the widget will use that instance and will not initialize a new one.
- ///
- /// dataSpriteCssClass - String (default: "")
- /// Sets the field of the data item that provides the CSS class of the tab.
- ///
- /// dataTextField - String (default: "")
- /// Sets the field of the data item that provides the text name of the tab.
- ///
- /// dataUrlField - String (default: "")
- /// Sets the field of the data item that provides the link URL for the tab.
- ///
- /// navigatable - Boolean (default: true)
- /// Specifies whether the TabStrip should be keyboard navigatable.
- ///
- /// scrollable - Boolean (default: true)
- /// If enabled, the TabStrip will display buttons that will scroll the tabs horizontally, when they cannot fit the TabStrip width. By default scrolling is enabled.The feature requires "top" or "bottom" tabPosition.Unless disabled, scrollable must be set to a JavaScript object, which represents the scrolling configuration.See Scrollable Tabs for more information.
- ///
- /// scrollable - Object (default: true)
- /// If enabled, the TabStrip will display buttons that will scroll the tabs horizontally, when they cannot fit the TabStrip width. By default scrolling is enabled.The feature requires "top" or "bottom" tabPosition.Unless disabled, scrollable must be set to a JavaScript object, which represents the scrolling configuration.See Scrollable Tabs for more information.
- ///
- /// tabPosition - String (default: "top")
- /// Specifies the position of the widget tabs. Valid values are "top" (default), "left", "right" and "bottom". A fade animation is highly recommended with any of the non-default tab position settings.
- ///
- /// value - String (default: null)
- /// Specifies the selected tab. Should be corresponding to the dataTextField configuration and used when bound to a DataSource component.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- TimePicker: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.TimePicker</summary>
- /// </signature>
- }
- });
- kendo.ui.TimePicker = (function() {
- var original = kendo.ui.TimePicker;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- close: function() {
- /// <signature>
- /// <summary>
- /// Closes the drop-down list of a TimePicker.
- /// </summary>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the TimePicker 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 a TimePicker.
- /// </summary>
- /// <param name="enable" type="Boolean" >Enables (true or undefined) or disables (false) a TimePicker.</param>
- /// </signature>
- },
- readonly: function(readonly) {
- /// <signature>
- /// <summary>
- /// Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input.
- /// </summary>
- /// <param name="readonly" type="Boolean" >The argument, which defines whether the TimePicker should be readonly or editable.</param>
- /// </signature>
- },
- max: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the maximum value of the TimePicker.
- /// </summary>
- /// <param name="value" type="Object" >The maximum time value to set for a TimePicker, expressed as a Date object or as a string.</param>
- /// <returns type="Date">The maximum time value of a TimePicker.</returns>
- /// </signature>
- },
- min: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the minimum value of the TimePicker.
- /// </summary>
- /// <param name="value" type="Object" >The minimum time value to set for a TimePicker, expressed as a Date object or as a string.</param>
- /// <returns type="Date">The minimum time value of a TimePicker.</returns>
- /// </signature>
- },
- open: function() {
- /// <signature>
- /// <summary>
- /// Opens the drop-down list of a TimePicker.
- /// </summary>
- /// </signature>
- },
- setOptions: function(options) {
- /// <signature>
- /// <summary>
- /// Changes the initial TimePicker configuration. Will be included in Q3 2013 SP1. Currently available in Q3 2013 internal builds only.
- /// </summary>
- /// <param name="options" type="Object" >The new configuration options.</param>
- /// </signature>
- },
- value: function(value) {
- /// <signature>
- /// <summary>
- /// Gets or sets the value of the TimePicker.
- /// </summary>
- /// <param name="value" type="Object" >The time value to set for a TimePicker, expressed as a Date object or as a string.</param>
- /// <returns type="Date">The time value of a TimePicker.</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.kendoTimePicker = function() {
- this.data("kendoTimePicker", new kendo.ui.TimePicker());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoTimePicker: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.TimePicker widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.TimePicker">The kendo.ui.TimePicker instance (if present).</returns>
- /// </signature>
- },
- kendoTimePicker: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.TimePicker widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// animation - Boolean
- /// Configures the opening and closing animations of the popup. Setting the animation option to false will disable the opening and closing animations. As a result the popup will open and close instantly. is not a valid configuration.
- ///
- /// animation - Object
- /// Configures the opening and closing animations of the popup. Setting the animation option to false will disable the opening and closing animations. As a result the popup will open and close instantly. is not a valid configuration.
- ///
- /// culture - String (default: "en-US")
- /// Specifies the culture info used by the widget.
- ///
- /// dateInput - Boolean (default: false)
- /// Specifies if the TimePicker will use DateInput for editing value
- ///
- /// dates - Array
- /// Specifies a list of dates, which are shown in the time drop-down list. If not set, the TimePicker will auto-generate the available times.
- ///
- /// format - String (default: "h:mm tt")
- /// Specifies the format, which is used to format the value of the TimePicker displayed in the input. The format also will be used to parse the input.For more information on date and time formats please refer to Date Formatting.
- ///
- /// interval - Number (default: "30")
- /// Specifies the interval, between values in the popup list, in minutes.
- ///
- /// max - Date (default: "00:00")
- /// Specifies the end value in the popup list.
- ///
- /// min - Date (default: "00:00")
- /// Specifies the start value in the popup list.
- ///
- /// parseFormats - Array
- /// Specifies the formats, which are used to parse the value set with the value method or by direct input. If not set the value of the options.format will be used. Note that value of the format option is always used.
- ///
- /// value - Date (default: null)
- /// Specifies the selected time.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- ToolBar: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.ToolBar</summary>
- /// </signature>
- }
- });
- kendo.ui.ToolBar = (function() {
- var original = kendo.ui.ToolBar;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- add: function(command) {
- /// <signature>
- /// <summary>
- /// Adds new command to the ToolBar widget. Accepts object with valid command configuration options.
- /// </summary>
- /// <param name="command" type="Object" >An object with valid command configuration options.</param>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the widget 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(command,enable) {
- /// <signature>
- /// <summary>
- /// Enables or disables the specified command. If the second parameter is omitted it will be treated as true and the command will be enabled.
- /// </summary>
- /// <param name="command" type="Object" >A string, DOM element or jQuery object which represents the command to be enabled or disabled. A string is treated as jQuery selector.</param>
- /// <param name="enable" type="Boolean" >A boolean flag that determines whether the command should be enabled (true) or disabled (false). If omitted the command will be enabled.</param>
- /// </signature>
- },
- getSelectedFromGroup: function(groupName) {
- /// <signature>
- /// <summary>
- /// Returns the selected toggle button from the specified group.
- /// </summary>
- /// <param name="groupName" type="String" >The name of the group.</param>
- /// </signature>
- },
- hide: function(command) {
- /// <signature>
- /// <summary>
- /// Hides a command from the ToolBar widget. The command is hidden from the ToolBar container and overflow popup (if resizable is enabled).
- /// </summary>
- /// <param name="command" type="Object" >A string, DOM element or jQuery object which represents the command to be hidden. A string is treated as jQuery selector.</param>
- /// </signature>
- },
- remove: function(command) {
- /// <signature>
- /// <summary>
- /// Removes a command from the ToolBar widget. The command is removed from the ToolBar container and overflow popup (if resizable is enabled).
- /// </summary>
- /// <param name="command" type="Object" >A string, DOM element or jQuery object which represents the command to be removed. A string is treated as jQuery selector.</param>
- /// </signature>
- },
- show: function(command) {
- /// <signature>
- /// <summary>
- /// Shows a hidden command in the ToolBar widget. The command is shown in the ToolBar container and overflow popup (if resizable is enabled).
- /// </summary>
- /// <param name="command" type="Object" >A string, DOM element or jQuery object which represents the command to be shown. A string is treated as jQuery selector.</param>
- /// </signature>
- },
- toggle: function(command,state) {
- /// <signature>
- /// <summary>
- /// Change the state of a togglable button.
- /// </summary>
- /// <param name="command" type="Object" >A string, DOM element or jQuery object which represents the togglable button which state will be changed. A string is treated as jQuery selector.</param>
- /// <param name="state" type="Boolean" >A boolean flag that determines whether the button will be toggled or not.</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.kendoToolBar = function() {
- this.data("kendoToolBar", new kendo.ui.ToolBar());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoToolBar: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.ToolBar widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.ToolBar">The kendo.ui.ToolBar instance (if present).</returns>
- /// </signature>
- },
- kendoToolBar: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.ToolBar widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// resizable - Boolean (default: true)
- /// If resizable is set to true the widget will detect changes in the viewport width and hides the overflowing controls in the command overflow popup.
- ///
- /// items - Array
- /// A JavaScript array that contains the ToolBar's commands configuration.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- Tooltip: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.Tooltip</summary>
- /// </signature>
- }
- });
- kendo.ui.Tooltip = (function() {
- var original = kendo.ui.Tooltip;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- show: function(element) {
- /// <signature>
- /// <summary>
- /// Shows the Tooltip for a specific target.
- /// </summary>
- /// <param name="element" type="jQuery" >The target element for which the Tooltip will be shown.</param>
- /// </signature>
- },
- hide: function() {
- /// <signature>
- /// <summary>
- /// Hides the Tooltip.
- /// </summary>
- /// </signature>
- },
- refresh: function() {
- /// <signature>
- /// <summary>
- /// Refreshes the content of the Tooltip.
- /// </summary>
- /// </signature>
- },
- target: function() {
- /// <signature>
- /// <summary>
- /// Gets the current target of the Tooltip.
- /// </summary>
- /// <returns type="jQuery">- The target element or null.</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.kendoTooltip = function() {
- this.data("kendoTooltip", new kendo.ui.Tooltip());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoTooltip: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.Tooltip widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.Tooltip">The kendo.ui.Tooltip instance (if present).</returns>
- /// </signature>
- },
- kendoTooltip: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.Tooltip widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// autoHide - Boolean (default: true)
- /// Specifies if the Tooltip will be hidden when the mouse leaves the target element. If set to false, a Close button will be shown within Tooltip. If set to false, showAfter is specified, and showOn is set to mouseenter, the Tooltip will be displayed after the given timeout even if the element is no longer hovered.
- ///
- /// animation - Boolean
- /// A collection of {Animation} objects which are used to change the default animations. If set to false, all widget animations will be disabled. animation:true is not a valid configuration.
- ///
- /// animation - Object
- /// A collection of {Animation} objects which are used to change the default animations. If set to false, all widget animations will be disabled. animation:true is not a valid configuration.
- ///
- /// content - String|Function
- /// The text or the function whose result will be shown within the Tooltip. By default, the Tooltip will display the content of the title attribute of the target element. To retrieve the title attribute of the target from inside the content function, use target.data("title").
- ///
- /// content - Object
- /// The text or the function whose result will be shown within the Tooltip. By default, the Tooltip will display the content of the title attribute of the target element. To retrieve the title attribute of the target from inside the content function, use target.data("title").
- ///
- /// callout - Boolean (default: true)
- /// Specifies if the Tooltip callout will be displayed.
- ///
- /// filter - String
- /// Specifies a selector for the elements within the container which will display the Tooltip.
- ///
- /// iframe - Boolean
- /// Explicitly states whether a content iframe will be created.
- ///
- /// height - Number (default: Infinity)
- /// The height (in pixels) of the Tooltip.
- ///
- /// width - Number (default: Infinity)
- /// The width (in pixels) of the Tooltip.
- ///
- /// position - String (default: "bottom")
- /// The position that is relative to the target element at which the Tooltip will be shown.The supported values are: bottom; top; left; right or center.
- ///
- /// showAfter - Number (default: 100)
- /// Specifies the delay (in milliseconds) before the Tooltip shows. This option is ignored if showOn is set to click or focus.
- ///
- /// showOn - String (default: "mouseenter")
- /// The event on which the Tooltip will be shown.The supported values are: mouseenter; click or focus.
- ///
- /// hideAfter - Number (default: 100)
- /// Specifies the delay (in milliseconds) before the Tooltip is hidden.
- ///
- /// offset - Number (default: 0)
- /// Specifies the offset (in pixels) between the Tooltip and the anchor. If the callout property is set to true, the offset is rendered from the callout arrow. If the callout property is set to false, the offset is rendered from the content of the Tooltip.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- 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>
- }
- });
- intellisense.annotate(kendo.ui, {
- TreeList: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.TreeList</summary>
- /// </signature>
- }
- });
- kendo.ui.TreeList = (function() {
- var original = kendo.ui.TreeList;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- addRow: function(parentRow) {
- /// <signature>
- /// <summary>
- /// Adds an empty data item to the TreeList. In inline edit mode, appends a table row. In the popup edit mode, displays a popup window. Fires the edit event.
- /// </summary>
- /// <param name="parentRow" type="Object" >A string, DOM element, or a jQuery object which represents the parent table row. A string is treated as a jQuery selector.</param>
- /// </signature>
- },
- autoFitColumn: function(column) {
- /// <signature>
- /// <summary>
- /// Applies the minimum possible width for the specified column so that all the text fits without wrapping.
- /// </summary>
- /// <param name="column" type="Object" >The index of the column, the field to which the columns is bound, or the column object that is obtained from the columns collection.</param>
- /// </signature>
- },
- cancelChanges: function() {
- /// <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.
- /// </summary>
- /// </signature>
- },
- cancelRow: function() {
- /// <signature>
- /// <summary>
- /// Cancels editing for the table row which is in edit mode. Reverts any changes made.
- /// </summary>
- /// </signature>
- },
- clearSelection: function() {
- /// <signature>
- /// <summary>
- /// Depending on the current selection mode, clears the currently selected table rows or cells.
- /// </summary>
- /// </signature>
- },
- closeCell: function(isCancel) {
- /// <signature>
- /// <summary>
- /// Stops editing the table cell which is in edit mode. Requires the incell edit mode.
- /// </summary>
- /// <param name="isCancel" type="Boolean" >A flag which specifies whether to fire the cancel event. By default, the event is not fired.</param>
- /// </signature>
- },
- collapse: function(row) {
- /// <signature>
- /// <summary>
- /// This method collapses the row that is passed as a parameter.
- /// </summary>
- /// <param name="row" type="Object" >A string, a DOM element, or a jQuery object which represents the table row. A string is treated as a jQuery selector.</param>
- /// <returns type="Promise"></returns>
- /// </signature>
- },
- dataItem: function(row) {
- /// <signature>
- /// <summary>
- /// Returns the data item to which the specified table row is bound.
- /// </summary>
- /// <param name="row" type="Object" >A string, a DOM element, or a jQuery object which represents the table row. A string is treated as a jQuery selector.</param>
- /// <returns type="kendo.data.TreeListModel">- The data item to which the specified table row is bound.</returns>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the widget for safe removal from DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls the destroy method of any child Kendo UI widgets.
- /// </summary>
- /// </signature>
- },
- editCell: function(cell) {
- /// <signature>
- /// <summary>
- /// Switches the specified table cell in edit mode. Requires the incell edit mode. Fires the edit event.
- /// </summary>
- /// <param name="cell" type="jQuery" >The jQuery object which represents the table cell.</param>
- /// </signature>
- },
- editRow: function(row) {
- /// <signature>
- /// <summary>
- /// Switches the specified table row to edit mode. Fires the edit event.
- /// </summary>
- /// <param name="row" type="jQuery" >The jQuery object which represents the table row.</param>
- /// </signature>
- },
- expand: function(row) {
- /// <signature>
- /// <summary>
- /// Expands the row.
- /// </summary>
- /// <param name="row" type="Object" >A string, a DOM element, or a jQuery object which represents the table row. A string is treated as a jQuery selector.</param>
- /// <returns type="Promise"></returns>
- /// </signature>
- },
- itemFor: function(model) {
- /// <signature>
- /// <summary>
- /// (Available as of the 2015.3.930 release) Returns the rendered HTML element for a given model.
- /// </summary>
- /// <param name="model" type="Object" >A model from the DataSource, or the id of a model in the DataSource.</param>
- /// <returns type="jQuery">- The row that corresponds to the model.</returns>
- /// </signature>
- },
- items: function() {
- /// <signature>
- /// <summary>
- /// Obtains an array of the DOM elements which correspond to the data items from the view of the data source.
- /// </summary>
- /// <returns type="Array">- The currently rendered data table rows (<tr> elements).</returns>
- /// </signature>
- },
- refresh: function() {
- /// <signature>
- /// <summary>
- /// Renders all table rows by using the current data items.
- /// </summary>
- /// </signature>
- },
- removeRow: function(row) {
- /// <signature>
- /// <summary>
- /// Removes the specified table row from the TreeList. Also removes the corresponding data item from the data source. Fires the remove event.
- /// </summary>
- /// <param name="row" type="Object" >A string, a DOM element, or a jQuery object which represents the table row. A string is treated as a jQuery selector.</param>
- /// </signature>
- },
- saveAsExcel: function() {
- /// <signature>
- /// <summary>
- /// Initiates the Excel export. Also fires the excelExport event.
- /// </summary>
- /// </signature>
- },
- saveAsPDF: function() {
- /// <signature>
- /// <summary>
- /// Initiates the PDF export and returns a promise. Also triggers the pdfExport event.
- /// </summary>
- /// <returns type="Promise">- A promise that will be resolved when the export completes. The same promise is available in the pdfExport event arguments.</returns>
- /// </signature>
- },
- saveChanges: function() {
- /// <signature>
- /// <summary>
- /// Saves any pending changes by calling the sync method. Fires the saveChanges event.
- /// </summary>
- /// </signature>
- },
- saveRow: function() {
- /// <signature>
- /// <summary>
- /// Switches the table row which is in edit mode and saves any changes that are made by the user. Fires the edit event.
- /// </summary>
- /// </signature>
- },
- select: function(rows) {
- /// <signature>
- /// <summary>
- /// Gets or sets the table rows (or cells) which are selected.
- /// </summary>
- /// <param name="rows" type="Object" >A DOM element or a jQuery object which represents the table rows or cells.</param>
- /// <returns type="jQuery">- The selected table rows or cells.</returns>
- /// </signature>
- },
- setDataSource: function(dataSource) {
- /// <signature>
- /// <summary>
- /// Sets the data source of the widget.
- /// </summary>
- /// <param name="dataSource" type="kendo.data.TreeListDataSource" >The data source to which the widget will be bound.</param>
- /// </signature>
- },
- showColumn: function(column) {
- /// <signature>
- /// <summary>
- /// Shows the specified column.
- /// </summary>
- /// <param name="column" type="Object" >The index of the column, or the field to which the columns is bound.</param>
- /// </signature>
- },
- hideColumn: function(column) {
- /// <signature>
- /// <summary>
- /// Hides the specified column.
- /// </summary>
- /// <param name="column" type="Object" >The index of the column or the field to which the columns is bound.</param>
- /// </signature>
- },
- lockColumn: function(column) {
- /// <signature>
- /// <summary>
- /// Locks (freezes) a column and allows the user to see it at all times when scrolling.
- /// </summary>
- /// <param name="column" type="Object" >The index of the column or the field to which the columns is bound.</param>
- /// </signature>
- },
- unlockColumn: function(column) {
- /// <signature>
- /// <summary>
- /// Unlocks (unfreezes) a column.
- /// </summary>
- /// <param name="column" type="Object" >The index of the column or the field to which the columns is bound.</param>
- /// </signature>
- },
- reorderColumn: function(destIndex,column) {
- /// <signature>
- /// <summary>
- /// Changes the position of the specified column.
- /// </summary>
- /// <param name="destIndex" type="Number" >The new position of the column. The destination index has to be calculated with regard to all columns including the hidden ones.</param>
- /// <param name="column" type="Object" >The column whose position will be changed.</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.kendoTreeList = function() {
- this.data("kendoTreeList", new kendo.ui.TreeList());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoTreeList: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.TreeList widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.TreeList">The kendo.ui.TreeList instance (if present).</returns>
- /// </signature>
- },
- kendoTreeList: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.TreeList 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 TreeList will not bind to the specified DataSource during initialization. In this case, data binding will occur when the change event of the DataSource fires. By default, the TreeList will bind to the DataSource that is specified in the configuration.
- ///
- /// columns - Array
- /// The configuration of the TreeList columns whcih represents an array of JavaScript objects or strings. JavaScript objects are interpreted as column configurations. Strings are interpreted as thefield to which the column is bound. The TreeList will create a column for each item of the array.
- ///
- /// resizable - Boolean (default: false)
- /// If set to true, the user can resize columns by dragging their header borders. By default, resizing is disabled.
- ///
- /// reorderable - Boolean (default: false)
- /// If set to true, the user can reorder the columns by dragging their header cells. By default, reordering is disabled.
- ///
- /// columnMenu - Boolean (default: false)
- /// If set to true, the TreeList displays the column menu when the user clicks the Chevron icon in the column headers. The column menu allows the user to show and hide columns, and, if filtering and sorting are enabled, filter and sort the data. By default, the column menu is disabled. Can be set to a JavaScript object which represents the column menu configuration.
- ///
- /// columnMenu - Object (default: false)
- /// If set to true, the TreeList displays the column menu when the user clicks the Chevron icon in the column headers. The column menu allows the user to show and hide columns, and, if filtering and sorting are enabled, filter and sort the data. By default, the column menu is disabled. Can be set to a JavaScript object which represents the column menu configuration.
- ///
- /// dataSource - Object|Array|kendo.data.TreeListDataSource
- /// The data source of the widget which is used to render table rows. Can be a JavaScript object which represents a valid kendo.data.TreeListDataSource configuration, a JavaScript array, or an existing kendo.data.TreeListDataSource instance. If the dataSource option is set to a JavaScript object or an array, the widget will initialize a new kendo.data.DataSource instance and will use that value as the DataSource configuration. or If the dataSource option is an existing kendo.data.TreeListDataSource instance, the widget will use that instance and will not initialize a new one..
- ///
- /// editable - Boolean (default: false)
- /// If set to true, the user will be able to edit the data to which the TreeList is bound. By default, editing is disabled. can be set to a JavaScript object (which represents the editing configuration) or to a string (which specifies the edit mode).The supported string values are: (Default) inline; popup or incell.
- ///
- /// editable - Object (default: false)
- /// If set to true, the user will be able to edit the data to which the TreeList is bound. By default, editing is disabled. can be set to a JavaScript object (which represents the editing configuration) or to a string (which specifies the edit mode).The supported string values are: (Default) inline; popup or incell.
- ///
- /// excel - Object
- /// Configures the Excel export settings of the TreeList.
- ///
- /// filterable - Boolean (default: false)
- /// If set to true, the user can filter the data source by using the TreeList filter menu. By default, filtering is disabled. Can be set to a JavaScript object which represents the filter menu configuration.
- ///
- /// filterable - Object (default: false)
- /// If set to true, the user can filter the data source by using the TreeList filter menu. By default, filtering is disabled. Can be set to a JavaScript object which represents the filter menu configuration.
- ///
- /// height - Number|String
- /// The height of the TreeList. Numeric values are treated as pixels.
- ///
- /// messages - Object
- /// Defines the text of the command buttons that are shown within the TreeList. Used primarily for localization.
- ///
- /// navigatable - Boolean (default: false)
- /// If set to true, the user can navigate the widget with the keyboard. By default, keyboard navigation is disabled. For a runnable example, refer to the demo on keyboard navigation in the TreeList.
- ///
- /// pageable - Boolean (default: false)
- /// If set to true, the TreeList displays a pager. By default, paging is disabled. Only client-side paging is supported which means that all data items are expected to be available when the TreeList is initialized. Can be set to a JavaScript object which represents the pager configuration.
- ///
- /// pageable - Object (default: false)
- /// If set to true, the TreeList displays a pager. By default, paging is disabled. Only client-side paging is supported which means that all data items are expected to be available when the TreeList is initialized. Can be set to a JavaScript object which represents the pager configuration.
- ///
- /// pdf - Object
- /// Configures the PDF export settings of the TreeList.
- ///
- /// scrollable - Boolean|Object (default: true)
- /// If set to true, the TreeList will display a scrollbar when the total row height or width exceeds the TreeList height or width. By default, scrolling is enabled. Scrolling renders separate tables for the header and data area. For accessibility-conscious applications, disable scrolling.
- ///
- /// selectable - Boolean|String (default: false)
- /// If set to true, the user will be able to select TreeList rows. By default, selection is disabled.Can also be set to the following string values: row - The user can select a single row.; cell - The user can select a single cell.; multiple, row - The user can select multiple rows. or multiple, cell - The user can select multiple cells..
- ///
- /// sortable - Boolean (default: false)
- /// If set to true, the user is able to sort the TreeList by clicking the column header cells. By default, sorting is disabled. Can be set to a JavaScript object which represents the sorting configuration.
- ///
- /// sortable - Object (default: false)
- /// If set to true, the user is able to sort the TreeList by clicking the column header cells. By default, sorting is disabled. Can be set to a JavaScript object which represents the sorting configuration.
- ///
- /// toolbar - String|Function
- /// If a String value is assigned to the toolbar configuration option, it will be treated as a single string template for the whole TreeList toolbar and the string value will be passed as an argument to a kendo.template() function.; If a Function value is assigned (it may be a kendo.template() function call or a generic function reference), then the return value of the function will be used to render the contents of the TreeList toolbar. or If an Array value is assigned, it will be treated as the list of commands which are displayed in the TreeList toolbar. Commands can be custom or built-in. The supported built-in commands are:create - Adds an empty data item to the treelist.excel - Exports the TreeList data in MS Excel format.pdf - Exports the TreeList data in PDF format..
- ///
- /// toolbar - Array
- /// If a String value is assigned to the toolbar configuration option, it will be treated as a single string template for the whole TreeList toolbar and the string value will be passed as an argument to a kendo.template() function.; If a Function value is assigned (it may be a kendo.template() function call or a generic function reference), then the return value of the function will be used to render the contents of the TreeList toolbar. or If an Array value is assigned, it will be treated as the list of commands which are displayed in the TreeList toolbar. Commands can be custom or built-in. The supported built-in commands are:create - Adds an empty data item to the treelist.excel - Exports the TreeList data in MS Excel format.pdf - Exports the TreeList data in PDF format..
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- TreeView: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.TreeView</summary>
- /// </signature>
- }
- });
- kendo.ui.TreeView = (function() {
- var original = kendo.ui.TreeView;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- append: function(nodeData,parentNode,success) {
- /// <signature>
- /// <summary>
- /// Appends a node to any level of the TreeView . This method may also be used to reorder nodes.
- /// </summary>
- /// <param name="nodeData" type="Object" >A JSON-formatted string or selector that specifies the node to be appended. If the argument is a plain JavaScript object, a new item will be created. If the argument is a jQuery element that holds a node, the TreeView node will be moved. If the argument is an array of objects, each item of the array will be appended.</param>
- /// <param name="parentNode" type="jQuery" >The node that will contain the newly appended node. If not specified, the new node will be appended to the root group of the TreeView.</param>
- /// <param name="success" type="Function" >A success callback that will be called once the new node has been appended. Useful in the case of remote binding where an item is appended to an unfetched node. The callback is called once the siblings have been fetched.</param>
- /// <returns type="jQuery">The inserted <li> element, wrapped in a jQuery object, or null if the new model has not been inserted immediately.</returns>
- /// </signature>
- },
- collapse: function(nodes) {
- /// <signature>
- /// <summary>
- /// Collapses nodes.
- /// </summary>
- /// <param name="nodes" type="Object" >The nodes that will be collapsed.</param>
- /// </signature>
- },
- dataItem: function(node) {
- /// <signature>
- /// <summary>
- /// Returns the data item to which the specified node is bound.
- /// </summary>
- /// <param name="node" type="Object" >A string, DOM element or jQuery object which represents the node. A string is treated as a jQuery selector.</param>
- /// <returns type="kendo.data.Node">The model of the item that was passed as a parameter.</returns>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the widget 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>
- },
- detach: function(node) {
- /// <signature>
- /// <summary>
- /// Removes a node from a TreeView, but keeps its jQuery.data() objects.
- /// </summary>
- /// <param name="node" type="Object" >The node that is to be detached.</param>
- /// <returns type="jQuery">The node that has been detached.</returns>
- /// </signature>
- },
- enable: function(nodes,enable) {
- /// <signature>
- /// <summary>
- /// Enables or disables nodes.
- /// </summary>
- /// <param name="nodes" type="Object" >The nodes that are to be enabled/disabled. Or, if Boolean parameter is passed, all nodes will be enabled/disabled.</param>
- /// <param name="enable" type="Boolean" >Whether the nodes should be enabled or disabled.</param>
- /// </signature>
- },
- expand: function(nodes) {
- /// <signature>
- /// <summary>
- /// Expands collapsed nodes.
- /// </summary>
- /// <param name="nodes" type="Object" >The nodes that are to be expanded.</param>
- /// </signature>
- },
- expandPath: function(path,complete) {
- /// <signature>
- /// <summary>
- /// Expands all nodes from a provided path array, including the last node. Nodes may be loaded from a remote end-point.
- /// </summary>
- /// <param name="path" type="Array" >The IDs of the nodes that need to be expanded.</param>
- /// <param name="complete" type="Function" >Callback function that will be called once the path has been expanded.</param>
- /// </signature>
- },
- expandTo: function(targetNode) {
- /// <signature>
- /// <summary>
- /// Expands all nodes up to a given element. The element needs to be already loaded.
- /// </summary>
- /// <param name="targetNode" type="Object" >The dataItem of the node up to which to expand. Can also be the node ID</param>
- /// </signature>
- },
- findByText: function(text) {
- /// <signature>
- /// <summary>
- /// Searches for a node that has specific text.
- /// </summary>
- /// <param name="text" type="String" >The text that is being searched for.</param>
- /// <returns type="jQuery">All nodes that have the text.</returns>
- /// </signature>
- },
- findByUid: function(uid) {
- /// <signature>
- /// <summary>
- /// Searches for a node with the given unique identifier. Applicable when the widget is bound to a HierarchicalDataSource. If you want to find a node by its id, use the dataSource.get() method and supply its uid to the findByUid method.
- /// </summary>
- /// <param name="uid" type="String" >The uid that is being searched for.</param>
- /// <returns type="jQuery">The found node, wrapped in jQuery object.</returns>
- /// </signature>
- },
- focus: function() {
- /// <signature>
- /// <summary>
- /// Sets the focus to the TreeView
- /// </summary>
- /// </signature>
- },
- insertAfter: function(nodeData,referenceNode) {
- /// <signature>
- /// <summary>
- /// Inserts a node after a specified node. This method may also be used to reorder nodes.
- /// </summary>
- /// <param name="nodeData" type="Object" >A JSON-formatted string or selector that specifies the node to be inserted.</param>
- /// <param name="referenceNode" type="jQuery" >The node that will precede the newly-appended node.</param>
- /// <returns type="jQuery">The inserted <li> element, wrapped in a jQuery object.</returns>
- /// </signature>
- },
- insertBefore: function(nodeData,referenceNode) {
- /// <signature>
- /// <summary>
- /// Inserts a node before another node. This method may also be used to reorder nodes.
- /// </summary>
- /// <param name="nodeData" type="Object" >A JSON-formatted string or selector that specifies the node to be inserted.</param>
- /// <param name="referenceNode" type="jQuery" >The node that follows the inserted node.</param>
- /// <returns type="jQuery">The inserted <li> element, wrapped in a jQuery object.</returns>
- /// </signature>
- },
- items: function() {
- /// <signature>
- /// <summary>
- /// Obtains an Array of the DOM elements, which correspond to the data items from the Kendo UI DataSource view.
- /// </summary>
- /// <returns type="Array">The currently rendered tree items (<div> elements, that are children of the <li> elements).</returns>
- /// </signature>
- },
- parent: function(node) {
- /// <signature>
- /// <summary>
- /// Gets the parent node of the item
- /// </summary>
- /// <param name="node" type="Object" >The child node whose parent will be returned.</param>
- /// <returns type="jQuery">The parent node of the given parameter node.</returns>
- /// </signature>
- },
- remove: function(node) {
- /// <signature>
- /// <summary>
- /// Removes a node from the widget.
- /// </summary>
- /// <param name="node" type="Object" >The node that is to be removed.</param>
- /// </signature>
- },
- select: function(node) {
- /// <signature>
- /// <summary>
- /// Gets or sets the selected node.
- /// </summary>
- /// <param name="node" type="Object" >If provided, the node that should be selected.</param>
- /// <returns type="jQuery">The currently selected node.</returns>
- /// </signature>
- },
- setDataSource: function(dataSource) {
- /// <signature>
- /// <summary>
- /// Sets and binds a dataSource to the widget.
- /// </summary>
- /// <param name="dataSource" type="kendo.data.HierarchicalDataSource" >The new dataSource that the widget will bind to</param>
- /// </signature>
- },
- text: function(node,newText) {
- /// <signature>
- /// <summary>
- /// Gets or sets the text of a node in a TreeView.
- /// </summary>
- /// <param name="node" type="Object" >The node of which the text is being retrieved or set.</param>
- /// <param name="newText" type="String" >Optional. When passed, sets the node text to the specified string</param>
- /// <returns type="String">The text of a node.</returns>
- /// </signature>
- },
- toggle: function(node) {
- /// <signature>
- /// <summary>
- /// Toggles the node of a TreeView between its expanded and collapsed states.
- /// </summary>
- /// <param name="node" type="Object" >The node that should be toggled.</param>
- /// </signature>
- },
- updateIndeterminate: function(node) {
- /// <signature>
- /// <summary>
- /// Updates the indeterminate state of the TreeView checkboxes. Call it after using the insert / remove API on TreeViews with checkChildren: true. Use to improve performance when checking multiple checkboxes through code.
- /// </summary>
- /// <param name="node" type="jQuery" >Optional. The root of the hierarchy that will be looped through. Allows only a subtree to be processed. The default value is the TreeView root.</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.kendoTreeView = function() {
- this.data("kendoTreeView", new kendo.ui.TreeView());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoTreeView: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.TreeView widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.TreeView">The kendo.ui.TreeView instance (if present).</returns>
- /// </signature>
- },
- kendoTreeView: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.TreeView widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// animation - Boolean
- /// A collection of visual animations used when items are expanded or collapsed through user interaction. Setting this option to false will disable all animations. is not a valid configuration.
- ///
- /// animation - Object
- /// A collection of visual animations used when items are expanded or collapsed through user interaction. Setting this option to false will disable all animations. is not a valid configuration.
- ///
- /// autoBind - Boolean (default: true)
- /// If set to false the widget will not bind to the data source 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 data source specified in the configuration.
- ///
- /// autoScroll - Boolean (default: false)
- /// If set to true the widget will auto-scroll the containing element when the mouse/finger is close to the top/bottom of it.
- ///
- /// checkboxes - Boolean (default: false)
- /// If true or an object, renders checkboxes beside each node.
- ///
- /// checkboxes - Object (default: false)
- /// If true or an object, renders checkboxes beside each node.
- ///
- /// dataImageUrlField - String (default: null)
- /// Sets the field of the data item that provides the image URL of the TreeView nodes.
- ///
- /// dataSource - Object|Array|kendo.data.HierarchicalDataSource
- /// The data source of the widget which is used render nodes. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing kendo.data.HierarchicalDataSource instance.If the dataSource option is set to a JavaScript object or array the widget will initialize a new kendo.data.HierarchicalDataSource instance using that value as data source configuration.If the dataSource option is an existing kendo.data.HierarchicalDataSource instance the widget will use that instance and will not initialize a new one.
- ///
- /// dataSpriteCssClassField - String (default: null)
- /// Sets the field of the data item that provides the sprite CSS class of the nodes. If an array, each level uses the field that is at the same index in the array, or the last item in the array.
- ///
- /// dataTextField - String|Array (default: null)
- /// Sets the field of the data item that provides the text content of the nodes. If an array, each level uses the field that is at the same index in the array, or the last item in the array.
- ///
- /// dataUrlField - String (default: null)
- /// Sets the field of the data item that provides the link URL of the nodes.
- ///
- /// dragAndDrop - Boolean (default: false)
- /// Disables (false) or enables (true) drag-and-drop of the nodes.
- ///
- /// loadOnDemand - Boolean (default: true)
- /// Indicates whether the child DataSources should be fetched lazily when parent groups get expanded. Setting this to false causes all child DataSources to be loaded at initialization time.
- ///
- /// messages - Object
- /// The text messages displayed in the widget. Use it to customize or localize the messages.
- ///
- /// template - String|Function
- /// Template for rendering each node.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- Upload: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.Upload</summary>
- /// </signature>
- }
- });
- kendo.ui.Upload = (function() {
- var original = kendo.ui.Upload;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- clearAllFiles: function() {
- /// <signature>
- /// <summary>
- /// Visually removes all files from the UI without issuing requests to the remove handler.
- /// </summary>
- /// </signature>
- },
- clearFile: function(callback) {
- /// <signature>
- /// <summary>
- /// Visually removes all files from the UI for which the callback function returns true without issuing requests to the remove handler.
- /// </summary>
- /// <param name="callback" type="Function" ></param>
- /// </signature>
- },
- clearFileByUid: function(uid) {
- /// <signature>
- /// <summary>
- /// Visually removes a file by its ID from the UI without issuing requests to the remove handler.
- /// </summary>
- /// <param name="uid" type="String" ></param>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the Upload for a safe removal from the DOM. Detaches all event handlers and removes the jQuery.data attributes to avoid memory leaks. Calls the destroy method of any child Kendo UI widget.
- /// </summary>
- /// </signature>
- },
- disable: function() {
- /// <signature>
- /// <summary>
- /// Disables the Upload.
- /// </summary>
- /// </signature>
- },
- enable: function(enable) {
- /// <signature>
- /// <summary>
- /// Enables the Upload.
- /// </summary>
- /// <param name="enable" type="Boolean" >The argument which defines whether to enable or disable the Upload.</param>
- /// </signature>
- },
- focus: function() {
- /// <signature>
- /// <summary>
- /// Focuses the input element of the Upload.
- /// </summary>
- /// </signature>
- },
- getFiles: function() {
- /// <signature>
- /// <summary>
- /// Retrieves the files that are currently selected.
- /// </summary>
- /// <returns type="Array">Represents an Array collection of all currently selected files.</returns>
- /// </signature>
- },
- pause: function(li) {
- /// <signature>
- /// <summary>
- /// Pauses the upload of a file that is uploaded in chunks.
- /// </summary>
- /// <param name="li" type="jQuery" >A jQuery object which represents the file that will be paused.</param>
- /// </signature>
- },
- resume: function(li) {
- /// <signature>
- /// <summary>
- /// Resumes the upload of a paused file that is being uploaded in chunks.
- /// </summary>
- /// <param name="li" type="jQuery" >A jQuery object which represents the file that will be resumed.</param>
- /// </signature>
- },
- removeAllFiles: function() {
- /// <signature>
- /// <summary>
- /// Removes all files by sending a standard remove request to the handler.
- /// </summary>
- /// </signature>
- },
- removeFile: function(callback) {
- /// <signature>
- /// <summary>
- /// Removes all files for which the callback function returns true by sending a standard remove request to the handler.
- /// </summary>
- /// <param name="callback" type="Function" ></param>
- /// </signature>
- },
- removeFileByUid: function(uid) {
- /// <signature>
- /// <summary>
- /// Removes a file by its ID by sending a standard remove request to the handler.
- /// </summary>
- /// <param name="uid" type="String" ></param>
- /// </signature>
- },
- toggle: function(enable) {
- /// <signature>
- /// <summary>
- /// Toggles the enabled state of the Upload.
- /// </summary>
- /// <param name="enable" type="Boolean" >(Optional) The new enabled state of the Upload.</param>
- /// </signature>
- },
- upload: function() {
- /// <signature>
- /// <summary>
- /// Manually triggers the upload process.
- /// </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.kendoUpload = function() {
- this.data("kendoUpload", new kendo.ui.Upload());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoUpload: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.Upload widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.Upload">The kendo.ui.Upload instance (if present).</returns>
- /// </signature>
- },
- kendoUpload: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.Upload widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// async - Object
- /// Configures the asynchronous upload of files. For more details, refer to the article on the async mode of the Upload.
- ///
- /// directory - Boolean (default: false)
- /// Enables the selection of folders instead of files. When the user selects a directory, its entire content hierarchy of files is included in the set of selected items. The directory setting is available only in browsers which support webkitdirectory.
- ///
- /// directoryDrop - Boolean (default: false)
- /// Enables the dropping of folders over the Upload and its drop zone. When a directory is dropped, its entire content hierarchy of files is included in the set of selected items. The directoryDrop setting is available only in browsers which support DataTransferItem and webkitGetAsEntry.
- ///
- /// dropZone - String
- /// Initializes a drop-zone element based on a given selector, which provides the drag-and-drop file upload.
- ///
- /// enabled - Boolean (default: true)
- /// Enables (if set to true) or disables (if set to false) an Upload. To re-enable a disabled Upload, use enable().
- ///
- /// files - Array
- /// The list of files that will be initially rendered in the files list of the Upload.Each file object in the array has to contain the following properties: name; size or extension.
- ///
- /// localization - Object
- /// Sets the strings rendered by the Upload.
- ///
- /// multiple - Boolean (default: true)
- /// Enables (if set to true) or disables (if set to false) the selection of multiple files. If set to false, the user can select only one file at a time.
- ///
- /// showFileList - Boolean (default: true)
- /// Enables (if set to true) or disables (if set to false) the display of a file listing for the file upload. The disabling of a file listing might be useful if you want to customize the UI. To build your own UI, use the client-side events.
- ///
- /// template - String|Function
- /// Sets a template for rendering the files in the file list.The template data Array consists of: name - The name of the file. If in batch upload mode, represents a string combination of all file names separated with comma.; size - The file size in bytes. If in batch upload mode, represents the total file size. If not available, the value is null. or files - An array which contains information about all selected files (name, size, and extension)..
- ///
- /// validation - Object
- /// Configures the validation options for uploaded files.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- Validator: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.Validator</summary>
- /// </signature>
- }
- });
- kendo.ui.Validator = (function() {
- var original = kendo.ui.Validator;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- errors: function() {
- /// <signature>
- /// <summary>
- /// Get the error messages if any.
- /// </summary>
- /// <returns type="Array">Messages for the failed validation rules.</returns>
- /// </signature>
- },
- hideMessages: function() {
- /// <signature>
- /// <summary>
- /// Hides the validation messages.
- /// </summary>
- /// </signature>
- },
- validate: function() {
- /// <signature>
- /// <summary>
- /// Validates the input element(s) against the declared validation rules.
- /// </summary>
- /// <returns type="Boolean">true if all validation rules passed successfully.Note that if a HTML form element is set as validation container, the form submits will be automatically prevented if validation fails.</returns>
- /// </signature>
- },
- validateInput: function(input) {
- /// <signature>
- /// <summary>
- /// Validates the input element against the declared validation rules.
- /// </summary>
- /// <param name="input" type="Object" >Input element to be validated.</param>
- /// <returns type="Boolean">true if all validation rules passed successfully.</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.kendoValidator = function() {
- this.data("kendoValidator", new kendo.ui.Validator());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoValidator: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.Validator widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.Validator">The kendo.ui.Validator instance (if present).</returns>
- /// </signature>
- },
- kendoValidator: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.Validator widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// errorTemplate - String
- /// The template which renders the validation message.
- ///
- /// messages - Object
- /// Set of messages (either strings or functions) which will be shown when given validation rule fails. By setting already existing key the appropriate built-in message will be overridden.
- ///
- /// rules - Object
- /// Set of custom validation rules. Those rules will extend the built-in ones.
- ///
- /// validateOnBlur - Boolean
- /// Determines if validation will be triggered when element loses focus. Default value is true.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
- intellisense.annotate(kendo.ui, {
- Widget: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.Widget</summary>
- /// </signature>
- }
- });
- kendo.ui.Widget = (function() {
- var original = kendo.ui.Widget;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- bind: function() {
- /// <signature>
- /// <summary>
- /// Attaches a handler to an event. Examples and more info can be found in the bind section of the kendo.Observable API reference.
- /// </summary>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Prepares the widget for safe removal 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>
- },
- one: function() {
- /// <signature>
- /// <summary>
- /// Attaches a handler to an event. The handler is executed only once. Examples and more info can be found in the one section of thekendo.Observable API reference.
- /// </summary>
- /// </signature>
- },
- resize: function() {
- /// <signature>
- /// <summary>
- /// Readjusts the layout of the widget. For more information, refer to the article on responsive web design.
- /// </summary>
- /// </signature>
- },
- setOptions: function(newOptions) {
- /// <signature>
- /// <summary>
- /// Allows changing the widget configuration after initialization. Depending on the widget, some properties may not be changed, and the method's implementation varies for each widget.
- /// </summary>
- /// <param name="newOptions" type="Object" >The options to be changed or added.</param>
- /// </signature>
- },
- trigger: function() {
- /// <signature>
- /// <summary>
- /// Executes all handlers attached to the given event. More info can be found in the trigger section of thekendo.Observable API reference.
- /// </summary>
- /// </signature>
- },
- unbind: function() {
- /// <signature>
- /// <summary>
- /// Remove a previously attached event handler. More info can be found in the unbind section of thekendo.Observable API reference.
- /// </summary>
- /// </signature>
- }
- });
- return instance;
- };
- intellisense.redirectDefinition(wrapper, original);
- return wrapper;
- })();
- jQuery.fn.kendoWidget = function() {
- this.data("kendoWidget", new kendo.ui.Widget());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoWidget: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.Widget widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.Widget">The kendo.ui.Widget instance (if present).</returns>
- /// </signature>
- },
- kendoWidget: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.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.ui, {
- Window: function() {
- /// <signature>
- /// <summary>Constructor of kendo.ui.Window</summary>
- /// </signature>
- }
- });
- kendo.ui.Window = (function() {
- var original = kendo.ui.Window;
- var wrapper = function() {
- var instance = new original();
- intellisense.annotate(instance, {
- center: function() {
- /// <signature>
- /// <summary>
- /// Centers the Window within the viewport.If the Window has no set dimensions and is centered before its content is loaded with Ajax, it might resize after the content is loaded. This will change the position of the widget on the screen and it will no longer be centered. If you need to center the Window, then either center it in its refresh event or set explicit dimensions.
- /// </summary>
- /// <returns type="kendo.ui.Window">- Returns the Window object to support chaining. For example, center and open the Window with a single expression.</returns>
- /// </signature>
- },
- close: function() {
- /// <signature>
- /// <summary>
- /// Closes the Window.
- /// </summary>
- /// <returns type="kendo.ui.Window">- Returns the Window object to support chaining.</returns>
- /// </signature>
- },
- content: function(content) {
- /// <signature>
- /// <summary>
- /// Gets or sets the content of a Window. When used as a setter, supports chaining.
- /// </summary>
- /// <param name="content" type="Object" >The content of the Window. Can be an HTML string or a jQuery object.</param>
- /// <returns type="String">- If used a getter, the current content of the Window. If used as a setter, the method returns the Window object to support chaining.</returns>
- /// </signature>
- },
- destroy: function() {
- /// <signature>
- /// <summary>
- /// Destroys the Window and its modal overlay if necessary. Removes the HTML elements of the widget from the DOM.
- /// </summary>
- /// </signature>
- },
- isMaximized: function() {
- /// <signature>
- /// <summary>
- /// Indicates whether the Window is maximized.
- /// </summary>
- /// <returns type="Boolean"></returns>
- /// </signature>
- },
- isMinimized: function() {
- /// <signature>
- /// <summary>
- /// Indicates whether the Window is minimized.
- /// </summary>
- /// <returns type="Boolean"></returns>
- /// </signature>
- },
- maximize: function() {
- /// <signature>
- /// <summary>
- /// Maximizes a Window to the entire viewing area of the user agent. Triggers the resize event.
- /// </summary>
- /// <returns type="kendo.ui.Window">- Returns the Window object to support chaining.</returns>
- /// </signature>
- },
- minimize: function() {
- /// <signature>
- /// <summary>
- /// Minimizes a Window to its title bar.
- /// </summary>
- /// <returns type="kendo.ui.Window">- Returns the Window object to support chaining.</returns>
- /// </signature>
- },
- open: function() {
- /// <signature>
- /// <summary>
- /// Opens a Window and brings it on top of any other open Window instances by internally calling toFront.
- /// </summary>
- /// <returns type="kendo.ui.Window">- Returns the Window object to support chaining.</returns>
- /// </signature>
- },
- pin: function() {
- /// <signature>
- /// <summary>
- /// Pins the Window to its current position with a position:fixed style, that is, the widget stops moving together with the other page content when the page is scrolled. The user will still be able to move the Window with the mouse or through the keyboard.
- /// </summary>
- /// </signature>
- },
- refresh: function(options) {
- /// <signature>
- /// <summary>
- /// Refreshes the content of a Window from a remote URL or from the initially defined content template.
- /// </summary>
- /// <param name="options" type="String" >Options for requesting data from the server. If omitted, the Window uses the content property that was supplied when the Window was created. Any specified options will be passed to jQuery.ajax().</param>
- /// <returns type="kendo.ui.Window">- Returns the Window object to support chaining.</returns>
- /// </signature>
- },
- restore: function() {
- /// <signature>
- /// <summary>
- /// Restores a maximized or minimized Window to its previous state. Triggers the resize event.
- /// </summary>
- /// <returns type="kendo.ui.Window">- Returns the Window object to support chaining.</returns>
- /// </signature>
- },
- setOptions: function(options) {
- /// <signature>
- /// <summary>
- /// Allows the Window to be configured with new options.If you change the content url, call refresh afterwards. Another option is to directly execute the refresh method with the new URL.Changing the size or the position of the Window is possible only if the widget is not maximized or minimized.
- /// </summary>
- /// <param name="options" type="Object" >The configuration options that will be set.</param>
- /// </signature>
- },
- title: function(text) {
- /// <signature>
- /// <summary>
- /// Gets or sets the title of a Window. When used as a setter, supports chaining.
- /// </summary>
- /// <param name="text" type="String" >The title of the Window.</param>
- /// <returns type="String">- If used as a getter, the current Window title. If used as a setter, the method returns the Window object to support chaining.</returns>
- /// </signature>
- },
- toFront: function() {
- /// <signature>
- /// <summary>
- /// Increases the z-index style of a Window wrapper to bring the instance on top of other open Windows. This method is executed automatically when the open method is used.
- /// </summary>
- /// <returns type="kendo.ui.Window">- Returns the Window object to support chaining.</returns>
- /// </signature>
- },
- toggleMaximization: function() {
- /// <signature>
- /// <summary>
- /// Toggles a Window between a maximized and restored state. Triggers the resize event.
- /// </summary>
- /// <returns type="kendo.ui.Window">- Returns the Window object to support chaining.</returns>
- /// </signature>
- },
- unpin: function() {
- /// <signature>
- /// <summary>
- /// Disables the pinned state of the Window so that the widget will move together with the other page content when the page is scrolled.
- /// </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.kendoWindow = function() {
- this.data("kendoWindow", new kendo.ui.Window());
- return this;
- };
- intellisense.annotate(jQuery.fn, {
- getKendoWindow: function() {
- /// <signature>
- /// <summary>
- /// Returns a reference to the kendo.ui.Window widget, instantiated on the selector.
- /// </summary>
- /// <returns type="kendo.ui.Window">The kendo.ui.Window instance (if present).</returns>
- /// </signature>
- },
- kendoWindow: function(options) {
- /// <signature>
- /// <summary>
- /// Instantiates a kendo.ui.Window widget based the DOM elements that match the selector.
- /// Accepts an object with the following configuration options:
- ///
- /// actions - Array (default: ["Close"])
- /// The buttons for interacting with the Window.The predefined array values are: Close; Refresh; Minimize; Maximize or Pin.
- ///
- /// animation - Boolean
- /// A collection of {Animation} objects that is used to change the default animations. When set to false, all animations will be disabled.
- ///
- /// animation - Object
- /// A collection of {Animation} objects that is used to change the default animations. When set to false, all animations will be disabled.
- ///
- /// appendTo - Object|String (default: document.body)
- /// The element to which the Window will be appended. It is beneficial to use the Window together with a form which does not constrain the dragging of the Window within the specific element. For such scenarios, use the draggable.containment setting.
- ///
- /// autoFocus - Boolean (default: true)
- /// Determines whether the Window will be focused automatically when opened. The property also influences the focus behavior when an already opened Window is clicked.
- ///
- /// content - String
- /// Specifies a URL or request options from where the Window will load its content.
- ///
- /// content - Object
- /// Specifies a URL or request options from where the Window will load its content.
- ///
- /// draggable - Boolean (default: true)
- /// Enables (true) or disables (false) the dragging of the widget.
- ///
- /// draggable - Object (default: true)
- /// Enables (true) or disables (false) the dragging of the widget.
- ///
- /// iframe - Boolean
- /// Explicitly states whether a content iframe will be created. For more information, refer to the documentation on using iframes.
- ///
- /// height - Number|String
- /// Specifies the height of the Window.
- ///
- /// maxHeight - Number (default: Infinity)
- /// The maximum height (in pixels) that may be achieved by resizing the Window.
- ///
- /// maxWidth - Number (default: Infinity)
- /// The maximum width (in pixels) that may be achieved by resizing the Window.
- ///
- /// minHeight - Number (default: 50)
- /// The minimum height (in pixels) that may be achieved by resizing the Window.
- ///
- /// minWidth - Number (default: 50)
- /// The minimum width (in pixels) that may be achieved by resizing the Window.
- ///
- /// modal - Boolean (default: false)
- /// Specifies whether the Window will display a modal overlay over the page.
- ///
- /// modal - Object (default: false)
- /// Specifies whether the Window will display a modal overlay over the page.
- ///
- /// pinned - Boolean (default: false)
- /// Specifies whether the Window will be pinned, that is, that it will not move together with the page content during scrolling.
- ///
- /// position - Object
- /// A collection of one or two members which define the initial top and/or left position of the Window or the position of the containment element on the page.
- ///
- /// resizable - Boolean (default: true)
- /// Enables (true) or disables (false) the resizing of the Window.
- ///
- /// scrollable - Boolean (default: true)
- /// Enables (true) or disables (false) the scrolling of the Window contents.
- ///
- /// title - String|Boolean (default: "")
- /// The text in the title bar of the Window. If set to false, the Window will be displayed without a title bar.
- ///
- /// title - Object (default: "")
- /// The text in the title bar of the Window. If set to false, the Window will be displayed without a title bar.
- ///
- /// visible - Boolean (default: true)
- /// Specifies whether the Window will be initially visible.
- ///
- /// width - Number|String
- /// Specifies the width of the Window.
- ///
- /// size - String (default: "auto")
- /// Sets a predefined size to the Window. The width and height configuration options override the predefined size.The supported values are: auto; small; medium or large.
- ///
- /// </summary>
- /// <param name="options" type="Object">
- /// The widget configuration options
- /// </param>
- /// </signature>
- }
- });
|